Hi Eric,

This is not the appropriate forum for general questions about XSLT.  I 
recommend you subscribe and post to the Mulberry Technology XSL list, 
which is probably the best forum for XSLT questions:

http://www.mulberrytech.com/xsl/xsl-list/index.html

I also recommend Dave Pawson's XSLT FAQ:

http://www.dpawson.co.uk/xsl/xslfaq.html

Which has a section that answers your question:

http://www.dpawson.co.uk/xsl/sect2/N5536.html#d6408e655

Dave





Eric Pailleau <[EMAIL PROTECTED]>
03/08/2005 06:11 AM
Please respond to xalan-c-users
 
        To:     [email protected]
        cc:     (bcc: David N Bertoni/Cambridge/IBM)
        Subject:        Strange xmlns ???

I have trouble with xmlns declarations in an XML I want to transform 
with a XSL file.

Here is a diff between the first (don't works) and the second (works)

< <EngDatMessage xmlns="toto" 
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"; 
xsi:schemaLocation="toto ./schema.xsd">
---
 > <EngDatMessage xmlns:xsi="http://www.w3.org/2001/XMLSchemaInstance"; 
xsi:noNamespaceSchemaLocation="schema.xsd">


With first declaration, Xalan outputs nothing but don't fail.
With second, everything works nice.

I don't understand the first declaration (A XML file that I received).

Is it a valid syntax ??? does anybody have seen/use it ?

Thanks a lot !




Reply via email to