Askemos Forum

@Joerg Forum-Question12. October 2004
Hello Joerg,

I have some problem with understanding your Forum-Code.

Here is the part i don“t understand right now.
The part where you read out subject and other data from the
replies
<dsssl:for-each select="
 (sort ((me 'fold-links) cons '()) string>?)">
    <dsssl:copy-of select="#CONTENT">
 (let ((article (guard (ex (else (empty-node-list)))
                 (fetch (me (current-node))
                        body: (xsl-variable "selform")))) )
   (node-list
    (make element gi: 'tr
      attributes: '((class "phead"))
       (make element gi: 'td attributes: '((class "subject"))
         (make element gi: 'a
            attributes: `((href ,(read-locator
                                  (msg 'location-format)
                                  (list (me (data (current-node)))))))

         ((sxpath '(subject *any*)) article))
         (make element gi: 'td attributes: '((class "date"))
           ((sxpath '(date *any*)) article))))
    (make element gi: 'tr attributes: '((class "abstract"))
      (make element gi: 'td attributes: '((colspan "2"))
        ((sxpath '(abstract *any*)) article)))
   ))

</dsssl:copy-of>
   </dsssl:for-each>

In let you make a fetch:
(fetch (me (current-node))
            body: (xsl-variable "selform")))))
I think you fetch data from selform, but selform looks so:
 <xsl:variable name="selform">
  <form>
   <select>model</select>
  </form>
 </xsl:variable>

Now i ask me "How you get the data about subject etc. out there,
but it works at you in contrast to me?"

best regards
Raphael
more... @Joerg Forum-Question12. October 2004
Re: @Joerg Forum-Question12. October 2004
Not quite, but close. Both sides have to cooperate. Here is how they do:
Intro - slides
Askemos Wiki
Publikationen