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 ]

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.



 

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

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