|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: spaces with SAXON
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








