Trang is a neat little utility to generate a matching XML Schema from an existing XML Document.
Usage is straightforward:
java -jar trang.jar input.xml output.xsd
Tool page is here. Manual is here. Code is hosted on google code.
The tool can do much more. Especially conversion between different schema languages...
thanks a lot !!! just what i needed :-)
ReplyDelete