Hi, w3c allows embedding an xsl inside an xml file
(http://www.w3.org/TR/xslt#section-Embedding-Stylesheets).  is there a way
to get fop to process the single xml file and pull out the xsl:stylesheet
element to apply to the rest of the xml document?
Perhaps a solution would be to use the same file for both xml and xsl
parameters...

fop -xml doc.xml -xsl doc.xml outfile.pdf

With this i'm thinking the doc.xml(xsl side) can ignore the xsl:stylesheet
element inside the doc.xml(xml side) since xslt has control over this.
However when fop (or rather xalan inside fop) processes the doc.xml(xsl
side), will the extra content elements (non xsl:stylesheet root element  and
non xsl namespace elements) screw things up?  or does the processor ignore
them (hopefully)?
Thanks!

-Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to