xslt - Processor (version 9.5) reports xsl:result as unknown element -


Do anyone know when editing the following stylesheet compilation errors when processing by SACON 9.5?

  & lt ;? XML version = "1.0" encoding = "ISO-8859-1"? & Gt; & Lt; Xsl: stylesheet version = "2.0" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" xmlns: my = "http://www.test.com" & gt; & Lt; Xsl: variable name = "lowerCaseLetters" = "'ABCDGGLMNAPQRUTUVCAs'" /> & Lt; Xsl: Select variable name = "upper case litter" = "'ABCDEFGHIKJLMNOPCRSTUVXX" /> & Lt; Xsl: Variable Name = "Select Not Applicable Customer Intl Number" = "Contat ($ Casc Lighters, $ upper caseellers, '.' ')" / "& Gt; & Lt; Xsl: function name = "my: isTelNumberValid" & gt; & Lt; Xsl: Ultimate Name = "Number" /> & Lt; Xsl: Select result type = "xs: boolean" = "string-length ($ numeral) = string-length (translate ($ number, $ not included buyer intell number, ''))" /> & Lt; / XSL: Function & gt; & Lt; / XSL: stylesheet & gt;  

The error I am getting is:

error at xsl: result 13x on 115 column of resultxxl: XTSE0010: unknown XSLT element : Result

failed to compile the stylesheet 1 error detected.

My function should be correct according to the syntax.

There is no xsl: result element in XSLT 2.0 language, just use

& lt; Xsl: Select Sequence = "String-Length ($ Number) = String-Length (To return the result number, translate the function inside the body ($ number, $ not the number of buyer intell number, ''))" /> ;


Comments