adding xml serialization example of Usage
authorStephan Zednik <zednis@rpi.edu>
Sun, 19 Aug 2012 22:50:33 -0600
changeset 4357 a9ead4882694
parent 4356 dd9b0506b37a
child 4358 eaef92702e1e
adding xml serialization example of Usage
examples/eg-40-xml-examples-by-term/xml/Usage.xml
--- a/examples/eg-40-xml-examples-by-term/xml/Usage.xml	Sun Aug 19 21:50:58 2012 -0600
+++ b/examples/eg-40-xml-examples-by-term/xml/Usage.xml	Sun Aug 19 22:50:33 2012 -0600
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- based on Example 20 from http://www.w3.org/TR/prov-dm/#anexample-usage -->
+<prov:records xmlns:prov="http://www.w3.org/ns/prov#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+	<prov:activity prov:id="a1"/>
+	<prov:entity prov:id="e1"/>
+	<prov:entity prov:id="e2"/>
+	<prov:dependencies>
+		<prov:used>
+			<prov:time>2011-11-16T16:00:00</prov:time>
+			<prov:activity prov:ref="a1"/>
+			<prov:entity prov:ref="e1"/>
+			<!--<ex:parameter>p1</ex:parameter>-->
+		</prov:used>
+		<prov:used>
+			<prov:time>2011-11-16T16:00:01</prov:time>
+			<prov:activity prov:ref="a1"/>
+			<prov:entity prov:ref="e2"/>
+			<!--<ex:parameter>p2</ex:parameter>-->
+		</prov:used>
+	</prov:dependencies>
+</prov:records>
\ No newline at end of file