Re: [xsl] Context in nested loop

Subject: Re: [xsl] Context in nested loop
From: "Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2017 14:30:02 -0000
-----Original Message-----
From: Martin Honnen martin.honnen@xxxxxx [mailto:xsl-list-
Sent: Friday, July 28, 2017 8:19 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Context in nested loop

> >    <xsl:variable name="document" select="document('file.xml')" />
> I think you need to show that second document too, together with the
> result you get and the one you want.

Hi Martin,
Its schema is exactly the same as the sample XML, itbs a similar document
with different values. To be honest, I whipped this repro up in vim so in
the xpath selection within the message should correspond to the same element
path I am iterating over but in the alternate document. In that case it should

select="$document/root/nodeA/nodeB[@name=$name]/@*[local-name()=$attr]" />

Sorry about that, I should have paid more attention.


Current Thread