Xml validation with namespace without prefix


hi all,

 

i want validate incoming xml xmlns ok without prefix :

this not works :

<root xmlns="http://mynamespace">

<child1>first child</child1>

<child2>second child</child2>

...

</root>

this works :

<ns0:root xmlns:ns0="http://mynamespace">

<child1>first child</child1>

<child2>second child</child2>

...

</ns0:root>

 

how can validate first xml (without prefix) ?

 

thxxxx

a method, generate xsd xml instance , saw xsd had no xmlns i delete xmlns (defaut namespace) xsd , every thing works !!! have delete this within source of xsd , not in import property box.

 

thxxxxx




BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user