[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Union of two XSL
> -----Original Message----- > From: Gianni Ferrari [mailto:gferrari@xxxxxx] > > Good morning experts, > today also, i need of your help :-)... I hope that you can help me about a > doubt. Well, i would like to know if with XML:FO is possible to take two > different XSL and put all into a PDF document only. > For example i have two XML and two XSL structures: XMLFile1.xml, > XMLFile2.xml, XSLFile1.xsl, XSLFile2.xsl. I would like create a > PDF Document > only for the two structure XSL. Someone can tell me if it is > possibile with > FO? Hi, Possible? Yes, but it needs a little work: 1. rewriting at least one of the stylesheets to include/import the other, or adding a third one which includes/imports the other two 2. either: a. pass one of the XMLs directly as a source to the 'main' stylesheet, and read in the other using document() or: b. create a third XML containing the URIs of the other two XML files, pass this one to the main stylesheet, and use document() in the stylesheet to read in the files specified by the URIs in the source document So, google around for: <xsl:include ..> <xsl:import ..> document() Hope this helps! Cheers, Andreas
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|