Subject: Re: [xsl] Why processor or stylesheets puts strange output From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 23 Aug 2002 16:12:32 -0400 |
TSchutzerWeissmann@xxxxxxxxxxxxxxxx wrote: > <xsl:template match="text()[ > string-length(translate(.,'	

 ',''))=0]"/>
This can be shortened to
<xsl:template match="text()[translate(.,'	
 ','')]"/>
The abomination that is XPath 2.0 will change this (string 'true' or '1' will be true) so you'll need to put the string-length() back in someday
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Why processor or styleshe, Mike Brown | Thread | Re: [xsl] Why processor or styleshe, Mike Brown |
[xsl] how do XML and Graphics, Sandra Mcdonnell | Date | [xsl] Re: quick [but difficult] Xpa, Juan Estevan Madriga |
Month |