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

Subject: Re: [xsl] Locating an attribute and its value indirectly
From: Brandon Ibach <brandon.ibach@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Nov 2011 20:07:06 -0400
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

Current Thread