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

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
10.92Mb size Format: txt, pdf, ePub
  • Patterns that specify both the node name and its schema type, for example
    attribute(@code, mf:part-number)
    , are more specific than those that specify only the name or the type, so they get a priority of +0.25.
  • Patterns that provide a more specific context, for example
    book[@isbn]
    or
    chapter/title
    or
    para[1]
    , have a higher priority, so they will be chosen in preference to templates whose patterns are respectively
    book
    ,
    title
    or
    para
    . Note, however, that this category can also include patterns that turn out not to be very selective at all; for example,
    //node()
    .

Other books

Model Home by Eric Puchner
Best Frenemies by Cari Simmons
Saving June by Hannah Harrington
Honest Betrayal by Girard, Dara
Mercy Seat by Wayne Price
Obsession by Carmelo Massimo Tidona
Beach House Beginnings by Christie Ridgway
Joggers by R.E. Donald
Somewhere in the Middle by Linda Palmer