diff options
author | Tim Hatch <tim@timhatch.com> | 2016-06-03 11:49:39 -0700 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2016-06-03 11:49:39 -0700 |
commit | 7c889a5a92b8622bf56b3d8f6a9953bba49ce5e8 (patch) | |
tree | ee7113628aa1d62d8d64dbd7ee7616ee7a9169ab /tests/examplefiles/rnc_example.rnc | |
parent | 2030bc55da7b11c58cd6f25d113f85da8bbff28c (diff) | |
parent | 0c6fd9c498d161cfdf29e442a218f78f2f211778 (diff) | |
download | pygments-7c889a5a92b8622bf56b3d8f6a9953bba49ce5e8.tar.gz |
Merged in pull request #595 (cmrx64/pygments-main)
Diffstat (limited to 'tests/examplefiles/rnc_example.rnc')
-rw-r--r-- | tests/examplefiles/rnc_example.rnc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/examplefiles/rnc_example.rnc b/tests/examplefiles/rnc_example.rnc new file mode 100644 index 00000000..a1440302 --- /dev/null +++ b/tests/examplefiles/rnc_example.rnc @@ -0,0 +1,33 @@ +# This is a sample RNC file from the tutorial for the 2003 Working Draft +# http://relaxng.org/compact-tutorial-20030326.html + +element html { + element head { + element title { text } + }, + element body { + element table { + attribute class { "addressBook" }, + element tr { + attribute class { "card" }, + element td { + attribute class { "name" }, + mixed { + element span { + attribute class { "givenName" }, + text + }?, + element span { + attribute class { "familyName" }, + text + }? + } + }, + element td { + attribute class { "email" }, + text + } + }+ + } + } +} |