XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition (504 page)

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
12.25Mb size Format: txt, pdf, ePub
ads
  • If the attribute axis is used and the
    NodeTest
    is a
    NameTest
    (for example,
    @title
    ,
    @*
    , or
    @svg:*
    ), then we are looking for an attribute node.
  • If the attribute axis is used and the
    NodeTest
    is a
    KindTest
    (for example,
    @schema-attribute(xml:space)
    ), then we are looking for nodes on the attribute axis. Of course, the only nodes found on the attribute axis are attribute nodes. The patterns
    @comment()
    and
    @text()
    are not illegal, but they are pointless, because the attribute axis cannot contain comments or text nodes. However, the
    NodeTest
    @node()
    looks for any node on the attribute axis, so it is equivalent to
    @*
    .
BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
12.25Mb size Format: txt, pdf, ePub
ads

Other books

Lizzie's List by Melling, Diane
Reed (Allen Securities) by Stevens, Madison
Owen by Tony Riches
The Mirror of Worlds by Drake, David
A Royal Affair by John Wiltshire
Dracula's Secret by Linda Mercury
Revelry (Taint #1) by Carmen Jenner