|
Subject: [xsl] XSLT Path From: "oknam park" <ponda7777@xxxxxxxxxxx> Date: Mon, 19 Jun 2006 23:57:02 +0000 |
Here is my xml instance file: <audience> <toolfor scheme="GEM"> Students</toolfor> <beneficiary scheme="GEM"> Students </beneficiary> </audience>
Here is my current xslt:
<xsl:template match="audience">
?<dcq:mediator>
<xsl:choose>
?<xsl:when test="contains (toolfor/@scheme,'GEM')">
<xsl:value-of select="normalize-space(toolfor)"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="normalize-space(toolfor)"/>
?</xsl:otherwise>
?</xsl:choose>
</dcq:mediator>
<gemq:beneficiary>
<xsl:value-of select="normalize-space(beneficiary)"/>
</gemq:beneficiary>
</xsl:template>Best regards, Oknam Park
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Convert XML to Excel usin, Rick Roen | Thread | [xsl] Value Mapping, oknam park |
| RE: [xsl] Convert XML to Excel usin, Michael Kay | Date | [xsl] Value Mapping, oknam park |
| Month |