Try:
//category[@name="Sport" and ./author/text()='James Small']
More Related Contents:
- Current node vs. Context node in XSLT/XPath?
- XPath select all elements between two specific elements
- XSLT: How to convert XML Node to String
- Is there an XSLT name-of element?
- How do you output the current element path in XSLT?
- Finding the difference between two dateTimes in XSLT
- XSLT Replace function not found
- What is the difference between ‘or’ and ‘|’ when programming in xslt?
- Concatenate multiple node values in xpath
- WiX Installer: using xslt with heat.exe to update attributes
- How do I generate a comma-separated list with XSLT/XPath?
- XSLT – How to keep only wanted elements from XML
- XSLT – Comparing preceding-sibling’s elements with current’s node element
- How does XPath deal with XML namespaces?
- XSLT Transform doesn’t work until I remove root node
- How to parse XML in Bash?
- Generate/get xpath from XML node java
- XSLT not working in web browser
- XPath to select element based on childs child value
- How to change or reassign a variable in XSLT?
- Removing duplicate elements with XSLT
- Add CDATA to an xml file
- How to mimic copy-namespaces=”no” in XSLT 1.0?
- What is the difference between // and .// in XPath?
- how to Merge two xml files with XSLT
- How to insert a new element under another with xmlstarlet?
- In XSLT how do you test to see if a variable exists?
- Including an XML file in an XML/XSL file
- XSLT Transformation – dynamic element names
- Converting XML elements to XML attributes using XSLT