[xsl] problem w/ namespaces

Subject: [xsl] problem w/ namespaces
From: Jakub.Valenta@xxxxxxxx
Date: Tue, 30 Apr 2002 17:48:57 +0300
Hi all,
I am trying to define namespace of my xml data and I do it like

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl
="http://www.w3.org/1999/XSL/Transform";>
  <xsl:template match="/">
    <CbaMessage xmlns="http://www.deio.net/cbamessage"; ...

In the output of the transformation the root elemnt (CbaMessage) has
correct namespace, but all direct children elements of <CbaMessage> look
like this

<Transport xmlns="">

I want the namespace to be valid for all elements not just for the root.
How can I do it?

Any help appreciated.

br,

Jakub


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread