Re: [xsl] Seek an XPath 2.0 expression that handles an empty text field, regardless of how it's represented in XML

Subject: Re: [xsl] Seek an XPath 2.0 expression that handles an empty text field, regardless of how it's represented in XML
From: "David Carlisle d.p.carlisle@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 22 Sep 2016 16:27:30 -0000
> I want an XPath 2.0 expression that outputs "do action" if the B field is empty,
> regardless of which of the two XML representations is used.


if(B/node())  "d" else "n", "o action"


David

Current Thread