xt3d is a grammar language created in 2000 by Shriram Krishnamurthi and Kathryn E. Gray and Paul T. Graunke.
#3629on PLDB | 24Years Old |
We have designed and implemented xt3d, a highly declarative xml specification language. It demands little more from users than a knowledge of the expected input and desired output. We illustrate the power of xt3d with several examples, including one reminiscent of polytypic programming that greatly simplifies the import of xml values into general-purpose languages. . xt3d is itself an xml language, so users do not need to learn a new surface syntax. The principal advantage of xt3d over xslt is that it provides an extremely simple, declarative language for describing transformations over xml elements.
<xt3d-output>
<ul>
<li><xt3d-use name="name"/></li>
<li><b><xt3d-use name="num"/></b> <xt3d-.../></li>
<li><i><xt3d-use name="fmt"/></i> <xt3d-.../></li>
</ul>
</xt3d-output>