This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Page breaks for text-only (not HTML) output?


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 &#x0C; which is a FormFeed. Dunno if it will work with your
>> printer though.
>
>Thanks, Chris. I already tried various forms of that &#x0C
>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
>"&#x0C;" 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]