[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Unicode character decimal representation problem w

Subject: Re: Unicode character decimal representation problem when copying the XML
From: Jesper Tverskov <jesper@xxxxxxxxxxx>
Date: Thu, 14 Oct 2010 14:11:05 +1030
Re:  Unicode character decimal representation problem w
On Thu, Oct 14, 2010 at 8:22 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
> the saxon extension functions are not available in the free version of saxon
> from 9.2 onwards, you need either the commercial versions (or use saxon 9.1)

Thanks David

In the top of the stylesheet I have now added the second of the
following two lines:

Using saxon:parse() and saxon:serialize()
Available in Saxon-EE, Saxon-PE, Saxon-9.2, Saxon-9.1, ...?

First I tried to do the following:

<xsl:variable name="test-for-saxon-extensions"
select="concat(function-available('saxon:parse'),
function-available('saxon:serialize'))" />
<xsl:if test="$test-for-saxon-extensions ne 'truetrue'">
 <xsl:message terminate="yes" select="'You must use Saxon-EE |
Saxon-PE | Saxon-9.2 | Saxon-9.1'"/>
</xsl:if>

It normally works but because of the way I have organized the
stylesheet, Saxon  shows its error message long before the
transformation is stoped by xsl:message.

Cheers,
Jesper Tverskov

http://www.xmlplease.com
http://www.xmlkurser.dk
http://www.xmltraining.net

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.