Advertisement
dkob

test_xml_active_to_archive_or_remove

Jan 29th, 2024 (edited)
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.33 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- 2ая загрузка: 1 - status active -> archive ; 2 - status active -> remove -->
  3. <root>
  4.     <list-item>
  5.         <external_id>123321771</external_id>
  6.         <images/>
  7.         <status>archive</status>
  8.         <rubric>3290</rubric>
  9.         <city>8</city>
  10.         <description>advert1</description>
  11.         <price>100</price>
  12.         <phone_hide>0</phone_hide>
  13.         <negotiable_price>0</negotiable_price>
  14.         <exchange>0</exchange>
  15.         <attrs>
  16.             <condition>1</condition>
  17.         </attrs>
  18.         <geometry/>
  19.         <title>1 _test</title>
  20.         <district>5756</district>
  21.     </list-item>
  22.  
  23.     <list-item>
  24.         <external_id>123321772</external_id>
  25.         <images/>
  26.         <status>remove</status>
  27.         <rubric>3290</rubric>
  28.         <city>8</city>
  29.         <description>advert2</description>
  30.         <price>100</price>
  31.         <phone_hide>0</phone_hide>
  32.         <negotiable_price>0</negotiable_price>
  33.         <exchange>0</exchange>
  34.         <attrs>
  35.             <condition>1</condition>
  36.         </attrs>
  37.         <geometry/>
  38.         <title>2 _test</title>
  39.         <district>5756</district>
  40.     </list-item>
  41. </root>
  42.  
  43. <!-- 1ая загрузка: обе объявы status active>
  44. <root>
  45.    <list-item>
  46.        <external_id>123321771</external_id>
  47.        <images/>
  48.        <status>sactive</status>
  49.        <rubric>3290</rubric>
  50.        <city>8</city>
  51.        <description>advert1</description>
  52.        <price>100</price>
  53.        <phone_hide>0</phone_hide>
  54.        <negotiable_price>0</negotiable_price>
  55.        <exchange>0</exchange>
  56.        <attrs>
  57.            <condition>1</condition>
  58.        </attrs>
  59.        <geometry/>
  60.        <title>1 _test</title>
  61.        <district>5756</district>
  62.    </list-item>
  63.  
  64.    <list-item>
  65.        <external_id>123321772</external_id>
  66.        <images/>
  67.        <status>active</status>
  68.        <rubric>3290</rubric>
  69.        <city>8</city>
  70.        <description>advert2</description>
  71.        <price>100</price>
  72.        <phone_hide>0</phone_hide>
  73.        <negotiable_price>0</negotiable_price>
  74.        <exchange>0</exchange>
  75.        <attrs>
  76.            <condition>1</condition>
  77.        </attrs>
  78.        <geometry/>
  79.        <title>2 _test</title>
  80.        <district>5756</district>
  81.    </list-item>
  82. </root>
  83. -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement