parsing XML within HTML files
Lars Marius Garshol
larsga at ifi.uio.no
Fri Sep 4 23:06:20 BST 1998
* Weihong Xie
>
>AlL I want to do is in normal HTML files, there will be some customized XML
>tags to mark the places where dynamic values will be inserted, so when the
>servlet serves those pages, it will provide those values but leave the HTML
>text alone.
In that case you could probably use cpp or just write your own tool that
does the substitution. Mark the places with something like $place$ and that's
it.
It sounds like overkill to use XML for this.
>The question is how I can do this, do I need a DTD that defines
>HTML and my customized tags or is there any XML parsers understand HTML?
HEX does.
<URL:http://www-uk.hpl.hp.com/people/ak/java/hex.html>
--Lars M.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list