xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Green <dgree...@gmail.com>
Subject Re: Unprocessed nodes
Date Wed, 20 May 2009 17:36:06 GMT
Assuming that you're using xsl to transform the XML to FO, you'll need a
rule that looks something like this:

<xsl:template match="fo:*">
   <xsl:copy-of select="."/>
</xsl:template>


See http://www.w3schools.com/XSL/el_copy-of.asp

Regards,

David

2009/5/20 Sam Fuqua <samfuqua@gmail.com>

> Hi,
>
> I have an xml document that I am using fop to create a pdf from.  Some of
> the xml nodes already contain fo that I'd like to preserve for the final
> transform.  Is there any sort of setting in fop to keep these?
>
> For example,
>
> <root>
>   <element>
>     <fo:block/>
>   </elemnt>
> </root>
>
> Is there a way to process the element node and keep all of the fo
> namespaced children after I transform the xml to fo?
>
> --
> Sam Fuqua
> ΣΝ ΘΗ 454
>

Mime
View raw message