topical media & game development

talk show tell print

basic-xpath-readme.txt / txt



  
  XPath 2.0 Programmer's Reference Code Examples
  ==============================================
  
  The attached XML file contains most of the example XPath expressions
  from the book, together with the expected results where appropriate,
  and sample source documents where these are included in the printed book.
  
  The samples are arranged by chapter, and by section within each chapter.
  
  The published results are designed to enable visual checking that the
  expression is returning the correct value. However, the notation used for the 
  results attribute is informal, which means that the value is not suitable
  for automated testing.
  
  The attribute error="true" is included on those examples that are expected
  to generate a dynamic error. There are no examples that are expected to
  generate a static error, provided that all the required variables and namespace
  prefixes are set up.
  
  The attribute test="no" is included on some examples. This attribute may be
  ignored; it was used to filter out those expressions that could not be tested
  using the test harness that was deployed while the book was being written,
  either because no suitable XPath processor was available, or because the
  expression has dependencies on the context that the test harness did not
  satisfy.


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.