xsl-list
[Top] [All Lists]

[xsl] same prefix, different namespaces (URIs)

2009-11-18 10:03:40
Hello,

I need/want to use the same prefix in the result document as in the source
document, but those prefixes need to be mapped to different URIs.

Sample for prefix 'nsn':

source document

<source xmlns="http://foo.org"; xmlns:nsn="http://foo.org/1999";>
  <nsn:data>hello</nsn:data>
</source>


result document

<source xmlns="http://foo.org"; xmlns:nsn="http://foo.org/2009";>
  <nsn:item>hello</nsn:item>
</source>


Is it possible (as shown here) to map the nsn:data element to nsn:item
element?

Thanks for your help.

Heiko




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