[xml] Iterating through multiple HTML docs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm using Perl with XML::LibXML and XML::LibXSLT.  After converting XML to 
HTML with XML::LibXSLT, I have a result object which is an 
XML::LibXML::Document (a/k/a XML_HTML_DOCUMENT_NODE).  I want to iterate 
over it to do a little post-processing, but I can't figure out how to get 
into the HTML documents created with <xsl:document> in the 
stylesheet.  Obviously they're there somewhere, since the serializer knows 
about them, but they don't seem to be in the form of any of the 21 defined 
node types.

The HTMLtree doc lists HTML node types for text, entities, etc., but for 
the new documents has only a creating function htmlNewDoc().

(If this is more appropriate for the xslt mailing list, please feel free to 
reply there, as I'm subscribed to both.)

Thanks in advance,
Chris
- -- 
Christopher R. Maden, Principal Consultant, crism consulting
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBPKgYhKxS+CWv7FjaEQLBeACg49m3Ck4In471LuLKxhTRBCVfYeUAnAxH
ny+Urab7WRDrvPf1YetwGJ5t
=0Mv4
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]