logo       

Re: Parsing HTML: msg#00073

java.enhydra.xmlc

Subject: Re: Parsing HTML

On Monday 24 March 2003 18:17, Ben Sinclair wrote:
> Back to my adding headers and footers at runtime question I asked a few
> weeks ago...
>
> Is there some functionality in xmlc that will let me open and parse a HTML
> file at runtime and pull out elements, much like if I have a compiled file?
> I want to be able to just grab the <head> tag from a file and swap it into
> my compiled xmlc file, for example.

Maybe I'm misinterpreting what you want to accomplish, but why don't you
simply compile the "template" file with XMLC (just like any other file *ML)
and then use the normal DOM and XMLC API to extract the node from the
template document and insert it into the individual files?

--
Richard Kunze

[ t]ivano Software, Bahnhofstr. 18, 63263 Neu-Isenburg
Tel.: +49 6102 80 99 07 - 0, Fax.: +49 6102 80 99 07 - 1
http://www.tivano.de, kunze@xxxxxxxxx

Attachment: pgpBdsP8lV4oH.pgp
Description: signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise