View Single Post
  #3 (permalink)  
Old March 4th, 2008, 10:14 AM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

First, you seem to be posting multiple posts with almost identical subject lines - this is not good forum etiquette. Try to be a little bit more descriptive.

Secondly, its not clear from your post if this is one transformation (i.e. you want the input XML to be transformed twice in the same XSLT file) or if this is a two stage transformation.

It really sounds more like the former but from the previous posts you're written I'm suprised you can't work this out yourself.

Code:
<xsl:for-each select="/data/*">
<p>
<xforms:input ref="{local-name()}">
  <xforms:label><xsl:value-of select="@label"/></xforms:label>
</xforms:input>
</p>
</xsl:for-each>
If that isn't what you want then try showing us what you've tried so far and why it doesn't work.

/- Sam Judson : Wrox Technical Editor -/
Reply With Quote