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

RE: Generating XML fragment to DOM node using XSL

Subject: RE: Generating XML fragment to DOM node using XSL
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Wed, 17 Dec 2003 08:24:33 -0500
generating xml xsl



>I believe this does what you want, I've included the java source, the xml
and >xsl files... I used xalan-j_2.5.1. I found that passing an Element to
the >DOMResult constructor caused an error during the transform when there
wasn't a >single document node, using a DocumentFragment worked. This seems
like a bug >in xalan...

Possible; it's been a while since I've looked at the DOMResult support. If
it really is a bug, it should be reported to Apache's BugZilla database for
Xalan so we don't forget to fix it.

The DocumentFragment solution will be almost as efficient in any DOM
implementation I've seen, so it's a good workaround.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk


 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.