Re: Retrieving Distinct text

Subject: Re: Retrieving Distinct text
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Fri, 16 Jul 1999 13:45:24 +0100
Some initial feedback on Instant Saxon:

[1]	For me, this was the US cavalry coming to the rescue (OK, so I'm not
a native American...). My validator for xml-Schema "all" expressions was
taking 5 to 6 minutes of exponential thrashing for a simple unit test.
That's now down to 1.3 seconds!

[2]	the lack of xsl:include can be worked round by using external
entities in XML, eg

----------------------------------------------------------------------------------------
<?xml version="1.0"?>

<!DOCTYPE greeting [
    <!ENTITY valid SYSTEM "valid_x.xsl">
  ]>

<xsl:stylesheet indent-result="yes" default-space="strip" 
	xmlns:xsl="http://www.w3.org/XSL/Transform/1.0";>

<!-- get validation engine in (can't use xsl:include because unsupported
in Saxon) -->
&valid;
<!-- xsl:include href="valid.xsl" / -->

....

</xsl:stylesheet>
----------------------------------------------------------------------------------------

(though you have to modify the included file to strip out the outer
xsl:stylesheet layer since it is a simple textual inclusion)

Many thanks, Mike!

Francis.



Kay Michael wrote:
> 
> PS: there's now a packaged version of the SAXON 4.4 XSL interpreter on the
> web site at http://users.iclway.co.uk/mhkay/saxon/ under the name "Instant
> SAXON". Designed for ease of installation and execution, it packages up the
> interpreter, complete with an XML parser (AElfred) as a Windows executable.
> Thanks to James Clark for giving me the idea!
> 

-- 
Francis Norton.

Air Rage - a "flight *and* fight" reaction?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread