Skip to content

Instantly share code, notes, and snippets.

@saroar
Created April 11, 2016 18:33
Show Gist options
  • Save saroar/0851b55e3c7add4c3deff0b7e306d004 to your computer and use it in GitHub Desktop.
Save saroar/0851b55e3c7add4c3deff0b7e306d004 to your computer and use it in GitHub Desktop.
small xml file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE yml_catalog SYSTEM "shops.dtd">
<yml_catalog date="01/04/2016 13:46">
<shop>
<url>http://localhost:3000/</url>
<currencies>
<currency id="RUB" rate="1.00000"/>
</currencies>
<categories>
<category id="15">Kids</category>
<category id="21">Shoe</category>
<category id="22">Accessories</category>
<category id="25">Women Subcategory 1</category>
<category id="26">Women Subcategory 2</category>
<category id="24">Men Subcategory 1</category>
<category id="27">Men Subcategory 2</category>
<category id="28">Categories industry</category>
<category id="500">Men</category>
<category id="24" parentId="500">Men Subcategory 1</category>
<category id="27" parentId="500">Men Subcategory 2</category>
<category id="13">Women</category>
<category id="25" parentId="13">Women Subcategory 1</category>
<category id="26" parentId="13">Women Subcategory 2</category>
</categories>
<offers>
<offer id="301" available="true">
<url>http://localhost:3000/products/300</url>
<price>3500.0</price>
<currencyId>RUB</currencyId>
<categoryId>500</categoryId>
<picture>http://www.wallpaperjosh.xyz/wp-content/uploads/2016/02/Cute-Wallpaper-HD-Cqw004.jpg</picture>
<vendor>Nike</vendor>
<name>Test for XML 1</name>
<description>
Find your elegant winter style with the Barricade boot from A2 by Aerosoles. The water-resistant fabric and faux leather upper provides functional cold-weather fashion, while the faux fur lining and memory foam-cushioned footbed keep your foot snug.Item # 494645Aerosoles Core ComfortsApprox. 1" heel heightApprox. 12½" boot shaft circumferenceApprox. 7½" boot shaft heightDiamond Flex outsoleDiamond Flex SoleFaux fur liningLace entryLateral pull-on loopMedial zipper entryMemory foam-cushioned footbedWater-resistant fabric and faux leather upper
</description>
<fashion>
<gender>m</gender>
<type>tshirt</type>
<sizes>
<size>e36</size>
<size>e37</size>
<size>e38</size>
<size>e39</size>
<size>e40</size>
<size>e41</size>
<size>e42</size>
<size>e43</size>
<size>e44</size>
<size>e46</size>
<size>e48</size>
</sizes>
</fashion>
</offer>
<offer id="301" available="true">
<url>http://localhost:3000/products/300</url>
<price>3500.0</price>
<currencyId>RUB</currencyId>
<categoryId>500</categoryId>
<picture>http://www.wallpaperjosh.xyz/wp-content/uploads/2016/02/Cute-Wallpaper-HD-Cqw004.jpg</picture>
<vendor>Nike</vendor>
<name>Test for XML 2</name>
<description>
Find your elegant winter style with the Barricade boot from A2 by Aerosoles. The water-resistant fabric and faux leather upper provides functional cold-weather fashion, while the faux fur lining and memory foam-cushioned footbed keep your foot snug.Item # 494645Aerosoles Core ComfortsApprox. 1" heel heightApprox. 12½" boot shaft circumferenceApprox. 7½" boot shaft heightDiamond Flex outsoleDiamond Flex SoleFaux fur liningLace entryLateral pull-on loopMedial zipper entryMemory foam-cushioned footbedWater-resistant fabric and faux leather upper
</description>
<fashion>
<gender>m</gender>
<type>tshirt</type>
<sizes>
<size>e36</size>
<size>e37</size>
<size>e38</size>
<size>e39</size>
<size>e40</size>
<size>e41</size>
<size>e42</size>
<size>e43</size>
<size>e44</size>
<size>e46</size>
<size>e48</size>
</sizes>
</fashion>
</offer>
<offer id="301" available="true">
<url>http://localhost:3000/products/300</url>
<price>3500.0</price>
<currencyId>RUB</currencyId>
<categoryId>500</categoryId>
<picture>http://www.wallpaperjosh.xyz/wp-content/uploads/2016/02/Cute-Wallpaper-HD-Cqw004.jpg</picture>
<vendor>Nike</vendor>
<name>Test for XML 3</name>
<description>
Find your elegant winter style with the Barricade boot from A2 by Aerosoles. The water-resistant fabric and faux leather upper provides functional cold-weather fashion, while the faux fur lining and memory foam-cushioned footbed keep your foot snug.Item # 494645Aerosoles Core ComfortsApprox. 1" heel heightApprox. 12½" boot shaft circumferenceApprox. 7½" boot shaft heightDiamond Flex outsoleDiamond Flex SoleFaux fur liningLace entryLateral pull-on loopMedial zipper entryMemory foam-cushioned footbedWater-resistant fabric and faux leather upper
</description>
<fashion>
<gender>m</gender>
<type>tshirt</type>
<sizes>
<size>e36</size>
<size>e37</size>
<size>e38</size>
<size>e39</size>
<size>e40</size>
<size>e41</size>
<size>e42</size>
<size>e43</size>
<size>e44</size>
<size>e46</size>
<size>e48</size>
</sizes>
</fashion>
</offer>
<offer id="302" available="true">
<url>http://localhost:3000/products/131</url>
<price>9000.0</price>
<currencyId>RUB</currencyId>
<categoryId>13</categoryId>
<picture>
http://www.wallpaperjosh.xyz/wp-content/uploads/2016/02/Cute-Wallpaper-HD-Cqw004.jpg
</picture>
<vendor>Medved Lyubimiy</vendor>
<name>XML TEST 3 cosmetic</name>
<description>For Dry Hair</description>
<cosmetic>
<gender>f</gender>
<hypoallergenic>0</hypoallergenic>
<part_types>
<part_type>hair</part_type>
<part_type>face</part_type>
<part_type>body</part_type>
</part_types>
<skin_types>
<skin_type>dry</skin_type>
<skin_type>normal</skin_type>
</skin_types>
<conditions>
<condition>Colored</condition>
<condition>Damaged</condition>
<condition>Waved</condition>
</conditions>
<volumes>
<volume>
<value>500</value>
<price>900</price>
</volume>
<volume>
<value>1000</value>
<price>1700</price>
</volume>
</volumes>
<periodic>0</periodic>
</cosmetic>
</offer>
<offer id="300" available="false">
<url>http://localhost:3000/products/5003</url>
<price>1000.0</price>
<currencyId>RUB</currencyId>
<categoryId>22</categoryId>
<picture>http://www.wallpaperjosh.xyz/wp-content/uploads/2016/02/Cute-Wallpaper-HD-Cqw004.jpg
</picture>
<vendor>Zara</vendor>
<name>XML TEST 2</name>
<description>
A high-polish body chain with lobster clasps and dimpled bar pendants in a caged design.
</description>
<fashion>
<gender>f</gender>
<type>tshirt</type>
<sizes>
<size>e36</size>
<size>e37</size>
<size>e38</size>
<size>e39</size>
<size>e40</size>
<size>e41</size>
<size>e42</size>
<size>e43</size>
<size>e44</size>
<size>e46</size>
<size>e48</size>
</sizes>
</fashion>
</offer>
</offers>
</shop>
</yml_catalog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment