Note that there are some explanatory texts on larger screens.

plurals
  1. POdelete same tag node in an xml object
    primarykey
    data
    text
    <p>for example i want to delete all price tag and their contents.</p> <pre><code>var xml:XML = &lt;breakfast_menu&gt; &lt;food&gt; &lt;name&gt;Belgian Waffles&lt;/name&gt; &lt;price&gt;$5.95&lt;/price&gt; &lt;description&gt; two of our famous Belgian Waffles with plenty of real maple syrup &lt;/description&gt; &lt;calories&gt;650&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;Strawberry Belgian Waffles&lt;/name&gt; &lt;price&gt;$7.95&lt;/price&gt; &lt;description&gt; light Belgian waffles covered with strawberries and whipped cream &lt;/description&gt; &lt;calories&gt;900&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;Berry-Berry Belgian Waffles&lt;/name&gt; &lt;price&gt;$8.95&lt;/price&gt; &lt;description&gt; light Belgian waffles covered with an assortment of fresh berries and whipped cream &lt;/description&gt; &lt;calories&gt;900&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;French Toast&lt;/name&gt; &lt;price&gt;$4.50&lt;/price&gt; &lt;description&gt; thick slices made from our homemade sourdough bread &lt;/description&gt; &lt;calories&gt;600&lt;/calories&gt; &lt;/food&gt; &lt;food&gt; &lt;name&gt;Homestyle Breakfast&lt;/name&gt; &lt;price&gt;$6.95&lt;/price&gt; &lt;description&gt; two eggs, bacon or sausage, toast, and our ever-popular hash browns &lt;/description&gt; &lt;calories&gt;950&lt;/calories&gt; &lt;/food&gt; &lt;/breakfast_menu&gt; </code></pre> <p>i use delete xml..price ,didn't work, the delete operation only works on the first level, i want to delete the tags from the whole tree, is there some easy way to do it?</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.
 

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