[xsl] Versioned Namespaces

Subject: [xsl] Versioned Namespaces
From: Andy Chambers <achambers.home@xxxxxxxxx>
Date: Thu, 15 Jul 2010 09:58:47 +0100
Hi,

I've developed a small library of re-usable functions for working with
an clinical data XML standard.  The
standard has been around for a while now and so there are multiple
versions of it, each one of which
has a slightly different namespace

http://www.cdisc.org/ns/odm/v1.2
http://www.cdisc.org/ns/odm/v1.3

are the two I work with most commonly.

My library was developed against v1.3 and so uses this for the
namespace but now I need to make it
work when operating on a v1.2 documents.  Is there a way to do this
without code duplication?

Cheers,
Andy

-- 
----
Andy Chambers
Formedix Ltd

Current Thread