Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Finding the current node type


Subject: [xsl] Finding the current node type
From: "Mark Anderson" <mark.anderson@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Jul 2007 22:58:37 +0100

Hi Kamal

Thanks for the tip. It worked but for some reason the namespace prefix
is not part of the node name:

For example, I have <abc:code>1234</abc:code>

Local-name returns "code"

I can work without the namespace prefix, just struck me as being a bit
strange.


>If I understand what you are trying to do, you could use local-name().
>This will give you the name of the node.

Regards

Mark


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor