OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] how to design an HTML file to contain an XML file?

[ Lists Home | Date Index | Thread Index ]
  • To: Anil Philip <goodnewsforyou@yahoo.com>, Didier PH Martin <martind@netfolder.com>, 'David Megginson' <david.megginson@gmail.com>, 'xml dev' <xml-dev@lists.xml.org>, 'Joseph Dane' <jdane@hawaii.edu>
  • Subject: RE: [xml-dev] how to design an HTML file to contain an XML file?
  • From: Anil Philip <goodnewsforyou@yahoo.com>
  • Date: Thu, 27 Jul 2006 04:02:01 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rgQwvjtEYFO40HDtfNxEt23cxR60OegOMtPD+ObMRLmkL6SQzITWAfVjAr2WvdM8xZycfgg6+tuMdC/dRVM5g/qlP+meK+vtgQQNw0ULNRzy6GNX6UYBFdbTyPJRMOw1grK+D7CJCDIn5n3GDVKNCMPYqc6Dkaya8kJg6mvco98= ;

no replies?

Anil Philip <goodnewsforyou@yahoo.com> wrote:
Dont know if you saw this, but I did put in the xml tags and it does not display. However, there is the big problem of the parser choking.
---------
moving the <?xml versionfiltered="1.0" encoding="ISO-8859-1"?>
did not fix it.
However, changing to <xml versionfiltered="1.0" encoding="ISO-8859-1"> </xml>
removes the display of xml data on the first line in IE browser.
But when I try to parse this, I get
org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end-tag "</meta>".
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at nodepad.OpenJWO.parseTree(OpenJWO.java:44)

I have also put the following as the first line in my startElement() and endElement():
 
  if(!namespaceURI.equalsIgnoreCase("http://www.w3.org/2001/XMLSchema-instance")) {
   return;
  }  
thanks,
Anil


Didier PH Martin <martind@netfolder.com> wrote:
Hello Anil,
 
The following statement should allow you to include an xml element and not get it displayed.
 
<xml style=”display:none”>
… your content here
</xml>
 
 
Cheers
Didier PH Martin
 
 


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.


Want to be your own boss? Learn how on Yahoo! Small Business.



 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS