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