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 -/