[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Keys across multilple input files
> > 1. Can I use the xsl:key element to generate keys for CLASS > > elements that are each contained in separate files? > > Not in any useful way. The key() function can only be > used to find nodes in the current document. > > ** But, I thought you could use the <xsl:for-each> statement > ** with the document() function to change the current context > ** node to the root node in different file. Then, you could > ** use the key() function to access the keys in the remote > ** file. Have I misunderstood? > That's correct. What I was trying to say is that you can't use key() to find nodes unless you know what document they are in. Mike K 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
|