[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Union of two XSL

Subject: RE: Union of two XSL
From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx>
Date: Fri, 26 Mar 2004 18:44:03 +0100
xsl union
> -----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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.