[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RE:
Sorry to jump in on this ... But I'm having similar troubles ! > > > 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. I thought this thing was not working with XSL 1.0 since the variable would only contain text, and not a node-set. > > 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. > Could you please elaborate a little bit more on that point. Just reading the EXSLT doc was not enough for me to understand the use of the new node-set function. Thanks for the help, Simon. 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
|