|
Re: Parsing HTML: msg#00073java.enhydra.xmlc
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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Parsing HTML, Ben Sinclair |
|---|---|
| Next by Date: | Re: Parsing HTML, Jacob Kjome |
| Previous by Thread: | Parsing HTML, Ben Sinclair |
| Next by Thread: | Re: Parsing HTML, Ben Sinclair |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |