xsl-list
[Top] [All Lists]

Re: [xsl] Datatype of a node

2014-09-10 11:42:44
Thanks Michael,

I assumed it was on-topic because it is XPath. Plus, Tommie is a nice
person.  :-)

Makes perfect sense why you can't do a type check (now that you explained
it).

Due to the naming conventions, only the first character is different in the
names of the matching nodes so I guess I can come up with a slice notation
and match the names, minus the first character?






On Wed, Sep 10, 2014 at 1:33 PM, Michael Kay mike(_at_)saxonica(_dot_)com <
xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> wrote:





The net result is that if an element is validated against type T, the
expression (used in the assertion) "E instance of element(T)" should be
true.


 Correction, "E instance of element(*, T)"


Michael Kay
Saxonica
mike(_at_)saxonica(_dot_)com
+44 (0) 118 946 5893







-- 

============================================
Timothy Cook
LinkedIn Profile:http://www.linkedin.com/in/timothywaynecook
MLHIM http://www.mlhim.org
--~----------------------------------------------------------------
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>