xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] ignore namespace


Subject: Re: [xsl] ignore namespace
From: Senthilkumaravelan Krishnanatham <senthil@xxxxxxxxx>
Date: Tue, 13 Mar 2007 16:39:16 -0700

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


Current Thread
Keywords
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor