Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Kore Nordmann’s Blog: Generating XML schemas from XML data

Kore Nordmann’s Blog: Generating XML schemas from XML data

In a new post to his blog Kore Nordmann talks about a tool he’s developed that will “learn” XML schemas based on a document it’s given. The tool, the XML-schema-learner, makes it as simple as a one-line command to generate the DTD file and transform it into a schema.

You can get the “XML schema learner” from my Github account: https://github.com/kore/XML-Schema-learner. Just clone it, and you can run the tests, or use the learn command to infer XML schemas from XML data.

He includes an example XML definition and the resulting DTD that the tool generates from it, defining each of the elements and attributes each can have. The tool can then take this DTD file and generate an XSD file, creating complex and simple types that match the original data.

Source: http://www.phpdeveloper.org/news/16117

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Posted Marzec 29th, 2011 in WEB and PHP Development.

Leave a response: