Comments on: Generate XSD from XML http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/ one of those blogs Tue, 09 Mar 2010 11:58:35 -0500 http://wordpress.org/?v=2.8.5 hourly 1 By: bibi http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-3746 bibi Thu, 25 Feb 2010 14:23:09 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-3746 Same than reto, exactly what I was looking for, thanks for tutorial btw :) Same than reto, exactly what I was looking for, thanks for tutorial btw :)

]]>
By: reto http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-3744 reto Wed, 24 Feb 2010 07:36:30 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-3744 Thank you very much, this is exactly what I was looking for! Thank you very much, this is exactly what I was looking for!

]]>
By: Michael http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-3611 Michael Thu, 29 Oct 2009 23:15:37 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-3611 Great tool. Now it I wanna embed this XSD generation logic into my code, is there any Trang API to use, rather than the command line? Great tool.
Now it I wanna embed this XSD generation logic into my code, is there any Trang API to use, rather than the command line?

]]>
By: raja http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2963 raja Wed, 23 Sep 2009 06:25:05 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2963 hi am a testing engg..i would like to know that..all the binded fields are generating some values in the preview of livecycle Designer..can anybody know that,from where that values are coming to the forms? hi am a testing engg..i would like to know that..all the binded fields are generating some values in the preview of livecycle Designer..can anybody know that,from where that values are coming to the forms?

]]>
By: Toly http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2976 Toly Wed, 19 Aug 2009 07:12:54 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2976 @MetalFan - Thanks for sharing - will give rinzo a try :) @MetalFan – Thanks for sharing – will give rinzo a try :)

]]>
By: MetalFan http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2975 MetalFan Tue, 11 Aug 2009 21:06:58 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2975 Very interesting post! Thanks! I also would like to recommend a new tool that can generate xsd from xml called Rinzo Xml. http://sourceforge.net/projects/editorxml/ Very interesting post! Thanks!

I also would like to recommend a new tool that can generate xsd from xml called Rinzo Xml. http://sourceforge.net/projects/editorxml/

]]>
By: Toly http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2984 Toly Tue, 21 Jul 2009 20:45:10 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2984 @ShyGuy78, What do you mean by APT? Here are some differences between XSD and DTD: DTD's are not namespace aware. DTD's have #define, #include, and #ifdef -- or, less C-oriented, the ability to define shorthand abbreviations, external content, and some conditional parsing. A DTD describes the entire XML document; a schema can define portions. XSD has a type system. XSD has a much richer language for describing what element or attribute content "looks like." This is related to the type system. You can put a DTD inline into an XML document, you cannot do this with XSD. This means DTD's are more secure (you only have to protect one bytestream -- the xml/dtd -- and not multiple). The official definition of "valid XML" requires a DTD. Since this may be impractical, if not impossible, you often have to settle for schema-valid, which is not quite the same. In terms of validation functionality, XSD can define all the constraints that a DTD can define, and many more. To take a simple example, XSD can say that a particular attribute must be a valid date, or a number, or a list of URIs, or a string that is exactly 8 characters long. To take another example, XSD can define much richer constraints on uniqueness of values within a document. -- Toly @ShyGuy78,

What do you mean by APT?

Here are some differences between XSD and DTD:

DTD’s are not namespace aware.

DTD’s have #define, #include, and #ifdef — or, less C-oriented, the ability to define shorthand abbreviations, external content, and some conditional parsing.

A DTD describes the entire XML document; a schema can define portions.

XSD has a type system.

XSD has a much richer language for describing what element or attribute content “looks like.” This is related to the type system.

You can put a DTD inline into an XML document, you cannot do this with XSD. This means DTD’s are more secure (you only have to protect one bytestream — the xml/dtd — and not multiple).

The official definition of “valid XML” requires a DTD. Since this may be impractical, if not impossible, you often have to settle for schema-valid, which is not quite the same.

In terms of validation functionality, XSD can define all the constraints that a DTD can define, and many more. To take a simple example, XSD can say that a particular attribute must be a valid date, or a number, or a list of URIs, or a string that is exactly 8 characters long. To take another example, XSD can define much richer constraints on uniqueness of values within a document.

– Toly

]]>
By: ShyGuy78 http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2968 ShyGuy78 Tue, 21 Jul 2009 14:24:44 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2968 Extremely helpful, thanks for sharing. One basic query- which is more apt, xsd or dtd? Extremely helpful, thanks for sharing.

One basic query- which is more apt, xsd or dtd?

]]>
By: esticeles http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2982 esticeles Tue, 09 Jun 2009 07:58:05 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2982 Thanks you, I need a tools like this!!! Thanks you, I need a tools like this!!!

]]>
By: Wasi26 http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/comment-page-1/#comment-2923 Wasi26 Sat, 02 May 2009 04:21:45 +0000 http://blog.dotkam.com/2008/05/28/generate-xsd-from-xml/#comment-2923 This message is for Suresh, although I know it's late. I've worked alot with LiveCycle, and if you're trying to get data into and out of a database, the best way we have found to do that is via web services. You can use any web services, .Net, Java, etc and link the parameters from the web service to your form. You can also create an ODBC connection directly to the database, although I recommend using web services. If you use ODBC you're going to have to somehow get the driver installed on client machines. Web services make sure that you don't have to touch the machine opening your form. Hope this wasn't too late for ya pal. BTW trang is very, very cool. I use it for most of my xml to xsd conversions now. Visual Studio also has a pretty good one, but sometimes adds stuff that LiveCycle doesn't like. Trang seems to get it right everytime... Thanks for the post!!! This message is for Suresh, although I know it’s late. I’ve worked alot with LiveCycle, and if you’re trying to get data into and out of a database, the best way we have found to do that is via web services. You can use any web services, .Net, Java, etc and link the parameters from the web service to your form. You can also create an ODBC connection directly to the database, although I recommend using web services. If you use ODBC you’re going to have to somehow get the driver installed on client machines. Web services make sure that you don’t have to touch the machine opening your form. Hope this wasn’t too late for ya pal. BTW trang is very, very cool. I use it for most of my xml to xsd conversions now. Visual Studio also has a pretty good one, but sometimes adds stuff that LiveCycle doesn’t like. Trang seems to get it right everytime…

Thanks for the post!!!

]]>