• 0

[XSLT] Not sure of my question


Question

tainted

Ok I have an XML structure like this

<xmlstruct>
	 <node>
		  <node/>
		  <node/>
		  <node>
			   <item/>
			   <item/>
		  </node>
		  <item/>
		  <item/>
	 </node>
</xmlstruct>

I haave it working so that it echos the nodes on one part of my page by using

<xsl:template match="xmlstruct">
<xsl:apply-template select="node"/>
</xsl:template>

<xsl:template match="node">
<xsl:apply-template select="node"/>
</xsl:template>

that works for only displaying nodes and sub-nodes which is fine.

However, on the xmlstruct template level I want to be able to display the items along with the nodes.

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.