I keep receiving this error message
Required attribute 'select' is missing.
I already used this code before and it was working fine, but it seems that it is not applicable to
<xsl:output method="text" />
Hope you can help me.
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:wd="urn:com.workday.report/Sample_Outbound">
<xsl:output method="text" />
<xsl:variable name="linefeed" select="'
'"></xsl:variable>
<xsl:variable name="StreetAddress1">Street Address 1</xsl:variable>
<xsl:template match="wd:Report_Data">
<File>
<!-- Header -->
<Header>
<StreetAddress1>
<xsl:value-of select="$StreetAddress1" />
</StreetAddress1>
<xsl:value-of select="$linefeed" />
</Header>
<xsl:for-each select="wd:Report_Entry">
<Record>
<Work_Street_Address_1>
<xsl:call-template name="Remove-Special-Characters-Commas">
<xsl:with-param name="normalize-string"
select="wd:Work_Street_Address_1" />
</xsl:call-template>
</Work_Street_Address_1>
<xsl:value-of select="$linefeed" />
</Record>
</xsl:for-each>
</File>
</xsl:template>
<xsl:template name="Remove-Special-Characters-Commas">
<xsl:param name="normalize-string" />
<xsl:variable name="AllowedSymbols"
select="'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-.,#():@/;\''_&'" />
<xsl:variable name="stringValuePreformatted"
select="translate($normalize-string,'àâäèéêëîïôœùûüÿÀÁÄÈÉÊËÎÏÔŒÙÛÜŸçÇáéíóúÁÉÍÓÚäöüÄÖÜßàèéìòóùÀÈÉÌÒÓÙáéíóúüÁÉÍÓÚÜñÑ¿¡','aaaeeeeiioeuuuYAAAEEEEIIOEUUUYCCaeiouAEIOUaouAOUBaeeioouAEEIOOUaeiouuAEIOUUnN?1')" />
<xsl:value-of
select="normalize-space(translate($stringValuePreformatted, translate($stringValuePreformatted, $AllowedSymbols,''),''))" />
</xsl:template>
</xsl:stylesheet>
The line error is
line 39: Error parsing XPath expression ''abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-.,#():@/;\''_&''.
line 39: Required attribute 'select' is missing.
enter code here
Thanks