Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The biggest problem I see with this is that nither <code>product_id</code>, <code>menu_rank</code>, nor <code>menu_country</code> are elements of <code>items</code></p> <p>What is probably the best way to fix this is actually to change the XML schema if you can so that it actually represents a list of <code>items</code> elements.</p> <pre><code>&lt;root&gt; &lt;items&gt; &lt;product_id&gt;19&lt;/product_id&gt; &lt;menu_rank&gt;2&lt;/menu_rank&gt; &lt;menu_country&gt;Guatemala&lt;/menu_country&gt; &lt;menu_country_code&gt;502&lt;/menu_country_code&gt; &lt;menu_country_abrv&gt;GT&lt;/menu_country_abrv&gt; &lt;menu_carrier&gt;TIGO&lt;/menu_carrier&gt; &lt;menu_value&gt;7.0&lt;/menu_value&gt; &lt;/items&gt; &lt;items&gt; &lt;product_id&gt;20&lt;/product_id&gt; &lt;menu_rank&gt;2&lt;/menu_rank&gt; &lt;menu_country&gt;Guatemala&lt;/menu_country&gt; &lt;menu_country_code&gt;502&lt;/menu_country_code&gt; &lt;menu_country_abrv&gt;GT&lt;/menu_country_abrv&gt; &lt;menu_carrier&gt;TIGO&lt;/menu_carrier&gt; &lt;menu_value&gt;10.0&lt;/menu_value&gt; &lt;/items&gt; &lt;items&gt; &lt;product_id&gt;21&lt;/product_id&gt; &lt;menu_rank&gt;2&lt;/menu_rank&gt; &lt;menu_country&gt;Guatemala&lt;/menu_country&gt; &lt;menu_country_code&gt;502&lt;/menu_country_code&gt; &lt;menu_country_abrv&gt;GT&lt;/menu_country_abrv&gt; &lt;menu_carrier&gt;TIGO&lt;/menu_carrier&gt; &lt;menu_value&gt;14.0&lt;/menu_value&gt; &lt;/items&gt; &lt;/root&gt; </code></pre> <p>after you do that, you can probably rename <code>items</code> to <code>item</code> in both your xml and your c#</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload