Subject: Re: [xsl] dynamic-context type-branching From: ac <ac@xxxxxxxxxxxxx> Date: Tue, 05 Feb 2008 14:07:35 -0500 |
Thanks, ac
In schema unaware xslt2 environments, what would be the best way to select action depending on the result type (ex: string, text node(s), attribute(s), element(s)) of saxon:evaluate(), ex:
I think it's basically to do an xsl:choose. However, your note reminded me to add "apply-templates on atomic values" to the candidate requirements list for future XSLT versions. It's a little hard to come up with really convincing use cases, but I think it would make the language more orthogonal and that's always a good thing. Certainly, polymorphism on atomic values as well as on nodes seems intrinsically desirable.
Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] dynamic-context type-bran, Michael Kay | Thread | Re: [xsl] dynamic-context type-bran, ac |
RE: [xsl] dynamic-context type-bran, Michael Kay | Date | RE: [xsl] Browser support for X-lin, Philip Vallone |
Month |