<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 18 Jun 2013 00:48:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kore Nordmann's Blog: Generating XML schemas from XML data]]></title>
      <guid>http://www.phpdeveloper.org/news/16117</guid>
      <link>http://www.phpdeveloper.org/news/16117</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Kore Nordmann</i> <a href="http://kore-nordmann.de/blog/0104_generating_xml_schemas_from_xml.html">talks about a tool he's developed</a> that will "learn" XML schemas based on a document it's given. The tool, the <a href="https://github.com/kore/XML-Schema-learner">XML-schema-learner</a>, makes it as simple as a one-line command to generate the DTD file and transform it into a schema.
</p>
<blockquote>
You can get the "<a href="https://github.com/kore/XML-Schema-learner">XML schema learner</a>" from my Github account: <a href="https://github.com/kore/XML-Schema-learner">https://github.com/kore/XML-Schema-learner</a>. Just clone it, and you can run the tests, or use the learn command to infer XML schemas from XML data.
</blockquote>
<p>
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.
</p>]]></description>
      <pubDate>Tue, 29 Mar 2011 12:16:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Validating XML files within PHP 4 applications]]></title>
      <guid>http://www.phpdeveloper.org/news/7696</guid>
      <link>http://www.phpdeveloper.org/news/7696</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2007/04/validating-xml-files-within-php-4.html">posted a new tutorial</a> today talking about how to validate the content of XML files within a PHP 4 application.
</p>
<blockquote>
Today I ran into a small problem, validating import XML data against a DTD(Document Type Definition), and discovered a neat way to solve this without PHP4's own means, as the PHP 4 version on the running system wasn't supporting the DOM XML Functions. <a href="http://xmlsoft.org/xmllint.html">Xmllint</a>, a command line XML tool, parses provided XML files and can be used to verify that these files are well formed and are satisfying an associated DTD/XML Schema.
</blockquote>
<p>
In his <A href="http://raphaelstolt.blogspot.com/2007/04/validating-xml-files-within-php-4.html">example</a> he shows a simple implementation of the tool, grabbing the file's information and pushing it through a command line request to check the file.
</p>]]></description>
      <pubDate>Tue, 24 Apr 2007 14:49:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Using XML - Part 6: Validation]]></title>
      <guid>http://www.phpdeveloper.org/news/5837</guid>
      <link>http://www.phpdeveloper.org/news/5837</link>
      <description><![CDATA[<p>
PHPBuilder.com has posted <a href="http://www.phpbuilder.com/columns/adam_delves20060719.php3">part six</a> of their "Using XML" series today with a focus on validation techniques using both normal PHP abilities and the XSL functionality in PHP5 with the Schematron language.
</p>
<blockquote>
This series has so far focused on XML technologies and how they can be utilised using PHP 5. A subject we have not touched upon yet, is XML validation. This article will explore the application independent XML validation standards of DTD's, the XML Schema Language and the XSLT-based Schematron language.
</blockquote>
<p>
They point back to <a href="http://www.phpbuilder.com/columns/adam_delves20060206.php3?aid=1084">part one</a> of the series for the XML library they'll use and waste no time getting right into the code. <a href="http://www.phpbuilder.com/columns/adam_delves20060719.php3">They demonstrate</a> a simple validation first before moving on to the use of DTDs to ensure the correct content. Next up is more work with the XML schemas continuing on to the Schematron functionality (their use and validation).
</p>]]></description>
      <pubDate>Thu, 20 Jul 2006 09:46:37 -0500</pubDate>
    </item>
  </channel>
</rss>
