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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: parsing XML within HTML files

[ Lists Home | Date Index | Thread Index ]
  • From: Lars Marius Garshol <larsga@ifi.uio.no>
  • To: "Xml-Dev" <xml-dev@ic.ac.uk>
  • Date: Fri, 04 Sep 1998 23:05:25 +0200

* 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 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.


--Lars M.

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