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

Subject: [xsl] Re: xsl-list Digest 28 Feb 2007 06:10:00 -0000 Issue 1062
From: Andy Carr1 <CARRA@xxxxxxxxxx>
Date: Wed, 28 Feb 2007 13:43:39 +0000
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@IBMGB 
(Internet)CARRA@xxxxxxxxxx






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

Current Thread