[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: text nodes
Thanks to both David and Jarno for examples which work on the test file I provided. My problem now is when I attempt (just changing element names) to use this on the real file in question I get an error message of: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 I've increased the amount of memory I'm giving saxon to the maximum possible for that machine, in case that is what the problem is. The file in question isn't *huge* only about a meg. So I thought maybe breaking up the individual steps, so did all the transformations I needed that were uncomplicated in a separate xslt file as a first step. That left me with a slightly simpler structure: <root> <l>This is a line</l> <l>This is a line</l> <l>5 This <foo>is</foo> a line</l> <l>This is a line</l> <l>10 This is a line</l> <l>This is a line</l> <l>2000 This is a line</l> <l>This is a line</l> <l>about 10000 more lines</l> </root> But I still get the same error. I'm missing something obvious, I'm sure, one of those days. Suggestions? -James --- Dr James Cummings, Oxford Text Archive, University of Oxford James dot Cummings at ota dot ahds dot ac dot uk
|
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
|