Hi all,
I need to design an XSL to convert this xml:
into:
The xsl needs to be imported into an application, which is where my problem starts. I have the following xsl (which works) but for some reason (maybe the XPath being used? could be 1.0, not sure) the application doesn't accept it, so I need something without the variables (I think)
Can somebody help me please?
I need to design an XSL to convert this xml:
Code:
<Fields> <Field Name="DebitCredit" Type="invoicecredit">Debit Factuur</Field> </Fields>
Code:
<Fields> <DebitCredit>Debit Factuur</DebitCredit> </Fields>
Code:
<xsl:template match="Fields/Field">
<xsl:variable name="naam" select="(@Name)"></xsl:variable>
<xsl:element name="{$naam}">
<xsl:value-of select="."/>
</xsl:element>
</xsl:template>
Comment