about summary refs log tree commit diff
path: root/tests/lang/eval-okay-to-xml.exp
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-08-24T14·34+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-08-24T14·34+0000
commit215ec2ddc6088be2291722a544c6ab5a1b00a5a1 (patch)
tree55f65759701dba8513986bcf23e33086b472e2f5 /tests/lang/eval-okay-to-xml.exp
parentf793caf93674350f8c1e6fa740ab6cce649d0db8 (diff)
* New primop __toXML (or builtins.toXML) to convert an expression to
  an XML representation stored in a string.  This should be useful to
  pass structured information to builders.

Diffstat (limited to 'tests/lang/eval-okay-to-xml.exp')
-rw-r--r--tests/lang/eval-okay-to-xml.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-okay-to-xml.exp b/tests/lang/eval-okay-to-xml.exp
new file mode 100644
index 000000000000..ee7d4c7d32e5
--- /dev/null
+++ b/tests/lang/eval-okay-to-xml.exp
@@ -0,0 +1 @@
+Str("<?xml version='1.0' encoding='utf-8'?>\n<expr>\n  <list>\n    <string value=\"ab\" />\n    <int value=\"10\" />\n    <attrs>\n      <attr name=\"x\">\n        <string value=\"x\" />\n      </attr>\n      <attr name=\"y\">\n        <string value=\"x\" />\n      </attr>\n    </attrs>\n  </list>\n</expr>\n")