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

Re: Fwd: Namespace issue in copy override

Subject: Re: Fwd: Namespace issue in copy override
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Sat, 6 Oct 2012 11:06:43 +0100
Re:  Fwd: Namespace issue in copy override
On Sat, Oct 6, 2012 at 11:00 AM, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
> On 6 October 2012 10:34, Ihe Onwuka <ihe.onwuka@xxxxxxxxx> wrote:
>> I'm having a brainfart moment here.
>>
>> My source XML is a database extract - all elements are in the null namespace.
>>
>> So I am  doing a copy override override of the identity (i.e importing
>> the identity template) and after a bit of eye rubbing I realised that
>> anything processed by the imported template will stay in the null
>> namespace rather than "magically" be coerced into my transforms
>> default namespace.
>>
>> So before I start hacking away at any of a number of workarounds in my
>> fatigued state, I thought I asked for suggestions.
>>
>> Am running XSLT 2.0.
>
> Hi,
>
> You'll need to post some code...
>
> cheers
> andrew
>

Nah... had a moment of clarity ....(always good to step away from the
computer). Copy override doesn't help much here as different
namespaces effectively mean different elements (identical local-names
is irrelevant).  So just treat it like a straightforward rename which
is what it is.

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.