Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

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


  • To: Didier PH Martin <martind@...>, 'David Megginson' <david.megginson@...>, 'xml dev' <xml-dev@...>, 'Joseph Dane' <jdane@...>
  • Subject: RE: [xml-dev] how to design an HTML file to contain an XML file?
  • From: Anil Philip <goodnewsforyou@...>
  • Date: Wed, 26 Jul 2006 12:46:35 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=l6B3VKN3JMO8biZGHKVSrjEKJqNC5V6PaX++kwL1a0K7ar5v/0E8NfYAaUujigrp3OyXmXFh9eXIDokr1ypSO0QuoFrc6zJUt/jQu9Ki4JQxwLFCURbiEo/8Gj23RxC0isZySDOTASdaW1tVTeP3PeWIOv4U5XVaY/qvEmR5J0c= ;
  • In-reply-to: <009e01c6b0b6$483001c0$6701a8c0@user5nmf4kx6w6>

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@...> 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
http://didier-martin.com
 
 


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml