This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
retrieving a piece of data from a different xml file
- To: "'XSL-List at mulberrytech dot com'" <XSL-List at mulberrytech dot com>
- Subject: retrieving a piece of data from a different xml file
- From: Eric Taylor <Eric dot Taylor at RealPage dot com>
- Date: Tue, 1 Aug 2000 13:35:48 -0500
- Reply-To: xsl-list at mulberrytech dot com
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