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

Re: apache Hyphenate property issue - weird !

Subject: Re: apache Hyphenate property issue - weird !
From: Stan Devitt <jsdevitt@xxxxxxxxxxxxxx>
Date: Fri, 15 Aug 2003 09:54:59 -0400
xsl hyphenate
This is just a guess as to what is happening. In the XML DOM api, there are both CDATA and Text nodes. My guess is that the code that handles hyphenation is looking at one but not the other. You can easily test for this by converting all the CDATA blocks to regular text and transforming the result. If my guess is right and if you do this, then the hyphenation should start to work properly.

You can transform the CDATA content to regular text by first saving the results of an identity transform and then applying your transforms this new file . (When you use XSL to output XML, the CDATA blocks will be re-encoded as regular text unless you explicly specify that the coldata element is to be CDATA on output.)

Stan Devitt

Mark Ivs wrote:

This is one of those weird problems. This could be a
bug with apache hyphenate property. Please let me know
if it is a bug or I am doing something wrong.

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

Current Thread


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.
First Name
Last Name
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.