Hi All,

My web page contains the following data in form of textboxs.:

First Name : <text box>
Last Name : <text box>

<submit button>


I want to convert this data into an xml file based on the path mentioned in
the 2nd column picking from the database.



Data

Path

Name

ocim:root/ocim:name[xsi type:"myname"]/ocim:firstname

Name2

ocim:root/ocim:name[xsi type:"myname"]/ocim:Lastname

I am unable to build the xml :(
Somewhat my code is not accepting ":".





The final xml shouldlook like the below :

<ocim:root>
 <ocim:name xsi:type:"myname">
  <ocim:firstname>Name</ocim:firstname>
  <ocim:lastname>Name</ocim:lastname>
 </ocim:name>
</ocim:root>


Please let me know using schema file is mandatory or not?
Can anybody help me regarding this code?


Thanks,
Sravani


-- 
Subscription settings: 
http://groups.google.com/group/dotnetdevelopment/subscribe?hl=en

Reply via email to