Re: [xsl] Detecting carriage return and newline feed in XML Data

Subject: Re: [xsl] Detecting carriage return and newline feed in XML Data
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 27 Oct 2004 15:59:44 +0100
  I tried with a "<xsl:value-of select="contains(/XML/@data,'&#10;')"/> if
  it might give a positive answer... and as well with '&#13;'... always
  false!


an XML parser normalises newlines in attribute values to space

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
________________________________________________________________________

Current Thread