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

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


Subject: RE: [xsl] Getting a list of node Text()
From: "Houghton,Andrew" <houghtoa@xxxxxxxx>
Date: Wed, 20 Jun 2007 08:39:53 -0400

> From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
> Sent: 20 June, 2007 05:38
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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.


Current Thread