Re: can't use variable in sxml-match?

2011-05-31 Thread Ludovic Courtès
Hello, Ian Price ianpric...@googlemail.com skribas: Just a note to say that we found a solution to nalaginrut's problem on IRC. Great. What was the problem? Ludo'.

Re: can't use variable in sxml-match?

2011-05-31 Thread nalaginrut
Hello, Ian Price ianpric...@googlemail.com skribas: Just a note to say that we found a solution to nalaginrut's problem on IRC. Great. What was the problem? Ludo'. well~let me repeat it in brief: ===Begin=== (lambda (my-pattern) (sxml-match cl

can't use variable in sxml-match?

2011-05-19 Thread nalaginrut
hi guys! I got a problem when I using sxml-match. Let me describe it more briefly: Begin= (sxml-match cl [(http://www.w3.org/2005/Atom:content (@ (type ,tv)) ,cv) ...do something... [,otherwise #f])

Re: can't use variable in sxml-match?

2011-05-19 Thread nalaginrut
Sorry, there's a typo caused huge misunderstand in IRC. Let me fix my letter: Begin= (sxml-match cl [(http://www.w3.org/2005/Atom:content (@ (type ,tv)) ,cv) ...do something... [,otherwise #f]) ===End==

Re: can't use variable in sxml-match?

2011-05-19 Thread Ian Price
Hi guilers, Just a note to say that we found a solution to nalaginrut's problem on IRC. (lambda (mypattern) ;; Instead of testing the head of the pattern in the sxml-match, I ;; have moved it out to here. (let* ((new-tag (if (equal? mypattern (car cl)) 'success

Re: can't use variable in sxml-match?

2011-05-19 Thread nalaginrut
Hi guilers, Just a note to say that we found a solution to nalaginrut's problem on IRC. (lambda (mypattern) ;; Instead of testing the head of the pattern in the sxml-match, I ;; have moved it out to here. (let* ((new-tag (if (equal? mypattern (car cl))