| ZVON > > Templatotron |
| Intro / Search / ZVON |
| >> Page 1 << | Prev | Next | contents | introduction | reference | download | |
Any XML document can be used as a Templatotron template. If it does not contain any attribute from Templatotron namespace, it simply creates an XSLT stylesheet which when applied on any other XML document it will produce the template one. It is not very useful behaviour but it can have its use as a test that a Templatotron implementation is functioning properly.
|
XML source
<aaa/> Templatotron source
<math xmlns="http://www.w3.org/1998/Math/MathML" > <apply> <plus/> <cn>1</cn> <cn>3</cn> </apply> </math> |
Output
<math xmlns="http://www.w3.org/1998/Math/MathML" > <apply> <plus/> <cn>1</cn> <cn>3</cn> </apply> </math> |