[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

path quesion

Subject: path quesion
From: Stephen Kirkham <skirkham@xxxxxxxxxx>
Date: Thu, 29 Jun 2000 10:01:47 -0700
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


Current Thread
  • path quesion
    • Stephen Kirkham - Thu, 29 Jun 2000 10:01:47 -0700 <=
      • <Possible follow-ups>
      • Kay Michael - Fri, 30 Jun 2000 10:19:44 +0100

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.