open 903926.xml ; map :i {s/(.*)/[$1]/} //mml:mi[text()!="s"] ; # wrap non-s in square b +rackets map "..." //mml:mi[text()="s"] ; # replace s with ...
In reply to Re: Replace MathML content using Twig
by choroba
in thread Replace MathML content using Twig
by renovatio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |