RE: [xsl] Variables and more than one document

Subject: RE: [xsl] Variables and more than one document
From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Date: Thu, 21 Feb 2008 13:19:38 -0500
> From: White, Clinton [mailto:whitec@xxxxxxxxxxxxxxx]
> Sent: 21 February, 2008 13:09
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] 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