Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XSLT 2.0 under .NET >Thread Next - Re: XSLT 2.0 under .NET Re: XSLT 2.0 under .NETTo: NULL Date: 10/2/2008 4:03:00 PM 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:param name="input" select="()"/> <xsl:choose> <xsl:when test="$input='A'"> "Martin Honnen" <mahotrash@y...> wrote in message news:Od2p5IJJJHA.716@T...... > Susan Harris wrote: >> Sorry, I meant it was failing on xs:token, xs:positiveInteger, 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/documentation/extensions/attributes/allowallbuiltintypes.html > to allow those types nevertheless with the basic processor. > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
