<html> <head> <title>ebXML Business Entity Definition</title> </head> <body> <h1 align="center">ebXML Additional Components Definition</h1> <form id="Entity" method="POST" onsubmit="var XMLdec = '&#60;?xml version=&#34;1.0&#34;?&#62;\n' ; var OutputDTD = '&#60;!DOCTYPE Order SYSTEM &#34;c:/My Documents/ebxml/CoreComponents2.dtd&#34;&#62;\n'; var filepath = document.all.EntityDirectory.value ; var filename = filepath + document.all.EntityID.value + '.xml'; var text = XMLdec + OutputDTD ; text += '&#60;CoreComponents&#62;\n'; text += '&#60;Entity&#62;\n'; text += '&#60;Date&#62;' + document.all.Date.value + '&#60;/Date&#62;\n'; text += '&#60;Submitter&#62;' + document.all.Submitter.value + '&#60;/Submitter&#62;\n'; text += '&#60;Community&#62;' + document.all.Community.value + '&#60;/Community&#62;\n'; text += '&#60;Identifier&#62;' + document.all.EntityID.value + '&#60;/Identifier&#62;\n'; text += '&#60;Name&#62;' + document.all.EntityName.value + '&#60;/Name&#62;\n'; text += '&#60;Description&#62;' + document.all.Description.value + '&#60;/Description&#62;\n'; for (i=0; i &#60; document.all.PropertyName.length; i++) {if (document.all.PropertyName[i].getAttribute('value') != '') {text += '&#60;Component&#62;\n'; text += '&#60;Name&#62;' + document.all.PropertyName[i].getAttribute('value') + '&#60;/Name&#62;\n'; text += '&#60;Description&#62;' + document.all.PropertyDescription[i].getAttribute('value') + '&#60;/Description&#62;\n'; text += '&#60;Cardinality&#62;' + document.all.Cardinality[i].getAttribute('value') + '&#60;/Cardinality&#62;\n'; {if (document.all.FieldType[i].getAttribute('value') == 'R') {text += '&#60;RepresentationID&#62;' + document.all.ID[i].getAttribute('value') + '&#60;/RepresentationID&#62;\n';} else text += '&#60;EntityID&#62;' + document.all.ID[i].getAttribute('value') + '&#60;/EntityID&#62;\n'; } text += '&#60;/Component&#62;\n'; } } for (i=0; i &#60; document.all.Use.length; i++) {if (document.all.Use[i].getAttribute('value') != '') {text += '&#60;EntityApplication&#62;\n'; text += '&#60;Name&#62;' + document.all.Use[i].getAttribute('value') + '&#60;/Name&#62;\n'; text += '&#60;Description&#62;' + document.all.Function[i].getAttribute('value') + '&#60;/Description&#62;\n'; text += '&#60;Constraints&#62;' + document.all.Constraints[i].getAttribute('value') + '&#60;/Constraints&#62;\n'; text += '&#60;/EntityApplication&#62;\n'; } } text += '&#60;/Entity&#62;\n'; text += '&#60;/CoreComponents&#62;\n'; var NewFile = new ActiveXObject('Scripting.FileSystemObject'); var Response = NewFile.CreateTextFile(filename, true); Response.Write(text); Response.Close(); window.open(filename); " > <p align="right">Date: <input type="hidden" name="Date" size="20" onfocus="window.status='Enter date as CCYY-MM-DD'">' + document.all.Date.value + '<br> Submitter: <input type="hidden" name="Submitter" size="20" onfocus="window.status='Enter name of submitting organization'"></p> <p>User Community: <input type="hidden" name="Community" size="30" onfocus="window.status='Enter name of community who this core component is aimed at'"><br> Entity ID: <input type="hidden" name="EntityID" size="20" onfocus="window.status='Assign Unique ID which can be used as filename for business entity definition'">&#9; Directory for Entity storage: <input type="hidden" name="EntityDirectory" size="30" value="c:/My Documents/ebxml/entities/" onfocus="window.status='Enter path to directory to be used to store patterns on local client or network'"><br> Entity Name: <input type="hidden" name="EntityName" size="76" onfocus="window.status='Assign name by which entity will be referred to within documents'"> <br> Entity Description:<br> <textarea rows="7" name="Description" cols="77" onfocus="window.status='Describe purpose of business entity as concisely as possible'"></textarea></p> <h4 align="left">Embedded Components</h4> <table border="0" cellpadding="0" cellspacing="0" width="100%" height="145"> <tr> <td>Name</td> <td>Type</td> <td>Identifier<sup>1</sup></td> <td>Card.<sup>2</sup></td> <td>Description</td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="24"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="24"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="24"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="24"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="24"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="24"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="24"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="24"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> <tr> <td height="25"><input type="text" name="PropertyName" size="20" onfocus="window.status='Assign name by which component will be reffered to within documents'"></td> <td height="25"><select size="1" name="FieldType" onfocus="window.status='Indicate whether embedded entity, or a data containing element with a specific representation'"> <option value="E">Entity Definition</option> <option value="R">Data Representation</option> </select></td> <td height="25"><input type="text" name="ID" size="15" onfocus="window.status='Assign Unique ID that will be used as filename for entity definition'"></td> <td height="25"><input type="text" name="Cardinality" size="5" onfocus="window.status='Leave blank if only one, or enter 0..1, 0..*, 1..* or m..n'"></td> <td height="25"><textarea rows="1" name="PropertyDescription" cols="30" onfocus="window.status='Briefly describe the purpose of the component'"></textarea></td> </tr> </table> <p><sup>1</sup> Identifier assigned to formal definition of Data Entity/Data Representation<br> <sup>2</sup> Cardinality of object (how many times it can occur) expressed as 0..1 (optional), 0..* (optional and repeatable), 1..* (required and repeatable) or m..n (m=min, n=max no of occurrences)</p> <p align="center"><input type="submit" value="Submit these components"> <input type="button" value="Add Further Components" name="AdditionalComponents"></p> <p align="center"><input type="button" value="New Entity Definition" onclick="window.open('Entity.htm')"></p> <p align="center"><input type="button" value="Create Data Representation Definition" onclick="window.open('Representation.htm')"></p> </p> </form> </body> </html>