I need to create below xml using:
<?xml version="1.0"?>
<entitl:OnlineEntitlement xmlns:xsi="http://ift.tt/ra1lAU"
xsi:schemaLocation="http://ift.tt/1mL3c17 file:///C:/Users/608292463/desktop/orca/schemas/TempOnlineEntitlement.xsd
http://ift.tt/1v60hR1 file:///C:/Users/608292463/desktop/orca/schemas/Persona.xsd"
xmlns:entitl="http://ift.tt/1mL3c17"
xmlns:per="http://ift.tt/1v60hR1">
<per:persona>
<per:id>1</per:id>
<per:name>Customer</per:name>
</per:persona>
</entitl:OnlineEntitlement>
Through net i am able to create xml without namespace,prefix. So any question is how to create: 1-Root element with namespace for xsd. 2-Add multiple scehma location to root element. Any suggestion?
Tiada ulasan:
Catat Ulasan