RE: Variables and more than one document
> From: White, Clinton [mailto:whitec@xxxxxxxxxxxxxxx] > Sent: 21 February, 2008 13:09 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Variables and more than one document > > I am working with XBRL instance documents > > For each element in an XBRL instance document, I need to find > the associated label in another document For each element in > the first document, I create a first-variable and select the > element's local-name( ) I then create a second-variable and > concat('label','_','first-variable') I think you meant the XPath expresion for the second-variable to be: concat('label','_',$first-variable) which without using the first-variable would be: concat('label','_',local-name()). > I then try to find this second-variable as an attribute in a > second document AND I get zero results Its not clear how you are using $second-variable as a constraint on an element in the second document? Andy.
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