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

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
7.76Mb size Format: txt, pdf, ePub
  • Some operators, such as
    and
    ,
    or
    , and
    div
    , are written as keywords, but they are recognized as keywords only if they appear in a context where an operator is expected. The language is carefully arranged so that there is no ambiguity, and you can happily write constructs such as
    and
    or
    or
    to test whether there is an element called

    or an element called

    in your source document.
  • Some operator names consist of doubled keywords, such as
    instance
    of
    or
    castable
    as
    . These are recognized only if they appear as a pair. You can use whatever whitespace and comments you wish between the keywords.

Other books

The Outsiders by Seymour, Gerald
Cloak Games: Thief Trap by Jonathan Moeller
People Who Eat Darkness by Richard Lloyd Parry
1 Killer Librarian by Mary Lou Kirwin
Two-Gun & Sun by June Hutton
Having Prudence by Lacey Thorn
The Taste of Night by R.L. Stine
The Center of Everything by Laura Moriarty
13 to Life by Shannon Delany