This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

retrieving a piece of data from a different xml file


in mainfile.XML (the one I'm primarily displaying info from), I have a tag
like this:

     <link page="B".../>

in pagelocations.XML, I have something like this:

     <pagelocations>
       <item name="A" location="path\filename"/>
       <item name="B" location="path\filename"/>
       ...
     </pagelocations>

in my XSL, when I match <link>, I want to look in pagelocations.xml and find
the item where item[@name]=@page and then use @location from that item.  I
have no clue how to do this.  Thanks from a still-stumbling novice.  Eric


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]