Not sure why everybody is querying for siblings, you can also check for <bb/>
-elements matching the predicate from <a/>
‘s predicate:
//a[bb/text() = "zz"]/cc/text()
More Related Contents:
- How does XPath deal with XML namespaces?
- How to parse XML in Bash?
- XPath contains(text(),’some string’) doesn’t work when used with node with more than one Text subnode
- XPath query to get nth instance of an element
- Getting attribute using XPath
- Current node vs. Context node in XSLT/XPath?
- XPath to select element based on childs child value
- how to ignore namespaces with XPath
- Xml Namespace breaking my xpath!
- How to select following sibling/XML tag using XPath
- How to pass variable parameter into XPath expression?
- XPath to select multiple tags
- Using XPATH to search text containing
- XSLT: How to convert XML Node to String
- How to ignore namespace when selecting XML nodes with XPath
- Finding the difference between two dateTimes in XSLT
- What is the difference between // and .// in XPath?
- If double slash (//) is used 2 times in XPath, what does it mean?
- XSLT Replace function not found
- How do you identify duplicate values in a numerical sequence using XPath 2.0?
- Concatenate multiple node values in xpath
- How to insert a new element under another with xmlstarlet?
- distinct in Xpath?
- How can I select an element with multiple classes with Xpath?
- What browsers support Xpath 2.0?
- WiX Installer: using xslt with heat.exe to update attributes
- XPath on an XML document with namespace
- What is the difference between name() and local-name()?
- Is it possible to apply normalize-space to all nodes XPath expression finds?
- XSLT – How to keep only wanted elements from XML