| 284 | | <xsl:copy-of select="@*[local-name() != 'id' and local-name() != 'name' and local-name() != 'mandatory']"/> |
|---|
| 285 | | <ixsl:if> |
|---|
| 286 | | <xsl:attribute name="test"> |
|---|
| 287 | | <xsl:text>/document/forms/</xsl:text> |
|---|
| 288 | | <xsl:value-of select="$id"/> |
|---|
| 289 | | <xsl:text>/</xsl:text> |
|---|
| 290 | | <xsl:value-of select="@name"/> |
|---|
| 291 | | </xsl:attribute> |
|---|
| 292 | | <ixsl:attribute name="value"> |
|---|
| 293 | | <ixsl:value-of> |
|---|
| 294 | | <xsl:attribute name="select"> |
|---|
| 295 | | <xsl:text>/document/forms/</xsl:text> |
|---|
| 296 | | <xsl:value-of select="$id"/> |
|---|
| 297 | | <xsl:text>/</xsl:text> |
|---|
| 298 | | <xsl:value-of select="@name"/> |
|---|
| 299 | | </xsl:attribute> |
|---|
| 300 | | </ixsl:value-of> |
|---|
| 301 | | </ixsl:attribute> |
|---|
| 302 | | </ixsl:if> |
|---|
| | 284 | <xsl:copy-of select="@*[local-name() != 'id' and local-name() != 'name' and local-name() != 'path' and local-name() != 'mandatory']"/> |
|---|
| | 285 | <ixsl:choose> |
|---|
| | 286 | <ixsl:when> |
|---|
| | 287 | <xsl:attribute name="test"> |
|---|
| | 288 | <xsl:text>/document/forms/</xsl:text> |
|---|
| | 289 | <xsl:value-of select="$id"/> |
|---|
| | 290 | <xsl:text>/</xsl:text> |
|---|
| | 291 | <xsl:value-of select="@name"/> |
|---|
| | 292 | </xsl:attribute> |
|---|
| | 293 | <ixsl:attribute name="value"> |
|---|
| | 294 | <ixsl:value-of> |
|---|
| | 295 | <xsl:attribute name="select"> |
|---|
| | 296 | <xsl:text>/document/forms/</xsl:text> |
|---|
| | 297 | <xsl:value-of select="$id"/> |
|---|
| | 298 | <xsl:text>/</xsl:text> |
|---|
| | 299 | <xsl:value-of select="@name"/> |
|---|
| | 300 | </xsl:attribute> |
|---|
| | 301 | </ixsl:value-of> |
|---|
| | 302 | </ixsl:attribute> |
|---|
| | 303 | </ixsl:when> |
|---|
| | 304 | <ixsl:otherwise> |
|---|
| | 305 | <xsl:if test="@path and @path != ''"> |
|---|
| | 306 | <ixsl:attribute name="value"> |
|---|
| | 307 | <ixsl:value-of> |
|---|
| | 308 | <xsl:attribute name="select"> |
|---|
| | 309 | <xsl:value-of select="@path"/> |
|---|
| | 310 | </xsl:attribute> |
|---|
| | 311 | </ixsl:value-of> |
|---|
| | 312 | </ixsl:attribute> |
|---|
| | 313 | </xsl:if> |
|---|
| | 314 | </ixsl:otherwise> |
|---|
| | 315 | </ixsl:choose> |
|---|