Note that there are some explanatory texts on larger screens.

plurals
  1. POXSLT 1.0: for each terminal node dump its ancestor chain in csv form
    primarykey
    data
    text
    <p>I am trying to get the best from the excellent open source Mind Map software FreeMind. As the result of designing a map I get a file which is in fact an XML file that has a simple structure:</p> <pre><code>&lt;node TEXT="0th text i am interested in"&gt; &lt;node TEXT="1st text i am interested in"&gt; &lt;node TEXT="2nd text i am interested in"&gt; &lt;node TEXT="3dh text i am interested in"&gt; &lt;node TEXT="4th text i am interested in"/&gt; &lt;/node&gt; &lt;/node&gt; ......... </code></pre> <p>For the sake of simplicity I have removed uninteresting (for my application) attributes.</p> <p>As you can see, it is a simple containment hierarchy. There are code snippets used to export, but for my needs I would like to create a csv-like text where each node <em>without children</em> has to its left all its ancestor chain separated by comma, or colon, or whatever. I mean, I would like to see something like: </p> <pre><code>0th node; 1st text ; 2nd text; 3dh text; 4th text ... then a new data line </code></pre> <p>My goal is to be able to quickly check the full qualifying path to that node and this for each and only the terminal nodes. Should I able to get even a "dotted number" I'll be more than happy (I mean: 1.2.3.4... and so on, marking the nesting position of a node; I remember there is something useful in XSLT to do this).</p> <p>This XSLT would allow to dump in csv a full qualified list in a snap after handling easily the hierarchy with the power of FreeMind interface</p> <p>Unfortunately, I am unable to do that now, my XSLT fluency is very bad. It's a pity, XSLT are a very powerful tool... Does anyone have a hint for me?</p>
    singulars
    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