Note that there are some explanatory texts on larger screens.

plurals
  1. POtransform xml to another xml with xslt
    primarykey
    data
    text
    <p>I need to group the value based on some attribute and populate it. </p> <p>below the xml and I want to group-by UITVOERINGSNIVEAU</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8" ?&gt; &lt;dbqueries&gt; &lt;environment&gt;LOCAL&lt;/environment&gt; &lt;label /&gt; &lt;description /&gt; &lt;dbquery id="lijst"&gt; &lt;descriptor&gt; &lt;database /&gt; &lt;originalquery&gt;select * from T_L5_HRB_Lijst_Comd&lt;/originalquery&gt; &lt;querystring&gt;select * from T_L5_HRB_Lijst_Comd&lt;/querystring&gt; &lt;/descriptor&gt; &lt;columns&gt; &lt;column name="Enveloppe" type="VARCHAR" /&gt; &lt;column name="ORG_NUM" type="VARCHAR" /&gt; &lt;column name="UITVOERINGSNIVEAU" type="VARCHAR" /&gt; &lt;column name="CSTAMNUMMER" type="VARCHAR" /&gt; &lt;/columns&gt; &lt;rows&gt; &lt;row Enveloppe="ACOS" POST_NUM="1000" UITVOERINGSNIVEAU="BnComd" CSTAMNUMMER="1" /&gt; &lt;row Enveloppe="ACOS" POST_NUM="5000" UITVOERINGSNIVEAU="BnComd" CSTAMNUMMER="2" /&gt; &lt;row Enveloppe="DG" POST_NUM="1001" UITVOERINGSNIVEAU="BdeComd" CSTAMNUMMER="4" /&gt; &lt;/rows&gt; </code></pre> <p>So for each UITVOERINGSNIVEAU I want to get a cell with the titel and then a row for each row above with that UITVOERINGSNIVEAU. For the example I wrote, it must look like this :</p> <pre><code>&lt;rows&gt; &lt;row&gt; &lt;cell image="folder.gif"&gt;BnComd&lt;/cell&gt; &lt;row&gt; &lt;cell&gt;ACOS&lt;/cell&gt; &lt;cell&gt;1000&lt;/cell&gt; &lt;cell&gt;1&lt;/cell&gt; &lt;/row&gt; &lt;row&gt; &lt;cell&gt;ACOS&lt;/cell&gt; &lt;cell&gt;5000&lt;/cell&gt; &lt;cell&gt;2&lt;/cell&gt; &lt;/row&gt; &lt;/row&gt; &lt;row&gt; &lt;cell image="folder.gif"&gt;BdeComd&lt;/cell&gt; &lt;row&gt; &lt;cell&gt;DG&lt;/cell&gt; &lt;cell&gt;1001&lt;/cell&gt; &lt;cell&gt;4&lt;/cell&gt; &lt;/row&gt; &lt;/row&gt; &lt;/rows&gt; </code></pre>
    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.
 

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