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

Re: XSL: xt question

Subject: Re: XSL: xt question
From: "Don Park" <donpark@xxxxxxxxx>
Date: Sat, 19 Sep 1998 16:55:21 -0700
Re: XSL: xt question
Ken,

>As you can see, XT's XML processor is throwing away the ignorable
>whitespace in the BR tag and will not preserve the space in the tag that is
>emitted.


In that case, you will have to get your hands dirty.

The trick is to use the MINIMIZE_EMPTY_ELEMENTS_HTML option when
constructing the com.jclark.xml.output.UTF8XMLWriter.  Enabling this option
causes a space to be output just before "/>" for empty elements.  Since
there is no way to set this via program arguments, you will have to modify
XP.  Quickest way is to hack UTF8XMLWriter.DEFAULT_OPTIONS to include
MINIMIZE_EMPTY_ELEMENTS_HTML.

If you are writing in formats other than UTF-8, then you got a slightly
bigger chores ahead.

Regards,

Don Park
Docuverse




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re: XSL: xt question, (continued)
    • alex - Fri, 18 Sep 1998 12:10:42 -0400 (EDT)
    • Don Park - Sat, 19 Sep 1998 18:56:38 -0400 (EDT)
    • Don Park - Sat, 19 Sep 1998 19:54:13 -0400 (EDT) <=
    • Don Park - Sat, 19 Sep 1998 21:14:00 -0400 (EDT)

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.