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

Re: Select a node in another xml-document

Subject: Re: Select a node in another xml-document
From: Mukul.Mudgal@xxxxxxxxxxx
Date: Mon, 27 May 2002 14:29:08 +0530
xsl select 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


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.