Reference value from XML inside XSLT for printing

Here should go questions about transforming XML with XSLT and FOP.
sbingram
Posts: 3
Joined: Thu Jan 15, 2015 11:37 pm

Reference value from XML inside XSLT for printing

Post by sbingram »

Is there a way to reference a value inside a tag on the XML page to use inside a XSLT-FO page so it will print? For example if I want to print contents of <date></date> inside the header of the page.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Reference value from XML inside XSLT for printing

Post by sorin_ristache »

Hello,

I think the content of any XML tag can be added to an XSL-FO page so that it can be printed, if the appropriate code is used for adding the content of that XML tag to the XSL-FO page. Your question is too general, so more details and maybe an example would be needed for a more complete answer. I suggest posting this question to the xsl-list mailing list where many XSL-FO experts are available who are able to give you a more complete and competent answer.
Regards,
Sorin

<oXygen/> XML Editor Support
Post Reply