Hallo,
ich brauche die Keys aus folgendem XML in Variablen, wie würdet Ihr dieses XML verarbeiten, bzw was ist die zeitlich schnellste Methode?
Display All
ich brauche die Keys aus folgendem XML in Variablen, wie würdet Ihr dieses XML verarbeiten, bzw was ist die zeitlich schnellste Methode?
Source Code
- <search:event xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:error="http://services.mobile.de/schema/common/error-1.0"
- xmlns:financing="http://services.mobile.de/schema/common/financing-1.0"
- xmlns:search="http://services.mobile.de/schema/search"
- xmlns:ad="http://services.mobile.de/schema/ad-1.0.xsd"
- xmlns:seller="http://services.mobile.de/schema/seller"
- xmlns:resource="http://services.mobile.de/schema/resource"
- xsi:schemaLocation="http://services.mobile.de/schema/search
- http://services.mobile.de/schema/search-1.0.xsd">
- <ad:ad key="190312083" url="http://mesa.mobile.de/1.0.0/ad/190312083">
- <ad:creation-date value="2014-02-14T16:34:10+01:00"></ad:creation-date>
- <ad:modification-date value="2014-02-14T16:35:26+01:00"></ad:modification-date>
- <ad:detail-page url="http://suchen.mobile.de/motorrad-inserat/yamaha-rd-250-deggendorf/190312083.html"></ad:detail-page>
- <ad:seller-inventory-key value="123"></ad:seller-inventory-key>
- <ad:vehicle>
- <ad:class key="Motorbike" url="http://services.mobile.de/1.0.0/refdata/classes/Motorbike"></ad:class>
- <ad:category key="Motorcycle" url="http://services.mobile.de/1.0.0/refdata/categories/Motorcycle"></ad:category>
- <ad:make key="YAMAHA" url="http://services.mobile.de/1.0.0/refdata/classes/Motorbike/makes/YAMAHA"></ad:make>
- <ad:model-description value="RD 250"></ad:model-description>
- <ad:damage-and-unrepaired value="false"></ad:damage-and-unrepaired>
- <ad:features url="http://services.mobile.de/1.0.0/refdata/features">
- <ad:feature key="METALLIC" url="http://services.mobile.de/1.0.0/refdata/features/METALLIC"></ad:feature>
- <ad:feature key="KICKSTARTER" url="http://services.mobile.de/1.0.0/refdata/features/KICKSTARTER"></ad:feature>
- </ad:features>
- <ad:specifics>
- <ad:exterior-color key="BROWN" url="http://services.mobile.de/1.0.0/refdata/colors/BROWN">
- <ad:metalic value="true"></ad:metalic>
- </ad:exterior-color>
- <ad:mileage value="44000"></ad:mileage>
- <ad:first-registration value="1976-04">
- </ad:first-registration>
- <ad:fuel key="PETROL" url="http://services.mobile.de/1.0.0/refdata/fuels/PETROL"></ad:fuel>
- <ad:power value="20"></ad:power>
- <ad:gearbox key="MANUAL_GEAR" url="http://services.mobile.de/1.0.0/refdata/gearboxes/MANUAL_GEAR"></ad:gearbox>
- <ad:cubic-capacity value="250"></ad:cubic-capacity>
- <ad:driving-mode key="CHAIN_DRIVE" url="http://services.mobile.de/1.0.0/refdata/drivingmodes/CHAIN_DRIVE"></ad:driving-mode>
- <ad:condition key="USED" url="http://services.mobile.de/1.0.0/refdata/conditions/USED"></ad:condition>
- <ad:usage-type key="CLASSIC" url="http://services.mobile.de/1.0.0/refdata/usagetypes/CLASSIC"></ad:usage-type>
- </ad:specifics>
- </ad:vehicle>
- <ad:description>Yamaha RD 250 - original Zustand, - technisch optisch gut - luftgekÌhlt - IrrtÌmer und Zwischenverkauf vorbehalten - - Fahrzeugnummer fÌr Anfragen: 123</ad:description>
- <ad:enrichedDescription>**Yamaha RD 250**\\**original Zustand, **\\**technisch optisch gut**\\**luftgekÌhlt**\\IrrtÌmer und Zwischenv
- erkauf vorbehalten\\\\**Fahrzeugnummer fÃŒr Anfragen: 123**</ad:enrichedDescription>
- <ad:images gallery-url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/DdgAAOxy69JS~je2/$_23.JPG" url="http://mesa.mobile.de/1.0.0/ad/190312083/images">
- <ad:image>
- <ad:representation size="ICON" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/DdgAAOxy69JS~je2/$_23.JPG"></ad:representation>
- <ad:representation size="S" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/DdgAAOxy69JS~je2/$_18.JPG"></ad:representation>
- <ad:representation size="L" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/DdgAAOxy69JS~je2/$_1.JPG"></ad:representation>
- <ad:representation size="M" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/DdgAAOxy69JS~je2/$_24.JPG"></ad:representation>
- <ad:representation size="XL" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/DdgAAOxy69JS~je2/$_27.JPG"></ad:representation>
- </ad:image>
- <ad:image>
- <ad:representation size="ICON" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/kPEAAOxyVLNS~je9/$_23.JPG"></ad:representation>
- <ad:representation size="S" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/kPEAAOxyVLNS~je9/$_18.JPG"></ad:representation>
- <ad:representation size="L" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/kPEAAOxyVLNS~je9/$_1.JPG"></ad:representation>
- <ad:representation size="M" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/kPEAAOxyVLNS~je9/$_24.JPG"></ad:representation>
- <ad:representation size="XL" url="http://i.ebayimg.com/00/s/NDgwWDY0MA==/z/kPEAAOxyVLNS~je9/$_27.JPG"></ad:representation>
- </ad:image>
- </ad:images>
- <ad:price currency="EUR" type="FIXED">
- <ad:consumer-price-amount value="1750.00"></ad:consumer-price-amount>
- <ad:vatable value="false"></ad:vatable>
- </ad:price>
- <seller:seller key="455449" url="http://mesa.mobile.de/1.0.0/seller/455449">
- <seller:type value="DEALER" commercial="true"></seller:type>
- <seller:company-name value="Lipp Fahrzeughandel"></seller:company-name>
- <seller:address>
- <seller:street value="Schedlhofstr. 1"></seller:street>
- <seller:zipcode value="94469">
- </seller:zipcode>
- <seller:city value="Deggendorf"></seller:city>
- <seller:country-code value="DE"></seller:country-code>
- </seller:address>
- <seller:phone type="FIXED" country-calling-code="49" area-code="0991" number="34478888"></seller:phone>
- <seller:phone type="FIXED" country-calling-code="49" area-code="0170" number="4107065"></seller:phone>
- <seller:phone type="FAX" country-calling-code="49" area-code="0991" number="34478890"></seller:phone>
- <seller:phone type="CELL" country-calling-code="49" area-code="0170" number="4107065"></seller:phone>
- <seller:homepage value="http://home.mobile.de/LIPP-DEGGENDORF"></seller:homepage>
- <seller:mobile-seller-since value="2002-07-11+02:00"></seller:mobile-seller-since>
- <seller:coordinates>
- <seller:latitude>48.851773</seller:latitude>
- <seller:longitude>12.988066</seller:longitude>
- </seller:coordinates>
- <seller:contact-languages>
- <seller:language>de</seller:language>
- </seller:contact-languages>
- </seller:seller>
- </ad:ad>
- </search:event>