Jump to content

Recommended Posts

Posted

Whoa, I'm hitting the techoff hard at the moment. (I'll get you all cake later.)

 

Well, I've inherited an xml document and want to read it into its specific types using XmlReader.ReadContentAsObject() and rely on .NET to*do its magic and convert things into the correct type.

 

Now, at the moment the XML elements have a "type" attribute which the document creators thought would be a great thing, and it close matches what you'd expect an XML type to be.

 

So for example:

 

true

 

but, of course, .Net has no comprehension of these types. Is there a simple way (in, for example a schema of which I have only the briefest knowledge) to essentially associate one of these "type" attributes with a proper XML type?

 

More...

 

View All Our Microsft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...