[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE:
> From: Peter_Ivan@xxxxxxxxxxxxxxx [mailto:Peter_Ivan@xxxxxxxxxxxxxxx] > Sent: 28 July 2003 11:32 > Can a single xsl take two inputs. yes by using the document() command for example you can place the value of an external xml file in a variable <xsl:variable name="myxml" select="document('somefile.xml')"/> you would then perform transformations on it by refering to the variable e.g. <xsl:value select="$myxml//test"/> would output the value of a <test/> element. btw you will have to understand about RTF and using the common node-set extension function if you want to get any further doing stuff with this. > or can an xsl after one transformation take the transformed xml as its > input > which is applied by another xsl and is included the main xsl. This is known as multi pass, or in more general terms, a pipeline of transforms with the result of each stage being fed into the next stage. you could use; - ant.apache.org allows for creation of pipelines of processing using the <styler/> or <xslt/> task ( check out ant article at xml.com ) - saxon at saxon.sourceforge.net has support for multiple result documents, though you may have to use XSLT v2.0 ( no big deal, I use it daily ) good luck, Jim Fuller XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|