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

Re: xalan error with plain text

Subject: Re: xalan error with plain text
From: Michael Engelhart <mengelhart@xxxxxxxxxxxxx>
Date: Sat, 12 Jan 2002 16:03:48 -0500
michael engelhart
Hello all,

Thanks very much for all your help. It turns out that I was using a JDOMResult class to handle the transformed document but (as I just found out), it only handles XML documents, not plain text. Now all is working well by changing to a StreamResult instead. Thanks again for all the responses.

Best Regards,
Michael Engelhart
On Saturday, January 12, 2002, at 10:35  AM, Jeni Tennison wrote:

Hi Michael,

I'm trying to do simple transform from a simple XML document to
plain text. I'm using the current Xalan 2.2D14 and the supplied
Xerces and JDOM 1.0b7 for my XML generation.

Your XSLT stylesheet is fine, so I suspect that there's a problem with the code you're using to invoke the transformation. You'd be better off asking on xalan-j-users@xxxxxxxxxxxxxx probably.

also on a related note, I can't seem to get the
"omit-xml-declaration" attribute of <xsl:output> to work either.

The 'omit-xml-declaration' attribute is only relevant when you're generating XML, so I wouldn't expect it to have any effect with your text-generating stylesheet.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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.