Ask a Question related to ASP.NET General, Design and Development.
-
KathyB #1
xpath - how to find a node where a specific attribute does NOT exist?
Hi, since there doesn't appear to be a way to get the individual
elements that make up the xpath to a result node, I'm trying to create
an xpath that will result in selecting this xml node which would be
the last board element without a finish attribute.
<Board sn@="12347" start="7/15/03"/>
other board elements may include a finish attribute, e.g,
<Board sn@="12346" start="7/15/03" finish="7/15/03"/>
if I try to include a predicate of [@finish = ""] it doesn't select
the node.
How do you select a node that does NOT have a certain attribute?
Thanks!
Kathy
KathyB Guest
-
#39593 [NEW]: XPath NodeList: "Couldn't fetch DOMElement: Node no longer exists"
From: dave dot lane at gmx dot net Operating system: Linux PHP version: 5.2.0 PHP Bug Type: DOM XML related Bug description:... -
#39593 [Opn]: XPath NodeList: "Couldn't fetch DOMElement: Node no longer exists"
ID: 39593 User updated by: dave dot lane at gmx dot net Reported By: dave dot lane at gmx dot net Status: Open Bug... -
#39505 [NEW]: xpath query failed if root element has xmlns attribute
From: sghnqk at gmail dot com Operating system: linux PHP version: 5.2.0 PHP Bug Type: DOM XML related Bug description: ... -
Retrieving XML attribute using XML::XPath::Node::Attribute
Hi I am trying to retrieve an attribute of a particular node from my XML using "XML::XPath::Node::Attribute", but couldn't come across on how to... -
accessing node value rather than attribute
Hello Guys, I have some XML that looks like this: <search> <arrivals> <option value="ADL">Adelaide</option> </arrivals> </search>



Reply With Quote

