[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Changing namespaces

Subject: Re: Changing namespaces
From: Pradnya Gawade <pradnya.gawade7@xxxxxxxxx>
Date: Tue, 16 Aug 2011 10:50:39 -0400
Re:  Changing namespaces
Thanks a lot David.

One last thing I am thinking is if there is any way I can combine the
2 stylesheets I am using for the entire task. Meaning, before I apply
your stylehsheet I use the one which I have specified in my original
post and then output of the same I pass to your stylesheet to get the
final output. Ideally I would like to have everything in just one
stylesheet. I was thinking to make use "mode" attribute in the
templates to achieve this but looks like namespace declarations could
be a problem. Because in my 1st stylesheet e.g. default namespace is
my old default stylesheet and in yours it needs to be changed to the
new default stylesheet and similar namespace differences.

- Pradnya





On Tue, Aug 16, 2011 at 10:40 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 16/08/2011 15:25, Pradnya Gawade wrote:
>>
>> 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.
>
> Exactly, yes.
>
>  All xpath matching uses the expanded qname (namespace URI + local name)
The
> prefixes used in the source and the stylesheet are essentially arbitrary
and
> (mostly) not used after the orignal parsing of the documents, where of
> course they are needed to associate each element with its namespace.
>
> David
>
>
> --
> google plus: https:/profiles.google.com/d.p.carlisle
>
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.