[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] apache Hyphenate property issue - weird !


Subject: Re: [xsl] apache Hyphenate property issue - weird !
From: Stan Devitt <jsdevitt@xxxxxxxxxxxxxx>
Date: Fri, 15 Aug 2003 09:54:59 -0400

Mark,
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
StratumTek

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
Keywords