<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=652&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / *Gelöst* CMSms - XML MS]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=652</link>
		<description><![CDATA[Die aktuellsten Beiträge in *Gelöst* CMSms - XML MS.]]></description>
		<lastBuildDate>Mon, 04 Apr 2011 04:55:28 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: *Gelöst* CMSms - XML MS]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5812#p5812</link>
			<description><![CDATA[<p>Hey hey,</p><p>hat geklappt ^^.</p><p>Vielen Dank</p>]]></description>
			<author><![CDATA[dummy@example.com (richter)]]></author>
			<pubDate>Mon, 04 Apr 2011 04:55:28 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5812#p5812</guid>
		</item>
		<item>
			<title><![CDATA[Re: *Gelöst* CMSms - XML MS]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5794#p5794</link>
			<description><![CDATA[<p>In Smarty müsstest du an die einzelne Zeile wie folgt ran kommen (kenne das XML Modul nicht)</p><p>&lt;pre&gt;{$xml-&gt;row[10]|print_r}&lt;/pre&gt;</p><p>Der Tricky-Part an deinem Beispiel ist, dass du nicht einfach nur einen Knoten möchtest, sondern an ein Attribut ran möchtest.</p><p>Ich weißt nicht, ob sowas geht:<br />{$xml-&gt;row[10]-&gt;@attributes.wb_id}</p><p>Ansonsten könntest du das einzelne XML &quot;row&quot; Element aber auch an ein kompaktes Plugin/UDT übergeben.</p><div class="codebox"><pre><code>[== php ==]

$xml = $params[&#039;xml_array_element&#039;];
$attribute = $xml-&gt;attributes();
echo $attribute[&#039;wb_id&#039;];</code></pre></div><p>Der gesamte Aufruf sieht dann in etwa so aus:</p><p>{cms_module module=&quot;XMLMadeSimple&quot; feed_id=&quot;1&quot;}<br />{mein_udt xml_array_element=$xml-&gt;row[10]}</p><p>Obige Code-Beispiele alle nicht verifiziert, aber mal als Ideenanstoß.<br />Hoffe es hilft weiter.</p><p>Grüße<br />Nils</p>]]></description>
			<author><![CDATA[dummy@example.com (nhaack)]]></author>
			<pubDate>Sun, 03 Apr 2011 14:30:50 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5794#p5794</guid>
		</item>
		<item>
			<title><![CDATA[Re: *Gelöst* CMSms - XML MS]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5787#p5787</link>
			<description><![CDATA[<p>Hey,</p><p>erstmal vielen Dank für deine Antwort.</p><p>Möchte nur an das Attribute &quot;wb_id&quot; des row 10, mir wäre es lieber mit Modul = XML Made Simple &amp; Smarty.</p><br /><p>Ein UDT kann ich mir aber auch vorstellen, ist ja gehupft wie gesprungen, meiner Meinung nach.<br />Per UDT müsste ich aber die externe XML erst laden (holen) oder?</p><p>Smarty-Call mit XML MS:</p><p>{cms_module module=&quot;XMLMadeSimple&quot; feed_id=&quot;1&quot;} -&gt; url &quot;<a href="http://www.luis-bb.de/f/wb_warn/daten.aspx" rel="nofollow">http://www.luis-bb.de/f/wb_warn/daten.aspx</a>&quot;</p><p>Template:</p><p>?? &gt; muss ich erst basteln -&gt; foreach-Schleife (Mittel aus Forum) &gt; denke ich.</p><p>Bin weiterhin für Tipps und Denkanstöße dankbar.</p><p>Ansonsten noch einen schönen Sonntag</p>]]></description>
			<author><![CDATA[dummy@example.com (richter)]]></author>
			<pubDate>Sun, 03 Apr 2011 13:22:08 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5787#p5787</guid>
		</item>
		<item>
			<title><![CDATA[Re: *Gelöst* CMSms - XML MS]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5761#p5761</link>
			<description><![CDATA[<p>Willst du mit Smarty oder PHP da ran?</p><p>Per PHP geht das in etwa so:</p><div class="codebox"><pre><code>[== php ==]

$attribute = $xml-&gt;row[10]-&gt;attributes();
echo $attribute[&#039;wb_id&#039;];</code></pre></div><p>Hoffe das hilft dir weiter.</p><p>Grüße<br />Nils</p><p>P.s.: willst du an die einzelnen Attribute der Einträge ran oder nur an einen einzelnen Eintrag aus der Datei?</p>]]></description>
			<author><![CDATA[dummy@example.com (nhaack)]]></author>
			<pubDate>Sat, 02 Apr 2011 10:58:56 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5761#p5761</guid>
		</item>
		<item>
			<title><![CDATA[*Gelöst* CMSms - XML MS]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5755#p5755</link>
			<description><![CDATA[<p>Hallo CMSms-Gemeinde,</p><p>ich bin Webmaster einer Verwaltungsseite und möchte da XML MS anwenden um einen Teil aus einer XML-Datei herauslesen.</p><p>&lt;pre&gt;{$xml|print_r}&lt;/pre&gt; ergab:</p><div class="codebox"><pre class="vscroll"><code>SimpleXMLElement Object
(
    [row] =&gt; Array
        (
            [0] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 1
                            [Kreisname] =&gt; Prignitz
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [1] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 2
                            [Kreisname] =&gt; Ostprignitz-Ruppin
                            [wb_id] =&gt; 1
                            [nextwb_id] =&gt; 1
                        )

                )

            [2] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 3
                            [Kreisname] =&gt; Oberhavel
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [3] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 4
                            [Kreisname] =&gt; Uckermark
                            [wb_id] =&gt; 3
                            [nextwb_id] =&gt; 3
                        )

                )

            [4] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 5
                            [Kreisname] =&gt; Havelland
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [5] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 6
                            [Kreisname] =&gt; Barnim
                            [wb_id] =&gt; 3
                            [nextwb_id] =&gt; 3
                        )

                )

            [6] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 7
                            [Kreisname] =&gt; Potsdam-Mittelmark u.
Städte
Potsdam/Brandenburg
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [7] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 8
                            [Kreisname] =&gt; Märkisch-Oderland
                            [wb_id] =&gt; 3
                            [nextwb_id] =&gt; 3
                        )

                )

            [8] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 9
                            [Kreisname] =&gt; Teltow-Fläming
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [9] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 10
                            [Kreisname] =&gt; Dahme-Spreewald
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [10] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 11
                            [Kreisname] =&gt; Oder-Spree und 
Stadt Frankfurt/Oder
                            [wb_id] =&gt; 3
                            [nextwb_id] =&gt; 3
                        )

                )

            [11] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 12
                            [Kreisname] =&gt; Elbe-Elster
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [12] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 13
                            [Kreisname] =&gt; Oberspreewald-Lausitz
                            [wb_id] =&gt; 2
                            [nextwb_id] =&gt; 2
                        )

                )

            [13] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 14
                            [Kreisname] =&gt; Spree-Neiße und
Stadt Cottbus
                            [wb_id] =&gt; 3
                            [nextwb_id] =&gt; 3
                        )

                )

        )

)</code></pre></div><p>Ich möchte jedoch nur</p><div class="codebox"><pre><code>[10] =&gt; SimpleXMLElement Object
                (
                    [@attributes] =&gt; Array
                        (
                            [id] =&gt; 11
                            [Kreisname] =&gt; Oder-Spree und 
Stadt Frankfurt/Oder
                            [wb_id] =&gt; 3
                            [nextwb_id] =&gt; 3
                        )

                )</code></pre></div><p>abfragen.</p><p>Hat vielleicht jemand einen Tipp, wie das gehen soll, es handelt sich hier offenbar nicht um eine &quot;normal&quot; strukturierte XML-Datei.</p><br /><p>Hier der Link zur Datei:</p><p><a href="http://www.luis-bb.de/f/wb_warn/daten.aspx" rel="nofollow">Link</a></p><p>Würde mich über Vorschläge freuen.</p><p>MfG</p><p>richter</p>]]></description>
			<author><![CDATA[dummy@example.com (richter)]]></author>
			<pubDate>Sat, 02 Apr 2011 06:42:10 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5755#p5755</guid>
		</item>
	</channel>
</rss>
