• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

[XSLT] Not sure of my question

Question

tainted    0

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.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.