The DOM tree being passed is identical to the Steamsource being input (we
have written it out to check). The only difference that we can see is that
one is a DOMSource and the other is a Streamsource.
---------------------- Forwarded by Irene Hall/STANDARD LIFE ASSURANCE
COMPANY on 16/04/2002 09:10 ---------------------------
<jd@xxxxxxxxxxxxxx>@lists.mulberrytech.com> on 12/04/2002 13:51:35
Please respond to <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent by: <owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc:
Subject: Re: DOMSource into stylesheet with namespaces
You could check if the DOM tree passed with the DOMSource really contains
the correct namespace information-
Maybe the DOM element nodes only store the local names without namespace
uris, for instance if you have built the tree with a non namespace aware
parser.
regards,
Johannes
At 12:42 12.04.2002 +0100, you wrote:
>We are using xalan to do an xsl transform. The XSL transform takes a
>DOMSource. It has been working fine.
>
>We have now altered the stylesheet and source XML to include xmlns
>statements. The transformation using the DOMSource has stopped working. If
>the transformation is altered to use a Streamsource (using the same source
>xsl and xml) it works fine.
>
>What are we missing ?
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
For more information on Standard Life, visit our website
http://www.standardlife.com/
The Standard Life Assurance Company, Standard Life House, 30 Lothian Road,
Edinburgh EH1 2DH, is registered in Scotland (No. SZ4) and regulated by the
Financial Services Authority. Tel: 0131 225 2552 - calls may be recorded or
monitored. This confidential e-mail is for the addressee only. If received
in error, do not retain/copy/disclose it without our consent and please
return it to us. We virus scan and monitor all e-mails but are not
responsible for any damage caused by a virus or alteration by a third party
after it is sent.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|