Measures Concepts
GitHub icon

xt3d

xt3d - Grammar language

< >

xt3d is a grammar language created in 2000 by Shriram Krishnamurthi and Kathryn E. Gray and Paul T. Graunke.

#2739on 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.


Example from the web:
<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>

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout