Re: [xsl] Locating an attribute and its value indirectly

Subject: Re: [xsl] Locating an attribute and its value indirectly
From: "Mark" <mark@xxxxxxxxxxxx>
Date: Fri, 4 Nov 2011 17:05:43 -0700
That works. I think I get it.

Did my " <xsl:value-of select="../Formats/@*[name(.)=@text-location]"/>"try to find @text-location in the <Formats> element?

And your "<xsl:value-of select="../Formats/@*[name(.)=current()/@text-location]"/>" switched the path back to the current context where @text-location actually resides?
Thanks,
Mark


Current Thread