xsl-list
[Top] [All Lists]

RE: [xsl] Getting a list of node Text()

2007-06-20 05:40:15
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com] 
Sent: 20 June, 2007 05:38
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Getting a list of node Text()

Yes, I agree.  The source I have no control over, other 
than to submit 
error reports and hope for the best.  It's coming out of an 
app where 
I don't control the output.

But having investigated this I came to the same conclusion, 
and I'll 
submit some reports about it and see what happens.

Meanwhile you could write a SAX filter to preprocess the 
document, since SAX applications (unlike XSLT) can see CDATA 
boundaries.

But, wouldn't the following strip the lead and trailing space
for the element?

<xsl:strip-space elements="Calculation"/>

or does that have additional side effects.


Andy.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--