xsl-list
[Top] [All Lists]

[xsl] Re: xsl-list Digest 28 Feb 2007 06:10:00 -0000 Issue 1062

2007-02-28 06:44:04
Thanks for the reply drkm but I'm having trouble with the sequence 
matching on

  <xsl:template name="my:grouping">
    <xsl:param name="p" as="element(w:p)+"/>
  .....

I'm getting an "Error in XPath 2.0 expression Type error, value does not 
match required type as specified by the matching rules in 2.5.4 Sequence 
Type Matching.- 'element(w:p)+

I get the same error if I substitute "element(w:p)+" with "element()", 
"element(w:p)" or "xs:string" but "xs:integer" does not throw an error.

Any ideas.

I'm using XSL version 2.0 and XMLSpy 2007 


Regards
Andy

Andy Carr
IT Specialist
Tel: Internal - 298037 External - 01252 558037
Mail Point  M1C IBM Application Services
Meudon House, Meudon Avenue, Farnborough, GU14 7NB
(Notes) Andy Carr1/UK/IBM(_at_)IBMGB 
(Internet)CARRA(_at_)uk(_dot_)ibm(_dot_)com






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU







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