![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Wolfgang Schuster wrote:
On Fri, May 9, 2008 at 11:56 AM, Jelle Huisman
wrote: Wolfgang Schuster wrote:
Did this come closer to what you want.
Almost, however I added "xlanguagetag=>\let\FormatSpan\bold" to get to the nested span element and that didn't work. Any suggestions?
\defineXMLenvironment [span] [class=] {\bgroup \processaction [\XMLpar{span}{class}{}] [word=>\let\FormatSpan\bold, defenition=>\let\FormatSpan\mono]%
xlanguagetag=>\let\FormatSpan\bold % <- this does not work (because it is nested?)
\FormatSpan} {\egroup}
\defineXMLenvironment [span] [class=] {\bgroup \processaction [\XMLpar{span}{class}{}] [word=>\let\FormatSpan\bold, defenition=>\let\FormatSpan\mono, xlanguagetag=>\let\FormatSpan\italic]% \FormatSpan} {\egroup}
grep for \XMLmapvalue and \XMLval and so ... faster than processaction ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------