xsl-list
[Top] [All Lists]

Re: [xsl] Changing namespaces

2011-08-16 09:25:45
David,

I think it was my bad due to poor knowledge of xslt that I could not
understand your code. But I just tried it and it worked like a magic.
Thank you so much, you are great!

Also last reply I did not sent to list by mistake, sorry.

Please correct me if I am wrong but it looks like in the match
expression when it is specified like "olddef:*", it does not look for
the elements with literal prefix 'olddef' but it looks for the
elements corresponding the namespace uri in your stylesheet
corresponding to prefix 'olddef'; however the prefix in input xml for
the same namespace uri could be different. I guess your stylesheet
will not work unless this true. It is some thing I did not know. So I
was thinking that I have to substitute the prefix values in your
stylesheet corresponding to my needs. But it worked with just the
substitution of namespace uri values.
I will appreciate any clarification but any way thanks a lot.

- Pradnya






On Mon, Aug 15, 2011 at 6:16 PM, David Carlisle 
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
On 15/08/2011 23:15, David Carlisle wrote:

it's

its


--~------------------------------------------------------------------
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>