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

Re: spaces with SAXON

Subject: Re: spaces with SAXON
From: Zsolt Czinkos <czinkos@xxxxxxxxxxxxx>
Date: Sun, 08 Aug 1999 16:06:17 +0000
zsolt czinkos
Hello,

Here's another beginner-question:
The original file is:

<person>  
<name>John Smith</name>, <age>23</age>
</person>


This result is generated by a java programm (uses SAXON API) based on
the LoadPlay saxon example (with really minor changes):


<person>  
<name>John Smith</name>
, <age>23</age>
</person>

I want the same output as the input. (with some minor transformation)
The original files are not my files so cannot change them.

I wrote a simple XSL which splits file, and that is good.
'Unfortunately' I'd like to demonstrate the SAXON JAVA API, as well.

I'm using 
setDefaultElementHandler(new (ElementCopier())); and 
setDefaultCharacterHandler(new (ContentCopier()));.

And when I'm in a handler where I open new file for output I'm using:

out.setWriter('FileWriter', Outputter.XML);

What else?


Thank you very much

Zsolt Czinkos


 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.