Thanks Martin. I'm trying to add this attribute (see below), but having
problems (e.g. XMLSpy doesn't like it where I've put it). Do you know where
I would place this attribute?
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:n="http://www.company.info/schemas"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:vmf="http://www.altova.com/MapForce/UDF/vmf"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
exclude-result-prefixes="fn n vmf xs xsi xsl">
<xsl:attribute name="saxon:allow-all-built-in-types">yes</xsl:attribute>
<xsl:template name="vmf:inputtoresult">
<xsl

aram name="input" select="()"/>
<xsl:choose>
<xsl:when test="$input='A'">
"Martin Honnen" <mahotrash@yahoo.de> wrote in message
news:Od2p5IJJJHA.716@TK2MSFTNGP04.phx.gbl...
> Susan Harris wrote:
>> Sorry, I meant it was failing on xs:token, xs
ositiveInteger, etc. I
>> misread the error messages. Presumably the use of those requires the
>> engine to be schema aware?
>
> http://www.w3.org/TR/xslt20/#built-in-types lists the types a basic
> processor supports. However with Saxon 9 you can set
> http://www.saxonica.com/documentatio...ltintypes.html
> to allow those types nevertheless with the basic processor.
>
> --
>
> Martin Honnen --- MVP XML
> http://JavaScript.FAQTs.com/