31 lines
865 B
XML
31 lines
865 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<xsl:stylesheet
|
||
|
version="1.0"
|
||
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||
|
xmlns="http://www.w3.org/1999/xhtml">
|
||
|
|
||
|
<xsl:output
|
||
|
method="xml"
|
||
|
version="1.0"
|
||
|
encoding="utf-8"
|
||
|
indent="yes"
|
||
|
omit-xml-declaration="yes" />
|
||
|
|
||
|
<!-- textfield -->
|
||
|
<xsl:template
|
||
|
match="item"
|
||
|
mode="textfield">
|
||
|
<textarea>
|
||
|
<xsl:attribute name="name">
|
||
|
<xsl:apply-templates select="." mode="getId" />
|
||
|
</xsl:attribute>
|
||
|
<xsl:attribute name="id">
|
||
|
<xsl:apply-templates select="." mode="getId" />
|
||
|
</xsl:attribute>
|
||
|
<!--<xsl:attribute name="class">-->
|
||
|
<!--<xsl:text>variableTextField</xsl:text>-->
|
||
|
<!--</xsl:attribute>-->
|
||
|
<!--<xsl:value-of select="ancestor::item/@id" />-->
|
||
|
</textarea>
|
||
|
</xsl:template>
|
||
|
</xsl:stylesheet>
|