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

RE: Errors when trying to use Xalan instead of Saxon

Subject: RE: Errors when trying to use Xalan instead of Saxon
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 25 Jul 2002 14:30:50 +0100
RE:  Errors when trying to use Xalan instead of Saxon
> I am using DOM, in particular the Node class to break 
> up the file into chunks and then run the transformations in a 
> loop.  This worked fine with Crimson and Saxon but gives me 
> an error with Xerces and Xalan.  The problem lies when 
> attempting to get a ByteStream from the myNode.toString() and 
> then constructing a transform with this Stream. With Crimson 
> the myNode.toString gives me a nice String containing the 
> nested template. However with Xerces I get the root name and 
> null.

This is a DOM question, not an XSLT question.

I don't think the DOM specification defines what the toString() method
on a Node should give you, therefore you should not rely on it being
portable between implementations.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


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.