Subject: Re: error in XSL file when using JAXP
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 28 Jul 2005 12:03:56 +0100
|
$aVal[for $a in . return normalize-space(
so that sequence is going to be a sequence of strings, and if it has
length greater than 1 you will get an error.
perhaps you want
$aVal[not(empty(for $a in . return normalize-space(
which would test if the sequence is non empty, but thene there is no
point in doing normalize-space as that doesn't affect whether the
sequence is empty or not
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
|