Askemos Forum

I have some Question about sxpath.[Edit]ups i think it´s a DSSSL-question[Edit]28. July 2004
I have some problems to find that what i want.
Normally i work with Cocoon (XML+XSLT), a few thinks are the same and a few other not.
I have following tree
editor:state
  smsBody
    sms
    date
  smsBody
  smsBody
    sms
    date
 smsBody
...
editor:state
Now i want to create for each smsBody a tablerow with 2 cells one for the sms and one for date. The tablerows works good with dsssl:for-each, but the problem is to get out the sms and date.
With
[d:apply-templates select="
                ((sxpath '(state smsBody sms)) (grove-root (current-node)))"]
              [/d:apply-templates]

i get all values of sms in one cell at each row.

Normally i used xslt:value-of, is there something like this in sxpath or must i go a other way.

Raphael
Re: I have some Question about sxpath.[Edit]ups i think it´s a DSSSL-question[Edit]29. July 2004
Short answer: I need more information, long answer: some more tips.
Reply
Subject
Abstract (up to 200 characters)
Full Text
When you post, you might receive a timeout error... just push the reload button in that case.
Intro - slides
Askemos Wiki
Publikationen