This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: testing for variable amounts of whitespace?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] testing for variable amounts of whitespace?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Fri, 27 Apr 2001 20:30:07 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> second - the questions: can i write an xpath expression to test for a
> variable amount of whitespace? how would i do such a thing?
string(.) and not(normalize-space(.))
>
> third - the relevent info: parser: MSXML 3 working in conjunction with
> microsoft's xslisapi dll for IIS.
be careful with MSXML3 to set the preserveSpace option when loading the DOM.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list