Re: [xml] XPath problem



On Thu, Mar 25, 2004 at 11:16:21PM +0100, Marek Elsner wrote:
Hello,
I have got problem with XPath.
When following program is run "./program hello.xml, ( hello.xml is under
source code of program)
it doesn't show node <marek>

[...]
  xmlns="urn:iana:xml:ns:epp-1.0"

marek is in a namespace. The "//marek" XPath expression won't select
it. The XPath spec is at http://www.w3.org/TR/xpath
this issue is an XPath FAQ, it's just that lixml2 implements the spec !

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]