Re: [xsl] Treat CDATA section content as node

Subject: Re: [xsl] Treat CDATA section content as node
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Thu, 25 Feb 2010 10:44:58 -0700
I'm not having much luck with saxon:parse() function.  I have 6.5.3,
and when I run the transformation I get the error

No method matching parse with 1 parameter found in class com.icl.saxon.functio
ns.Extensions
Transformation failed: Run-time errors were reported

Specifically I have Saxon 6.5.3

Also, in Oxygen I do not get intellisense for saxon:parse(), I get
saxon:path() then saxon:range().  My stylesheet decleration is:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns:saxon="http://icl.com/saxon";
    extension-element-prefixes="saxon"
    version="1.0">

Am I close?  What am I missing.

Thanks,
Karl..

On Thu, Feb 25, 2010 at 10:13 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 25/02/2010 17:09, Karl Stubsjoen wrote:
>>
>> No method matching parse with 1 parameter found in class
>> com.icl.saxon.functions.Extensions
>>
>> Tried with saxon 6, and saxon 9.
>
> Should work with 6.
>
> For 9 you need a different namespace, and to either use 9.1 or one of the
> commercial versions of 9.2.
>
>>
>> The next thing I was going to try was:
>> http://www.dcarlisle.demon.co.uk/htmlparse.xsl
>>
>
> don't use that, use the location I mentioned
>
>
>
> http://web-xslt.googlecode.com/svn/trunk/htmlparse/htmlparse.xsl
>
>
>
> (It's possible that they are the same at the moment, but perhaps not, and
> any fixes will go into googlecode now)
>
> David
>
> ________________________________________________________________________
> The Numerical Algorithms Group Ltd is a company registered in England
> and Wales with company number 1249803. The registered office is:
> Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
>
> This e-mail has been scanned for all viruses by Star. The service is
> powered by MessageLabs.
> ________________________________________________________________________

Current Thread