xsl-list
[Top] [All Lists]

RE: [xsl] xsl:function "complex" return type

2009-05-12 09:48:48

I want an XSL function to return one string and two integers. 

The most precise XPath type to express that is xs:anyAtomicType*

(You can define a type in your schema that's essentially list(union(string,
integer)), but unfortunately you can't use list and union types in XSLT
function signatures.)

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>