Subject: [xsl] XML namespaces problem From: "Andrew Ballantine" <andrew.ballantine@xxxxxxxxxxxxxxx> Date: Wed, 30 Nov 2005 09:48:39 -0000 |
Hi there, I am having a problem with XML namespaces being present on a message that I am attempting to transform. The namespace xlmns="..." (actual namespace removed but it is a valid url - no actual data there though) in the first element is causing XSL to fail to be able to transform the message properly. With this removed, it works fine, but with it present, it does not. Is there any way I can get XSL to disregard the namespace or otherwise work around this problem, without pre-transforming using another XSL file? Also interestingly enough, if the namespace is prefixed (i.e. takes the form xmlns:prefix="..."), then I can "avoid" the problem by using relative paths from the following element. However, in this case the namespace is not prefixed and is causing the XSL to fail to transform the message properly. Help! The message in question is quite long, but takes the format: <?xml version="1.0" encoding="utf-16"?> <message xmlns="..."> <m_control> ... </m_control> <m_content> <b_control> ... </b_control> etc thanks in advance, Andrew Ballantine This e-mail is private and confidential and is protected by copyright. It may also be privileged or otherwise protected by other legal rules. Access by or disclosure to anyone other than the intended recipient for any reason other than the business purpose for which the message is intended, is unauthorised. If you receive it in error, notify us, delete it and do not make use of or copy it. Internet communications are not secure and therefore Assureweb Limited do not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Assureweb Limited unless otherwise specifically stated.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Finding and promoting foo, Jarno.Elovirta | Thread | Re: [xsl] XML namespaces problem, James Fuller |
Re: [xsl] XSLT in UML, James Fuller | Date | Re: [xsl] XSLT in UML, bryan rasmussen |
Month |