xsl-list
[Top] [All Lists]

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

2016-09-22 11:27:36
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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>