-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
xt3d.scroll
20 lines (17 loc) · 1.07 KB
/
xt3d.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import ../code/conceptPage.scroll
id xt3d
name xt3d
appeared 2000
creators Shriram Krishnamurthi and Kathryn E. Gray and Paul T. Graunke
tags grammarLanguage
conceptDescription 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.
relatedConcepts xslt
reference http://cs.brown.edu/people/sk/Publications/Papers/Published/kgg-xt3d/paper.pdf
example
<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>