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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: XML Declaration in an HTML Page

[ Lists Home | Date Index | Thread Index ]
  • From: "Don Park" <donpark@quake.net>
  • To: "SaxManJzz" <SaxManJzz@aol.com>, <xml-dev@ic.ac.uk>
  • Date: Sat, 7 Mar 1998 19:36:33 -0800

David,

>Once again, I am wondering how you might embed an XML file into a HTML page
>through Microsoft's XML Parser.   If anyone knows, please e-mail me back.

You will not be able to embed arbiturary XML data into HTML.  Some filtering
and transformation is required to make sure everything is digestable by HTML
browsers and processors.  I assume that you are planning to bracket the XML
data with an HTML tag which prevents rendering and access the XML elements
through DOM from a scripting language like JavaScript.

I do not see any serious problem with what you are trying to do.  If you are
looking for some guidelines in removing HTML hostile constructs of XML, I
suggest you read the HTML spec.  If you are looking for some software to do
this, I do not think there is anything available at this time but it should
be easy to write a SAX application which reads in XML resources and writes
out HTML-friendly XML.

Regards,

Don Park
http://www.quake.net/~donpark/index.html



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

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

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