Generating tree-structure with xsl
Posted: Mon Oct 17, 2005 11:17 am
Hello experts,
I want to diplay the same tree-structure with XSL as it is in my XML file.
The structure is as follows:
<?xml version="1.0" encoding="iso-8859-1"?>
<CONTACT>
<CONTACTDATE>...</CONTACTDATE>
<CONTACTTIME>...</CONTACTTIME>
.
.
<CONTACT>
<CONTACTDATE>...</CONTACTDATE>
<CONTACTTIME>...</CONTACTTIME>
.
.
</CONTACT>
<CONTACT>
<CONTACTDATE>...</CONTACTDATE>
<CONTACTTIME>...</CONTACTTIME>
.
.
</CONTACT>
</CONTACT>
How can i get a useful XSL -File with <xsl:for-each select="CONTACT"> or such a thing.
I've already tried to use a recursive Procedure, but the problem is, that all the XML-Nodes have the same name ("CONTACT").
Can somebody help me?
Thanks
Cordoba
I want to diplay the same tree-structure with XSL as it is in my XML file.
The structure is as follows:
<?xml version="1.0" encoding="iso-8859-1"?>
<CONTACT>
<CONTACTDATE>...</CONTACTDATE>
<CONTACTTIME>...</CONTACTTIME>
.
.
<CONTACT>
<CONTACTDATE>...</CONTACTDATE>
<CONTACTTIME>...</CONTACTTIME>
.
.
</CONTACT>
<CONTACT>
<CONTACTDATE>...</CONTACTDATE>
<CONTACTTIME>...</CONTACTTIME>
.
.
</CONTACT>
</CONTACT>
How can i get a useful XSL -File with <xsl:for-each select="CONTACT"> or such a thing.
I've already tried to use a recursive Procedure, but the problem is, that all the XML-Nodes have the same name ("CONTACT").
Can somebody help me?
Thanks
Cordoba