xsl-list
[Top] [All Lists]

[xsl] '"as" SequenceType' vs 'TypeDeclaration' in XPath 3.0?

2014-01-03 06:09:15
In XPath 3.0 [1], what tips the balance between the occurrence of '"as"
SequenceType' in production [64] versus the occurrence of
'TypeDeclaration' in production [3], where 'TypeDeclaration' is defined as
'"as" SequenceType' in production [66]?

[64] InlineFunctionExpr ::= "function" "(" ParamList? ")" ("as"
SequenceType)? FunctionBody
[2] ParamList ::= Param ("," Param)*
[3] Param ::= "$" EQName TypeDeclaration?
[66] TypeDeclaration ::= "as" SequenceType


Regards,


Tony Graham                                   tgraham(_at_)mentea(_dot_)net
Consultant                                 http://www.mentea.net
Mentea       13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
 --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --
    XML, XSL-FO and XSLT consulting, training and programming
       Chair, Print and Page Layout Community Group @ W3C

[1] http://www.w3.org/TR/xpath-30/
[3] http://www.w3.org/TR/xpath-30/#prod-xpath30-Param
[64] http://www.w3.org/TR/xpath-30/#prod-xpath30-InlineFunctionExpr
[66] http://www.w3.org/TR/xpath-30/#prod-xpath30-TypeDeclaration


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