Same concept as bytebuster, but a different xpath:
/*/p[count(preceding-sibling::divider)=1]
More Related Contents:
- Current node vs. Context node in XSLT/XPath?
- XSLT: How to convert XML Node to String
- XPath with multiple conditions
- 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 to parse XML in Bash?
- XPath contains(text(),’some string’) doesn’t work when used with node with more than one Text subnode
- how to ignore namespaces with XPath
- XPath to select multiple tags
- How can I use XPath to find the minimum value of an attribute in a set of elements?
- How to ignore namespace when selecting XML nodes with XPath
- If double slash (//) is used 2 times in XPath, what does it mean?
- How to unescape XML characters with help of XSLT?
- XSL xsl:template match=”/”
- Using XPath, How do I select a node based on its text content and value of an attribute?
- how to find the current date in XSLT 1.0
- Preserving entity references when transforming XML with XSLT?
- How can I select an element with multiple classes with Xpath?
- What browsers support Xpath 2.0?
- XPath on an XML document with namespace
- What is the difference between name() and local-name()?
- XSLT Transform XML with Namespaces