|
Subject: Re: [xsl] testing parameter type From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sun, 9 Aug 2026 02:44:05 -0000 |
On Sat, 8 Aug 2026 23:38:59 -0000 "Graydon graydon@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: [...] > will work; the string doesn't default to being a document node now > that the param is typed. In XQuery you could use typeswitch. In XSLT/XPath, i think instance of is about the best you can do, and is at least reasonably clear. I think ibd be more likely to have a separate param used only if the first one is not supplied, though. liam -- Liam Quin: Delightful Computing - Training and Consultancy in XSLT / XML Markup / Typography / CSS / Accessibility / and more... Outreach for the GNU Image Manipulation Program Vintage art digital files - fromoldbooks.org
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] testing parameter type, Graydon graydon@xxxx | Thread | Re: [xsl] testing parameter type, Michael Kay michaelk |
| [xsl] testing parameter type, Graydon graydon@xxxx | Date | Re: [xsl] testing parameter type, Michael Kay michaelk |
| Month |