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

Re: XSLT functions in XPath

Subject: Re: XSLT functions in XPath
From: Victor Toni <xsl-list@xxxxxxxxx>
Date: Tue, 10 Oct 2006 16:19:11 +0200
Re:  XSLT functions in XPath
Michael Kay wrote:
>> Trying to be smart I tried to abstract the implementation 
>> away by using pure XPath to get the size of the resulting 
>> NodeList (or whatever), but Saxon throws an Exception with 
>> this example because it doesn't know about the DOM. 
>>     
>
>   
>> Exception in thread "main" javax.xml.xpath.XPathExpressionException:
>> Cannot locate an object model implementation for nodes of 
>>     
>
> That means that you haven't got the DOM support module saxon8-dom.jar on
> your classpath.
>   

Actually its there, but the class net.sf.saxon.dom.DOMNodeList seems to
be not recognized.

As you see in the class net.sf.saxon.dom.DOMObjectModel

    public boolean isRecognizedNode(Object object) {
         return object instanceof Node && !(object instanceof
NodeOverNodeInfo);
    }

NodeList isn't a recognized class.

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.