RE: [xsl] Comparing node for identity using union

Subject: RE: [xsl] Comparing node for identity using union
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 19 Jan 2005 18:10:20 -0000
> > > The $pos is defined like
> > > 
> > > 	<xsl:param name="pos" select="0"/>
> > 
> > That's certainly a number
> 
> I think it's only a number as long as it doesn't get overridden - as
> soon as you pass in the value a parameter it becomes a string.

Of course: I missed that.

Shows how useful it is to declare your types in XSLT 2.0.

Michael Kay
http://www.saxonica.com/

Current Thread