Hallo zusammen,
ich hab zum ersten mal mit dem XML Adapter auf der Write Seite zu tun, nach der Beispiel XML von google hab ich mal versucht die Struktur abzubilden.
Leider komm ich jetzt nicht weiter da die Werte unter dem "Item" Knoten nicht geschrieben werden und die übergeordneten je Datensatz erscheinen.
Lässt sich das denn überhaupt mit dem flowheater bewerkstelligen? Wenn ja wäre ich für einen Denkanstoß sehr Dankbar!
Hier einmal ein Auszug aus der Beispiel XML:
<?xml version="1.0"?>
<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
<channel>
<title>Example - Online Store</title>
<link>http://www.example.com</link>
<description>This is a sample feed containing the required and recommended attributes for a variety of different products</description>
<!-- First example shows what attributes are required and recommended for items that are not in the apparel category -->
<item>
<!-- The following attributes are always required -->
<g:id>TV_123456</g:id>
<g:title>LG 22LB4510 - 22" LED TV - 1080p (FullHD)</g:title>
<g:description>Attractively styled and boasting stunning picture quality, the LG 22LB4510 - 22" LED TV - 1080p (FullHD) is an excellent television/monitor. The LG 22LB4510 - 22" LED TV - 1080p (FullHD) sports a widescreen 1080p panel, perfect for watching movies in their original format, whilst also providing plenty of working space for your other applications.</g:description>
<g:link>http://www.example.com/electronics/tv/22LB4510.html</g:link>
<g:image_link>http://images.example.com/TV_123456.png</g:image_link>
<g:condition>used</g:condition>
<g:availability>in stock</g:availability>
<g:price>159.00 USD</g:price>
<g:shipping>
<g:country>US</g:country>
<g:service>Standard</g:service>
<g:price>14.95 USD</g:price>
</g:shipping>
<!-- 2 of the following 3 attributes are required fot this item according to the Unique Product Identifier Rules -->
<g:gtin>71919219405200</g:gtin>
<g:brand>LG</g:brand>
<g:mpn>22LB4510/US</g:mpn>
<!-- The following attributes are not required for this item, but supplying them is recommended -->
<g:google_product_category>Electronics > Video > Televisions > Flat Panel Televisions</g:google_product_category>
<g:product_type>Consumer Electronics > TVs > Flat Panel TVs</g:product_type>
</item>
</channel>
</rss>
Im Anhang die Beispiel XML und zwei Screenshots, vom den Feldern und einmal das Ergebnis was ich bekomme beim Testlauf, die Werte unter dem item Knoten werden hier leider nicht importiert.
Kann mir jemand dabei helfen?
oder ist das, dass Problem mit der nicht flachen XML?
Vielen Dank im voraus!