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 -----------------------------------------------------------------