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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -