Siebel Interactive Selling Transact Server Interface Reference > Integrating the Order Management System > Working With the DTD >

The Generic LineItem DTD


This section includes the complete code for the generic LineItem DTD.

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE document >
<!ELEMENT SiebelLineItem (User?, Item+)>
<!—siebel_id: Siebel unique identifier —>
<!-- created_on: timestamp -->
<!-- id: 3rd party unique identifier -->
<!ATTLIST SiebelLineItem
siebel_id ID #REQUIRED
created_on #REQUIRED
id ID #IMPLIED
>

<!-- user element is optional, contains buyer identification information -->
<!ELEMENT User>
<!ATTLIST User
user_id CDATA #REQUIRED
account_id CDATA #IMPLIED
session_id CDATA #IMPLIED
order_id CDATA #IMPLIED
>

<!--Price type examples: quoted, list, discount -->
<!ELEMENT Price (#PCDATA)>
<!ATTLIST Price
type CDATA #REQUIRED
currency CDATA #IMPLIED
>

<!ELEMENT ConfigData (#PCDATA)>
<!ATTLIST ConfigData
name CDATA #REQUIRED
>

<!— An item must have config data (name/value pairs) associated with it
An item can have zero or more items as children
An item can have zero or more Price elements —>
<!ELEMENT Item (ConfigData+, Price*, Item*)>
<!ATTLIST Item
part_number CDATA #IMPLIED
quantity CDATA #REQUIRED
description CDATA #IMPLIED
>

]>


 Siebel Interactive Selling Transact Server Interface Reference 
 Published: 18 April 2003