[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Locating an attribute and its value indirectly
Yep, you got it.
-Brandon :)
On Fri, Nov 4, 2011 at 8:05 PM, Mark <mark@xxxxxxxxxxxx> wrote:
> 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
|