Hi Kriangkrai,
> (with-xml
> (<tag1 (@ attr1 val1)
> "text"
> (<tag2 "text")
> "text" ))
If you go this route, why not something like:
(with-xml
(<tag1 @attr1 val1
"text"
(<tag2 "text")
"text" ) )
Also, if you don't manage to hook your error handler to define the tag
functions "on-the-fly", you can always traverse the tree argument of
'with-xml' and replace (or define) the tag symbols with your generic
tag function and then eval the whole tree.
Cheers,
Tomas
--
UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe