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

RE: Variables and more than one document

Subject: RE: Variables and more than one document
From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Date: Thu, 21 Feb 2008 13:19:38 -0500
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.

Current Thread

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.