How to convert this XML Definition into a C# Class -
is there 'standard' way convert set of c# classes?
<!doctype messages [ <!element messages (msg*)> <!element msg (to+,body,msg_id,billing)> <!attlist msg type (content|logo|ringtone|picture|otapush|binfwd|longsms|2dcode) #required> <!element (#pcdata)> <!attlist provid (1|2|3|5|6|7) #implied > <!attlist type (npm|ems) #implied> <!element body (#pcdata)> <!element msg_id (#pcdata)> <!element billing (#pcdata)> <!element delivery (#pcdata)> <!element expdate (#pcdata)> ]>
i have more information appreciate way transform element , attlist c#.
if convert dtd xsd schema using this w3c tool, can use xsd.exe or xml sample code generator create classes.
Comments
Post a Comment