|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: The Perils of Sudden Type-Safety in XPath 2.0
Hi Charles, I may be a bit late with following up on this, and thanks for keeping it on list: > I'm trying to reproduce/understand Gunther's problem, and am having difficulty. Doesn't this typing problem only exist if he is either working with extensions, as M Kay pointed out, or if he is importing a schema using xsl:import-schema? No, I have nothing to do with schemas, no import-schema. This problem has nothing to do with extension functions either. In fact, in Saxon, extension function calls still do quite a bit of nice automatic type casting. The test case is <xsl:template match="block[@indent]">
<xsl:value-of select="string-pad(' ', @indent)"/>
</xsl:template>no schema, no extension. And I am glad to say that I couldn't agree more with Dimitre here: ...The difficulties that even Jeni has prove Kurt's point.
thanks, -Gunther -- Gunther Schadow, M.D., Ph.D. gschadow@xxxxxxxxxxxxxxx Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistant Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








