Subject: Re: [xsl] Resetting Parameters From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 9 Apr 2003 11:52:00 +0100 |
select="/Request/Environment"/ would work on the particular xml I've provided but I will not necessarily know the exact position of the Environment Element within the XML file I will be provided. But you presumably know it has some relationship to the files you want, eg ancestor::Request//Environment[1] would find the first Environment child of any ancesestor Request element. (such a general XPath might be a little expensive to perform, but could be optimised with a jey, but before optimising you need to decide what is the relationship between your various bits of input data. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Resetting Parameters, Shane Sawyer | Thread | [xsl] iterating a nodeset (provided, Gernot Hueller |
[xsl] How to check if document(file, r . devries | Date | RE: [xsl] xsl templates, Removing s, Tim Wilkins |
Month |