[xsl] xsl:strip-space does not work?

Subject: [xsl] xsl:strip-space does not work?
From: Nisheet Verma <NisheetV@xxxxxxxxxxx>
Date: Fri, 16 Nov 2001 14:38:13 -0800
I am using a  xml file which looks like, the following ( I have removed
insignificant text to improve readability)

?xml version="1.0"?>
<Catalog id="C31">
<object uri="http://developler.com/classdef;132";>
	<property uri="http://developer.com/propertyType;193";>

I want to parse it using the following XSL

<?xml version="1.0" ?>
<!-- Passes a node set from one template to another -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    <xsl:strip-space elements="*" />
    <xsl:output method="xml" indent="yes" />
	<xsl:template match="object" >
	        <PRODUCT_ITEM >
	                <xsl:value-of select="property/@uri"/>

The out put looks like this


I don't know why xsl:strip does not strip out the whitespaces around PRICE
tag.  I can use normalize-space() to make it work but that would be a hack.
I guess, xsl:strip=space should work, or am I using it incorrectly?

Any help would be much appreciated,

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

Current Thread