Re: number collapsing
It's better to document the function's expectations by putting "as" attributes on the xsl:param elements.
So you're saying I should do the castable test on the template that is calling the function, and only call it if the value is castable as an integer, and then do this?
<xsl:function name="bib:number-condense"> <xsl:param name="begin" as="xs:integer"/> <xsl:param name="end" as="xs:integer"/>
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format