[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Select a node in another xml-document
Try to select file like this and then use this variable to traverse the selected document. <xsl:variable name="Select.Document.DatabaseMapping.xml" select ="document('DatabaseMapping.xml')"/> In this DatabaseMapping.xml could be your secondary XML file, Mukul "Pfitzner, Jan" <Jan.Pfitzner@xxxxxx> To: "Xsl-List (E-Mail)" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent by: cc: owner-xsl-list@xxxxxxxxxxx Subject: Select a node in another xml-document rrytech.com 05/27/2002 01:01 PM Please respond to xsl-list Hi, I´ve a xsl-stylesheet for a xml-document. In this stylesheet I want to adapt an template to another xml-file. How can I make this. the xml-file I want to adapt to is like this: <Colors> <Color>red</Color> <Color>blue</Color> <Color>green</Color> ... </Colors> And I want to select the first Color-node I've tried tu use the document()-function, but I didn't manage it. Thanks Jan Pfitzner XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|