Sample XML request, taken from
authorChris Cormack <chrisc@catalyst.net.nz>
Tue, 17 Sep 2013 21:47:58 +0000 (09:47 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 17 Sep 2013 21:52:17 +0000 (09:52 +1200)
xcncip2toolkit

Copyright John Bodfish 2010
MIT license

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/sample_data/LookupItemWithExampleItemIdentifierType.xml [new file with mode: 0644]

diff --git a/t/sample_data/LookupItemWithExampleItemIdentifierType.xml b/t/sample_data/LookupItemWithExampleItemIdentifierType.xml
new file mode 100644 (file)
index 0000000..fc4f6b1
--- /dev/null
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ns1:NCIPMessage
+  ns1:version="http://www.niso.org/schemas/ncip/v2_0/imp1/xsd/ncip_v2_0.xsd" xmlns:ns1="http://www.niso.org/2008/ncip">
+  <ns1:LookupItem>
+        <ns1:InitiationHeader>
+                <ns1:FromSystemId ns1:Scheme="http://www.altova.com">String</ns1:FromSystemId>
+                <ns1:FromSystemAuthentication>String</ns1:FromSystemAuthentication>
+                <ns1:FromAgencyId>
+                        <ns1:AgencyId ns1:Scheme="http://www.altova.com">String</ns1:AgencyId>
+                </ns1:FromAgencyId>
+                <ns1:FromAgencyAuthentication>String</ns1:FromAgencyAuthentication>
+                <ns1:OnBehalfOfAgency>
+                        <ns1:AgencyId ns1:Scheme="http://www.altova.com">String</ns1:AgencyId>
+                </ns1:OnBehalfOfAgency>
+                <ns1:ToSystemId ns1:Scheme="http://www.altova.com">String</ns1:ToSystemId>
+                <ns1:ToAgencyId>
+                        <ns1:AgencyId ns1:Scheme="http://www.altova.com">String</ns1:AgencyId>
+                </ns1:ToAgencyId>
+                <ns1:ApplicationProfileType ns1:Scheme="http://www.altova.com">String</ns1:ApplicationProfileType>
+        </ns1:InitiationHeader>
+        <ns1:ItemId>
+                <ns1:AgencyId ns1:Scheme="http://www.altova.com">String</ns1:AgencyId>
+                <ns1:ItemIdentifierType ns1:Scheme="http://www.extensiblecatalog.ncip.v2.org/schemes/itemidentifiertype/exampleitemidentifiertype.scm">Item Id</ns1:ItemIdentifierType>
+                <ns1:ItemIdentifierValue>String</ns1:ItemIdentifierValue>
+        </ns1:ItemId>
+        <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Bibliographic Description</ns1:ItemElementType>
+        <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Circulation Status</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Electronic Resource</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Hold Queue Length</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Item Description</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Item Use Restriction Type</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Location</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Physical Condition</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Security Marker</ns1:ItemElementType>
+      <ns1:ItemElementType ns1:Scheme="http://www.niso.org/ncip/v1_0/schemes/itemelementtype/itemelementtype.scm">Sensitization Flag</ns1:ItemElementType>
+        <ns1:CurrentBorrowerDesired/>
+        <ns1:CurrentRequestersDesired/>
+  </ns1:LookupItem>
+</ns1:NCIPMessage>
+