xsl-list
[Top] [All Lists]

RE: Re: XPath question

2003-02-04 09:25:50
Thanks, I didn't catch placing the normalize-space() _inside_ the AVT. Now that 
you point it out, it seems obvious.

The effort to replace the Oracle XSL processor inside Oracle 9iAS is too 
daunting to consider, so I will file another bug report with Oracle.

-- 
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
Sent:     Tue, 4 Feb 2003 16:06:29 GMT
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  Re: [xsl] XPath question


  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




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