xsl-list
[Top] [All Lists]

Re: [xsl] My XPath mistakenly referenced an element that doesn't exist and I got no error message ... is this bad language design?

2021-10-14 11:55:19
That only tells you this particular instance doesn't include that element or 
content. It doesn't tell you if the path might actually exist in some other 
contextSent from my Verizon, Samsung Galaxy smartphone
-------- Original message --------From: "BR Chrisman 
brchrisman(_at_)gmail(_dot_)com" 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> Date: 10/14/21  9:48 
AM  (GMT-08:00) To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com Subject: 
Re: [xsl] My XPath mistakenly referenced an element that doesn't    exist and I 
got no error message ... is this bad language design? It's not very difficult 
to apply a transform to the stylesheet grabbing the @select from value-of or 
apply-templates or what not into new xsl:if test="count(@select) = 0"... 
xsl:message ... if warnings is what your colleague wants.- Brian



XSL-List info and archive

EasyUnsubscribe
(by email)
--~----------------------------------------------------------------
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>