xsl-list
[Top] [All Lists]

AW: XSLT 2.0 - Combining Node Sequences

2004-12-09 04:59:32
Ah, I see.
Thanks for your responses!

wbr,
Roman 

-----Ursprüngliche Nachricht-----
Von: Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com 
[mailto:Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com] 
Gesendet: Donnerstag, 9. Dezember 2004 12:28
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: RE: [xsl] XSLT 2.0 - Combining Node Sequences

Hi,

At the moment I am struggeling with learning XSLT 2.0 and XPath 2.0.
Just yesterday I read about "Combining Node Sequences" 
which I wanted 
to test in a little stylesheet.
If I have understood the concept right, the following expression 
should be ok:

(para | section)/title

should match both para/title and section/title.
But trying this with the latest version of Saxon, I get the 
following 
error message:

 XPath syntax error at char 0 in {(para}:
   Unexpected token in pattern, found "("

Is there a problem with my understanding or is Saxon not supporting 
this feature yet?
thanks you very much for your help in advance!

The key word here is "pattern". Patterns 
<http://www.w3.org/TR/xslt20/#pattern-syntax> cannot contain 
the contruct you used, Expressions 
<http://www.w3.org/TR/xpath20/#id-expressions> can. Use

  para/title | section/title

Cheers,

Jarno

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



--~------------------------------------------------------------------
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>
  • AW: XSLT 2.0 - Combining Node Sequences, Huditsch Roman <=