Hello
i am a trainee on the EMC Office in Leonberg/Germany. At the moment i works on a IT-Servicecatalog for EMC Germany, these catalog should contain all services (inclusive description, tools and documents for the respective services) which will offert from EMC Germany to the customers. This catalogue application should be uploaded later then in Documentum 6.5
The first steps are already taken, the XML file is also finished and the DTD too. Now I have got to know I still a XML application configuration file needs to be able to upload around the application then in Documentum 6.5 .Then afterwards I have tried to create, however, this file with the help of the examples in XML Application Development Guide, but i have gotten very fast problems, because the examples are not applicable in XML Application Development Guide but only limits useable.Then I have created first a small attempt file not to break in my real file (1 XML-File, 1DTD)
but I have not understood it, nevertheless like have functioned it - the problem I has is not white I like or what one in the XML application configuration file write, with it I there increases level or node gets, however i try it.....
these are my files to now
My XML Example File
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Element1 SYSTEM "file:///C:/Documents and Settings/Zumker/Desktop/Versuchsordner/versuch1.dtd">
<Element1>
<Level1 Name="" Datum="">
<Level1.1 Name="" Kapitelinhalt=""/>
</Level1>
<Level2 Name="" Datum=""/>
<Level3 Name=""/>
</Element1>
My DTD Example File
<?xml version="1.0" encoding="UTF-8"?>
<!ELEMENT Element1 (Level1, Level2, Level3)>
<!ATTLIST Element1
Name CDATA #IMPLIED
Datum CDATA #IMPLIED>
<!ELEMENT Level1 (Level1.1)>
<!ATTLIST Level1
Name CDATA #REQUIRED
Datum CDATA #REQUIRED>
<!ELEMENT Level1.1 EMPTY>
<!ATTLIST Level1.1
Name CDATA #REQUIRED
Kapitelinhalt CDATA #REQUIRED>
<!ELEMENT Level2 EMPTY>
<!ATTLIST Level2
Name CDATA #REQUIRED
Datum CDATA #REQUIRED>
<!ELEMENT Level3 EMPTY>
<!ATTLIST Level3
Name CDATA #REQUIRED>
My XML application configuration example file
<?xml version="1.0" encoding="utf-8"?>
<application>
<!-- Name der Application in Documeentum -->
<name>versuch</name>
<!-- Root-Elementes -->
<app_pattern><element>Element1</element></app_pattern>
<map_rules/>
<!-- Lokalisieren des ersten Elementes und setzen als neues Objekt in Documentum-->
<xml_content_rule>
<element_selection_pattern>
<element>Element1</element>
</element_selection_pattern>
<!-- Ab hier folgt die Attributs bzw. Variablisten für Element1 -->
<variables>
<!-- Beginn der ersten Variablendefinition -->
<variable>
<!-- Name des Attributes oder Variable -->
<name>Name</name>
<content_of_element>
<element_selection_pattern>
<!-- Wert der Variablen -->
<element>Peter</element>
</element_selection_pattern>
</content_of_element>
<!-- Wert falls Attribut oder Variable leer -->
<default>undefiniert</default>
<!-- Ende der ersten Variablendefenition -->
</variable>
<variable>
<name>Datum</name>
<content_of_element>
<element_selection_pattern>
<element></element>
</element_selection_pattern>
</content_of_element>
<default>01.01.2010</default>
</variable>
</variables>
<!-- Beginn der Strukturangabe -->
<location>
<path>
/Versuchscabinet/Element1/
</path>
<!-- Ende der Strukturangabe -->
</location>
<!-- <nach location muss hier eventuell noch der Tag object_name eingefügt werden-->
<!-- make_entity = Commit???? -->
<make_entity/>
</xml_content_rule>
<!-- Beginn des zweiten Elementes -->
<xml_content_rule>
<element_selection_pattern>
<element>Level1.1</element>
</element_selection_pattern>
<!--Beginn Variableneliste des Subelements von Element1 -->
<variables>
<variable>
<!-- Name des Subelements von Element1 -->
<name>Name</name>
<?xml version="1.0" encoding="utf-8"?>
<application>
<!-- Name der Application in Documeentum -->
<name>versuch</name>
<!-- Root-Elementes -->
<app_pattern><element>Element1</element></app_pattern>
<map_rules/>
<!-- Lokalisieren des ersten Elementes und setzen als neues Objekt in Documentum-->
<xml_content_rule>
<element_selection_pattern>
<element>Element1</element>
</element_selection_pattern>
<!-- Ab hier folgt die Attributs bzw. Variablisten für Element1 -->
<variables>
<!-- Beginn der ersten Variablendefinition -->
<variable>
<!-- Name des Attributes oder Variable -->
<name>Name</name>
<content_of_element>
<element_selection_pattern>
<!-- Wert der Variablen -->
<element>Peter</element>
</element_selection_pattern>
</content_of_element>
<!-- Wert falls Attribut oder Variable leer -->
<default>undefiniert</default>
<!-- Ende der ersten Variablendefenition -->
</variable>
<variable>
<name>Datum</name>
<content_of_element>
<element_selection_pattern>
<element></element>
</element_selection_pattern>
</content_of_element>
<default>01.01.2010</default>
</variable>
</variables>
<!-- Beginn der Strukturangabe -->
<location>
<path>
/Versuchscabinet/Element1/
</path>
<!-- Ende der Strukturangabe -->
</location>
<!-- <nach location muss hier eventuell noch der Tag object_name eingefügt werden-->
<!-- make_entity = Commit???? -->
<make_entity/>
</xml_content_rule>
<!-- Beginn des zweiten Elementes -->
<xml_content_rule>
<element_selection_pattern>
<element>Level1.1</element>
</element_selection_pattern>
<!--Beginn Variableneliste des Subelements von Element1 -->
<variables>
<variable>
<!-- Name des Subelements von Element1 -->
<name>Name</name>
<content_of_element>
<element_selection_pattern>
<element></element>
</element_selection_pattern>
</content_of_element>
<!-- Wert des Subelements von Element1 wenn Wert leer -->
<default>undefiniert</default>
</variable>
<variable>
<name>Kapitelinhalt</name>
<content_of_element>
<element_selection_pattern>
<element>Guten Morgen</element>
</element_selection_pattern>
</content_of_element>
<default>undefiniert</default>
</variable>
<!-- Ende der Variablenliste des Subelements von Element1 -->
</variables>
<!-- Beginn der Strukturangabgen des Subelements von Element1 -->
<location>
<path>/Versuchscabinet/Element1/Level1.1/</path>
<!-- Ende der Struturangaben des Subelements von Element1 -->
</location>
<!-- <nach location muss hier eventuell noch der Tag object_name eingefügt werden-->
<!-- make_entity = Commmit??? -->
<make_entity/>
Is right the XML application confiuguration file till then or is wrong there already what i have written???? Would be great if to me there somebody could help!!!
That best of all it would be natural if to me somebody a finished file for mine XML application configuration-example file could make, so that I it for my right file only derive needs
Im glad on your posting and helps