[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Comparing node for identity using union


Subject: Re: [xsl] Comparing node for identity using union
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 20 Jan 2005 10:13:23 GMT

  When i set a parameter defined like <xsl:param name="pos" select="0"/>
  outside the XSLT does the parameter stays a number, changes to char,
  it depends on the processor, or what?



"or what"

specifically XSLT1 does _not_ insist that teh new value has the same
type as the old value so the type of teh new value depends entirely on
the mapping supplied to set parameters in your external interface, and
this is totally unspecified by xslt. In many simple command line
interfaced you cabn only go param=val and everything is a string, but in
API's to yyped programming languages you can usually pass in a typed
value, but the mapping from that type to Xpath types is again part of
taht interface and not specified by xslt.


David

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


Current Thread
Keywords