Those . Abbreviations

 
xslt for dummies
Chapter 18 - Ten Most Confusing Things About XSLT
XSLT For Dummies
by Richard Wagner
Hungry Minds 2002
  

Those //@.}* Abbreviations

XPath allows you to use abbreviations to write the axis part of a location step. These shortcuts enable you to write XPath expressions more quickly, but they can also be confusing until you learn the clipped syntax. The ones to memorize appear in Table 18-1.

Table 18-1: XPath Abbreviations

Axis

Abbreviation

child::

Doesnt need to be explicitly defined, so you can leave it off.

attribute::

@

self::node()

. (single period)

parent::node()

.. (double period)

/descendant-or-self::node()/

//

For more information on axes, see Chapter 5.

  
 
 
2000-2002    Feedback


XSLT For Dummies
XSLT for Dummies
ISBN: 0764536516
EAN: 2147483647
Year: 2002
Pages: 148

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net