tag:blogger.com,1999:blog-15136575.post2067030281553769316..comments2023-10-17T12:00:16.772+01:00Comments on Code rant: Writing your own XSD.exeMike Hadlowhttp://www.blogger.com/profile/16441901713967254504noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-15136575.post-73600990304175229942011-12-15T07:25:06.957+00:002011-12-15T07:25:06.957+00:00can anyone tell me how to implement a tool that ta...can anyone tell me how to implement a tool that takes xml document as input and return its attributesAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-37667971092284426252011-07-26T06:47:04.376+01:002011-07-26T06:47:04.376+01:00Nice one! thanks for sharing
this solution will c...Nice one! thanks for sharing <br />this solution will change the dll but i don't want to change the dll how can i do it ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-28279622548775817522011-01-11T16:54:36.022+00:002011-01-11T16:54:36.022+00:00I was wondering if you knew a way to use reflectio...I was wondering if you knew a way to use reflection once this has been done, and the code has been generated to use reflection and generate HTML code from the code that has been generated.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-84512116004027106212010-04-28T11:59:59.699+01:002010-04-28T11:59:59.699+01:00Thank you,
I used your info today. Really good Job...Thank you,<br />I used your info today. Really good Job, I will have to deal with a *lot* of XSD and with your work I think I will automate the assembly creation runtimeFelice Pollanohttp://www.felicepollano.comnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-31729895154686181882009-07-13T12:12:13.614+01:002009-07-13T12:12:13.614+01:00A really helpfull article thanksA really helpfull article thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-450040174811359112009-04-23T19:55:00.000+01:002009-04-23T19:55:00.000+01:00great article! Thanks!great article! Thanks!tobsenhttps://www.blogger.com/profile/11139392387746884577noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-57914981877451129482009-03-08T21:28:00.000+00:002009-03-08T21:28:00.000+00:00Hi Roland, sorry I don't know the answer to that o...Hi Roland, sorry I don't know the answer to that off the top of my head. <BR/><BR/>I had the same problem recently, wanting to do some encryption on the client using Silverlight. It seemed like the ideal choice until I realised the BCL classes I wanted weren't part of the silverlight framework :(Mike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-22990282180132990352009-03-08T21:06:00.000+00:002009-03-08T21:06:00.000+00:00Hello, while looking for a way to generate a xml d...Hello, <BR/>while looking for a way to generate a xml document from an xsd-schema definition ( that was generated by xsd.exe ) I found your solution after getting a hint in the official silverlight forum.<BR/><BR/>I have a question : is there a way to make this code work in the Silverlight framework ? <BR/><BR/>It seems at the moment, that most of the used classes are - again - not available .<BR/><BR/>Thanks for your help !<BR/><BR/>Greetings, <BR/><BR/>rolandAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-19562686697899679722008-07-16T09:37:00.000+01:002008-07-16T09:37:00.000+01:00Thanks anonymous. Yes, I was a bit slack in those ...Thanks anonymous. Yes, I was a bit slack in those days about escaping my angle brackets. As you say, the best thing is to get the code from view->source.Mike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-2194473881992463312008-07-15T18:25:00.000+01:002008-07-15T18:25:00.000+01:00Interesting stuff. Will be trying this out to cus...Interesting stuff. Will be trying this out to customize my generated classes.<BR/><BR/>A small note, "List maps = new List()" should is missing the type specification on the generic List, which should be XmlTypeMapping. If you view the page source you can see that the left and right angle brackets haven't been escaped, so the browser (at least firefox) interprets the type specification as a html tag.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-15136575.post-30827226940532563272008-05-07T21:09:00.000+01:002008-05-07T21:09:00.000+01:00Hi Karl,Thanks, I'm glad you found this useful. I ...Hi Karl,<BR/><BR/>Thanks, I'm glad you found this useful. I do remember looking at the 'imports' issue when I was writing WsdlWorks (my attempted WS test tool) . There was some part of the XML API that handled it, but I can't for the life of me remember where. Sorry :(<BR/><BR/>It might be worth pointing reflector at the Visual Studio WS proxy generation tool, since that is certainly able to load multi-file schemas. The WCF code might be similarly useful.<BR/><BR/>MikeMike Hadlowhttps://www.blogger.com/profile/16441901713967254504noreply@blogger.comtag:blogger.com,1999:blog-15136575.post-41302695190627983522008-05-06T17:42:00.000+01:002008-05-06T17:42:00.000+01:00Thanks for a truly useful post. However I ran into...Thanks for a truly useful post. However I ran into trouble when attempting to read schemas with xsd:import. How can you handle schema dependencies? <BR/><BR/>This is also somewhat of a problem when using xsd.exe since it doesn't handle the schemaLocation on imports, but the workaround is to specify all schemas on the commandline. How would that translate to this solution?<BR/><BR/>/KarlKarl Böhlmarkhttps://www.blogger.com/profile/11751160837529552698noreply@blogger.com