|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] path quesion
I am processing 2 XML files within a single xsl file. From one file
I retreive a path value e.g. 'customer/age', from an element , this value
is placed in a variable. I then want to look for the 'customer/age'
element in the 2nd xml file, e.g.
variable $var contain the sting 'customer/age'
attempt to use this in a path expression for the second document
<xsl:value-of select="document('data.xml')/$var" />
I get the following error
org.apache.xalan.xslt.XSLProcessorException: pattern =
'document('data.xml')/data/$id'
thankful for any help
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
|

Cart








