Richard Dyce wrote:
I think this may be an XSLT 1.0 issue, but I get
xsltStylePreCompute: unknown xsl:function
and
xsltStylePreCompute: unknown xsl:sequence
Exactly. The following should be the XSLT 1.0 equivalent (quickly
adapted, be careful):
<xsl:template match="record">
<xsl:param name="structure"/>
<xsl:apply-templates select="$structure/*">
<xsl:with-param name="record" select="."/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="field">
<xsl:param name="record"/>
<dt>
<xsl:value-of select="@label"/>
</dt>
<dd>
<xsl:variable name="name" select="@name"/>
<xsl:value-of select="$record/*[local-name() eq $name]"/>
</dd>
</xsl:template>
Regards,
--drkm
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
http://mail.yahoo.fr
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--