xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Fuqua <samfu...@gmail.com>
Subject Re: Unprocessed nodes
Date Wed, 20 May 2009 17:42:58 GMT
David,

Thank you.  I believe that's precisely what I need.

Sam

2009/5/20 David Green <dgreen99@gmail.com>

> 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
>>
>
>


-- 
Sam Fuqua
ΣΝ ΘΗ 454

Mime
View raw message