Re: [xsl] An XPath expression that avoids writing special casecode?

Subject: Re: [xsl] An XPath expression that avoids writing special casecode?
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jun 2021 13:12:35 -0000
Am 18.06.2021 um 14:35 schrieb Roger L Costello costello@xxxxxxxxx:


I tried your suggestion. For this XML document:



<Document>

<Row>

<Cell>

<Data>aviation</Data>

</Cell>

<Cell/>

</Row>

</Document>



I used Oxygen XML to evaluate this XPath expression on the XML document:



/Document/Row[Cell[1]/Data eq 'aviation'][Cell[2]/Data = '']



Oxygen XML reported:



The XPath query returned no results.



Thoughts?




Don't know where I went wrong, will look later. Perhaps go with Mukul's suggestions.

Current Thread