emime 0 Newbie Poster

Please help, no way to solve it :(( ...

Given this input:

<p class="Absatz">SIT_RTSPECIFICATION Input</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_RTSPECIFICATION",</p>

  <p class="code" style="font-weight: normal;">'STR_RTSPEC_ID: "specification ID",</p>

  <p class="code" style="font-weight: normal;">'STR_RTSPEC_NAME: "specification name",</p>

  <p class="code" style="font-weight: normal;">'STR_RTSPEC_DESC: "description",</p>

  <p class="code" style="font-weight: normal;">'ENTITY_CONTENT': sequence(</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_RTSPECIFICATION_PROPERTY", 'STR_PROPERTY_NAME: "property 1", 'VNT_VALUE: "value"),</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_RTSPECIFICATION_PROPERTY", 'STR_PROPERTY_NAME: "property 2", 'VNT_VALUE: "value")))</p>

  <p class="Absatz">SIT_RTDEFECT_REF Input</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_RTDEFECT_REF", 'STR_DEFECT_COD: "defect code")</p>

  <p class="Absatz">SIT_CLASS_REF Input</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_CLASS_REF", 'STR_CLASS_ID: "LOT")</p>

  <p class="Absatz">SIT_METHOD_OPTIONS Input</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_METHOD_OPTIONS", 'LNG_ADD_OPTIONS: 1)</p>

  <p class="Absatz">SIT_RTSPECIFICATION_REF Output</p>

  <p class="code" style="font-weight: normal;">structure ('ENTITY_NAME': "SIT_RTSPECIFICATION_REF", 'STR_ALTERNATIVE_ID: "1", 'STR_RTSPEC_ID: "specification ID")</p>

I want the following output:

<p class="Absatz">The call to the method can use the following parameters:</p>

  <p class="Absatz">SIT_RTSPECIFICATION Input</p>

  <pre>structure ('ENTITY_NAME': "SIT_RTSPECIFICATION",'STR_RTSPEC_ID: "specification ID",'STR_RTSPEC_NAME: "specification name",
'STR_RTSPEC_DESC: "description",
'ENTITY_CONTENT': sequence(structure ('ENTITY_NAME': "SIT_RTSPECIFICATION_PROPERTY", 'STR_PROPERTY_NAME: "property 1", 'VNT_VALUE: "value"),structure ('ENTITY_NAME': "SIT_RTSPECIFICATION_PROPERTY", 'STR_PROPERTY_NAME: "property 2", 'VNT_VALUE: "value")))</pre>

  <p class="Absatz">SIT_RTDEFECT_REF Input</p>

  <pre>structure ('ENTITY_NAME': "SIT_RTDEFECT_REF", 'STR_DEFECT_COD: "defect code")</pre>

  <p class="Absatz">SIT_CLASS_REF Input</p>

  <pre>structure ('ENTITY_NAME': "SIT_CLASS_REF", 'STR_CLASS_ID: "LOT")</pre>

  <p class="Absatz">SIT_METHOD_OPTIONS Input</p>

  <pre>structure ('ENTITY_NAME': "SIT_METHOD_OPTIONS", 'LNG_ADD_OPTIONS: 1)</pre>

  <p class="Absatz">SIT_RTSPECIFICATION_REF Output</p>

  <pre>structure ('ENTITY_NAME': "SIT_RTSPECIFICATION_REF", 'STR_ALTERNATIVE_ID: "1", 'STR_RTSPEC_ID: "specification ID")</pre>