HighTechTalks DotNet Forums  

validating xml writer

Dotnet XML microsoft.public.dotnet.xml


Discuss validating xml writer in the Dotnet XML forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
T.G.
 
Posts: n/a

Default validating xml writer - 03-24-2010 , 07:28 AM






Using .NET 3.5, is it possibile to use a 'validating' writer with an XSD
schema?

I'd like to load an xsd schema in memory and write xml output according to
the schema.

Is it possibile? Does it even make sense?

Reply With Quote
  #2  
Old   
Martin Honnen
 
Posts: n/a

Default Re: validating xml writer - 03-24-2010 , 08:12 AM






T.G. wrote:
Quote:
Using .NET 3.5, is it possibile to use a 'validating' writer with an XSD
schema?

I'd like to load an xsd schema in memory and write xml output according to
the schema.

Is it possibile? Does it even make sense?
The article/code in
http://msdn.microsoft.com/en-us/library/aa302296.aspx does that for
generating samples from XML schemas.

--

Martin Honnen --- MVP XML
http://msmvps.com/blogs/martin_honnen/

Reply With Quote
  #3  
Old   
T.G.
 
Posts: n/a

Default Re: validating xml writer - 03-26-2010 , 03:31 AM



Quote:
Is it possibile? Does it even make sense?

The article/code in http://msdn.microsoft.com/en-us/library/aa302296.aspx
does that for generating samples from XML schemas.
I had already found that article... However instead of a validating writer I
found that it's more practical to converting the xsd schema to hinted
classes with xsd.exe and serializing them back to xml..

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.