xsl-list
[Top] [All Lists]

Re: Detecting carriage return and newline feed in XML Data

2004-10-27 07:59:44

  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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>