<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[da xml&#x2F;dtd a database]]></title><description><![CDATA[<p dir="auto">salve ho due file: .xml e .dtd!</p>
<p dir="auto">dovrei importare i dati in un database mysql!</p>
<p dir="auto">come posso fare?</p>
<p dir="auto">salve,</p>
<p dir="auto">ho il seguente xml:</p>
<p dir="auto">&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;<br />
&lt;metadata&gt;<br />
&lt;product&gt;<br />
&lt;label&gt;<br />
&lt;LabelName&gt;Kindisch&lt;/LabelName&gt;<br />
&lt;LabelURL&gt;&lt;/LabelURL&gt;<br />
&lt;LabelCode type="gvl"&gt;13285&lt;/LabelCode&gt;<br />
&lt;/label&gt;</p>
<pre><code>    &lt;album&gt;
        &lt;AlbumArtist&gt;Einzelkind&lt;/AlbumArtist&gt;
        &lt;AlbumTitle&gt;La Fiebre Del Loco&lt;/AlbumTitle&gt;
    &lt;/album&gt;
    &lt;tracks&gt;
        &lt;track&gt;
            &lt;ZebralutionNumber&gt;6021&lt;/ZebralutionNumber&gt;
            &lt;ISRC&gt;DEBE70700076&lt;/ISRC&gt;
            &lt;TrackProductGRID&gt;&lt;/TrackProductGRID&gt;
            &lt;TrackFile&gt;
                &lt;TrackFileType&gt;full&lt;/TrackFileType&gt;
                &lt;TrackFileFormat&gt;MP3&lt;/TrackFileFormat&gt;
                
            &lt;/TrackFile&gt;

            &lt;TrackFile&gt;
                &lt;TrackFileType&gt;pre&lt;/TrackFileType&gt;
                &lt;TrackFileFormat&gt;MP3&lt;/TrackFileFormat&gt;
                
            &lt;/TrackFile&gt;


        &lt;/track&gt;
        &lt;track&gt;
            &lt;ZebralutionNumber&gt;6021&lt;/ZebralutionNumber&gt;
            &lt;ISRC&gt;DEBE70700077&lt;/ISRC&gt;
            &lt;TrackFile&gt;
                &lt;TrackFileType&gt;full&lt;/TrackFileType&gt;
                &lt;TrackFileFormat&gt;MP3&lt;/TrackFileFormat&gt;
                
            &lt;/TrackFile&gt;

            &lt;TrackFile&gt;
                &lt;TrackFileType&gt;pre&lt;/TrackFileType&gt;
                &lt;TrackFileFormat&gt;MP3&lt;/TrackFileFormat&gt;
            &lt;/TrackFile&gt;


        &lt;/track&gt;
        
    &lt;/tracks&gt;
    
&lt;/product&gt;
</code></pre>
<p dir="auto">&lt;/metadata&gt;</p>
<p dir="auto">dovrei fare parsing per inserire i dati nel db!</p>
<p dir="auto">da dove parto?</p>
]]></description><link>https://connect.gt/topic/40409/da-xml-dtd-a-database</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 16:32:06 GMT</lastBuildDate><atom:link href="https://connect.gt/topic/40409.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 09 Aug 2007 10:31:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to da xml&#x2F;dtd a database on Fri, 10 Aug 2007 15:07:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://connect.gt/uid/2273">@10anniavanti</a> said:</p>
<blockquote>
<p dir="auto">salve,</p>
</blockquote>
<p dir="auto">ho il seguente xml:</p>
<p dir="auto">&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;<br />
&lt;metadata&gt;<br />
&lt;product&gt;<br />
..............<br />
&lt;/product&gt;<br />
&lt;/metadata&gt;</p>
<p dir="auto">dovrei fare parsing per inserire i dati nel db!</p>
<p dir="auto">da dove parto?</p>
<p dir="auto">Se utilizzi php 5 guarda qui: <a href="http://www.developertutorials.com/tutorials/php/parsing-xml-using-php5-050816/page1.html" rel="nofollow ugc">parsing xml con php5</a><br />
Se utilizzi php4 guarda qui: <a href="http://www.developertutorials.com/tutorials/php/parsing-xml-using-php4-050816/page1.html" rel="nofollow ugc">parsing xml con php4</a></p>
]]></description><link>https://connect.gt/post/565557</link><guid isPermaLink="true">https://connect.gt/post/565557</guid><dc:creator><![CDATA[ayrton2001]]></dc:creator><pubDate>Fri, 10 Aug 2007 15:07:07 GMT</pubDate></item><item><title><![CDATA[Reply to da xml&#x2F;dtd a database on Thu, 09 Aug 2007 14:05:34 GMT]]></title><description><![CDATA[<p dir="auto">Se hai a disposizione PHP5 ti consiglio di utilizzare la libreria <a href="http://it2.php.net/manual/it/ref.simplexml.php" rel="nofollow ugc">SimpleXML</a> con la quale puoi leggere l'albero XML e trattarlo come meglio credi</p>
]]></description><link>https://connect.gt/post/565540</link><guid isPermaLink="true">https://connect.gt/post/565540</guid><dc:creator><![CDATA[gorka]]></dc:creator><pubDate>Thu, 09 Aug 2007 14:05:34 GMT</pubDate></item></channel></rss>