This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Page breaks for text-only (not HTML) output?
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Page breaks for text-only (not HTML) output?
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Wed, 13 Sep 2000 22:26:07 +0100
- Reply-To: xsl-list at mulberrytech dot com
Yeh
I don't know xalan too well but codes <= x1F are rather illegal in xml. I
don't know if you can get a x0C into the output stream somehow by
constructing one into a variable or something.
Maybe putting a single x0C character into a comment at the beginning of your
xml would allow you to get at it somehow then use it on output. I'm
clutching at straws here.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@mulberrytech.com
>[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Rebecca Lundberg
>Sent: 13 September 2000 21:35
>To: xsl-list@mulberrytech.com
>Subject: Re: Page breaks for text-only (not HTML) output?
>
>
>> You could try  which is a FormFeed. Dunno if it will work with your
>> printer though.
>
>Thanks, Chris. I already tried various forms of that 
>thinking it would
>work. I get the following error when I compile:
>XSL Error: SAX Exception, Location
>file:/E:/poc/support/run/test/testbatch.xsl, line 2778, offset 54
>
>org.apache.xalan.xslt.XSLProcessorException: Character reference
>"" is
>an invalid XML character.
> at
>org.apache.xalan.xslt.XSLTEngineImpl.error(XSLTEngineImpl.java:1630)
> at
>org.apache.xalan.xslt.XSLTEngineImpl.processStylesheet(XSLTEngineIm
>pl.java:7
>22)
> at
>org.apache.xalan.xslt.XSLTEngineImpl.process(XSLTEngineImpl.java:556)
> at
>com.esrv.runtime.xj.xsl.XSLProcessorBean.process(XSLProcessorBean.java:45)
> at com.esrv.test.xj.XSLTester.run(XSLTester.java:81)
> at
>com.esrv.runtime.common.cmdline.UtilityExecuter.start(UtilityExecut
>er.java:1
>59)
> at com.esrv.test.xj.XSLTester.main(XSLTester.java:158)
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list