Re: [xml] multiple XPath expressions in one expression



On Tue, Feb 11, 2003 at 03:02:40AM -0800, Gerry Jacobs wrote:
Is it possible to run these 2 xpath expressions in one
xpath expression:
/SOFTWARE/TYPE/VENDOR[ name='Microsoft']/PACKAGE[ name='Office']
/SOFTWARE/TYPE/VENDOR[ name='Kde']/PACKAGE

  Not specific to libxml. Time to read the spec !
    http://www.w3.org/TR/xpath#NT-UnionExpr

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]