Re: apache Hyphenate property issue - weird !
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
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format