cvs commit: HaXml/src/Text/XML/HaXml Combinators.hs

Malcolm Wallace malcolm@glass.cse.ogi.edu
Fri, 25 Apr 2003 02:41:47 -0700


malcolm     2003/04/25 02:41:47 PDT

  Modified files:
    src/Text/XML/HaXml   Combinators.hs 
  Log:
  Add a 'path' combinator, allowing the expression of XPath-like queries.
  e.g. path [children, tag "name1", attr "attr1", children, tag "name2"]
  is equivalent to the XPath expression:  /name1[@attr1]/name2
  
  Revision  Changes    Path
  1.3       +7 -0      HaXml/src/Text/XML/HaXml/Combinators.hs