xsl-list
[Top] [All Lists]

Re: [xsl] ignore namespace

2007-03-13 16:39:32
Thank you.

On Mar 13, 2007, at 4:35 PM, David Carlisle wrote:


in xslt1  or a basic xslt2 processor, the attribute value is a string
and not subject to namespace processing, so you can't ask for the local
name, but you can ask for the substring after the :
substring-after(@type,':')
If you use a schema-ware XSLT2 processor and schema validate the input, so that @type has type QName then you could use local-name(@type/ data())

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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