xsl-list
[Top] [All Lists]

Re: Comparing node for identity using union

2005-01-20 03:13:23
  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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--