xsl-list
[Top] [All Lists]

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

2011-11-04 19:07:14
Yep, you got it.

-Brandon :)


On Fri, Nov 4, 2011 at 8:05 PM, Mark <mark(_at_)knihtisk(_dot_)org> 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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--