Options

how i put a schema or namespace in a XML file or XML message

ntnt Member Posts: 160
hi,

anyone knows how to put a schema in a xml dom?
i want that my xml file or message will stay like that:
<ns0:lstCodEmp xmlns:ns0="http://CdM.IS14">
 <JustCode>
  <Code>Codigo_0</Code> 
  <Description>Descricao_0</Description> 
 </JustCode>
</ns0:lstCodEmp>

how i can put the first and the last line like this?
i only can do without schema:
<lstCodEmp>
 <JustCode>
  <Code>Codigo_0</Code> 
  <Description>Descricao_0</Description> 
 </JustCode>
</lstCodEmp>

The "http://CdM.IS14&quot; it's a name space.

thanks.
Sign In or Register to comment.