Re: Parsing HTML
Richard Kunze <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.xmlc |
|---|---|
| Organization | Tivano Software GmbH |
| Message-ID | <[email protected]> |
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, [email protected]
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+f0Y086Aqb3OZfF4RArLJAKCDrEdE4krb5Q6AHWFsNdl1xCvdWQCeOeQI 5Yy/6Rubw7LjfdBDYhGIUdk= =8Dk7 -----END PGP SIGNATURE-----