Page 1 of 1

Reference value from XML inside XSLT for printing

Posted: Fri Jan 16, 2015 7:45 pm
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.

Re: Reference value from XML inside XSLT for printing

Posted: Mon Jan 19, 2015 6:46 pm
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.