Re: [xsl] XPath question

Subject: Re: [xsl] XPath question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 4 Feb 2003 16:06:29 GMT
  I get a result like this:
  <div id="m.01 ">
 
  So I'm for a way to clear that up.

if your id attribute is of type ID then the space will be ignored by an
XML parser anyway so wouldn't be seen when the file was processed,

however to get rid of the space you could

report a bug to your processor implementor and get it fixed or
use a different processor or use
id="m.{normalize-space($id)}"

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread