xsl-list
[Top] [All Lists]

Re: characters in xsl

2004-11-11 08:51:58
"Osman" == Osman Çinar Eren 
<Cinar(_dot_)Eren(_at_)isbank(_dot_)com(_dot_)tr> writes:

    Osman> hi, a sily question but i want to learn the meaning of the
    Osman> following characters in xsl:

    Osman> "@", ".", "$" ...

Not so silly. Except it's XPath, not XSLT.
@ = attribute:: = attribute axis.
So @fred means attribute named fred

. = context node (or context item in XSLT 2.0) - that's the item that
is the current subject of apply-templates or for-each in XSLT .

$ = variable reference, so $fred is the value of the variable (or
parameter) named fred.
-- 
Colin Paul Adams
Preston Lancashire

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>