[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can't use variable in sxml-match?
From: |
nalaginrut |
Subject: |
Re: can't use variable in sxml-match? |
Date: |
Wed, 01 Jun 2011 07:56:04 +0800 |
> Hello,
>
> Ian Price <address@hidden> 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
[(my-pattern
(@ (type ,tv)) ,cv)
...............
===============End===============
I want to use a variable to be the tag-symbol in sxml-match. But we
found it impossible in IRC discussion, because the sxml-match syntax
definition said this tag-symbol must be a already-known-symbol. So
there's some generalize problem. Ian thought a simple approach to solve
this without modify the sxml-match code.
--
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
--hacker key--
v4sw7CUSMhw6ln6pr8OSFck4ma9u8MLSOFw3WDXGm7g/l8Li6e7t4TNGSb8AGORTDLMen6g6RASZOGCHPa28s1MIr4p-x
hackerkey.com
---end key---