Subject: Re: [xsl] How would I create this derived field in XML from different XML fields From: "Imsieke, Gerrit, le-tex gerrit.imsieke@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 29 Oct 2014 20:09:37 -0000 |
*_Below in my xsl code am getting a syntax error on the following line_*
<xsl:variable name="CurrDateTimeValue" select="format-dateTime(current-dateTime(),"[Y0001][M01][D01][H01][m01]")"/>
Element type "xsl:variable" must be followed by either attribute specifications, ">" or "/>".
b& b&
<xsl:choose> <xsl:when test="contains-case-insensitive($InvoicePOLineOwner, 'Law')"> <xsl:variable name="POOwnerType" select="W'" /> </xsl:when> <xsl:otherwise> <xsl:variable name="POOwnerType" select="L" /> </xsl:otherwise> </xsl:choose>
<xsl:variable name="POOwnerType" as="xs:string"> <xsl:choose> <xsl:when test="matches($InvoicePOLineOwner, 'Law', 'i')"> <xsl:sequence select="'W'"/> </xsl:when> <xsl:otherwise> <xsl:sequence select="'L'"/> </xsl:otherwise> </xsl:choose> </xsl:variable>
<xsl:variable name="POOwnerType" as="xs:string" select="if (matches($InvoicePOLineOwner, 'Law', 'i')) then 'W' else 'L'"/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How would I create this deriv, Catherine Wilbur cwi | Thread | [xsl] Fw: How would I create this d, Catherine Wilbur cwi |
[xsl] How would I create this deriv, Catherine Wilbur cwi | Date | [xsl] Fw: How would I create this d, Catherine Wilbur cwi |
Month |