I have the following input:
<node TEXT="txt">
<node TEXT="txt">
<node TEXT="txt"/>
<node TEXT="txt"/>
</node>
<node TEXT="txt"/>
</node>
<node TEXT="txt"/>
I am currently using:
<xsl:number level="multiple" count="node" format="1"/>
within an XSTL script to receive the following output:
1 txt
1.1 txt
1.1.1 txt
1.1.2 txt
1.2 txt
2 txt
but i want to have this output:
* txt
** txt
*** txt
*** txt
** txt
* txt
Can you help me?
PS: I want to convert a freemind map to basic mediawiki list syntax. And yes! i am aware that there are several ways to get native freemind maps into media wikis, but i need the conversion of the <node>
-tree to ***
-lists