Azubi: XSLT und kein Ende

Hallo,
ich habe folgendes XML:
<xmlShowContent>
  <cp id="cp"><![CDATA[app/content/query.aspx]]></cp>
  <type id="type"><![CDATA[20060504170000000000]]></type>
  <queryid id="queryid"><![CDATA[20060619111500019265]]></queryid>
  <action id="action"><![CDATA[toCreate]]></action>
  <para.file.war id="para.file.war"><![CDATA[warfile.txt]]></para.file.war>
  <para.file.dbconf id="para.file.dbconf"><![CDATA[DB-Conf-File.txt]]></para.file.dbconf>
  <para.file.properties id="para.file.properties"><![CDATA[Properties-File.txt]]></para.file.properties>
  <para.portal id="para.portal"><![CDATA[P-NG-TC3Hx]]></para.portal>
  <para.exec.date id="para.exec.date"><![CDATA[21.06.2006]]></para.exec.date>
  <para.exec.time id="para.exec.time"><![CDATA[06:00]]></para.exec.time>
  <para.mail id="para.mail"><![CDATA[fgf@.de]]></para.mail>
<block>
  <queryinfo text="Query ID :" info="20060619111500019265" />
</block>
<formfileupload tag="para.file.war"  text="lokale Datei für WAR-File ? :" size="50" maxlength="255" value="" />
<formfileupload tag="para.file.dbconf" text="lokale Datei für DB-Conf-File ? :" size="50" maxlength="255" value="" />
<formfileupload tag="para.file.properties" text="lokale Datei für Properties-File ? :" size="50" maxlength="255" value="" />
<form>
  <queryselect tag="para.portal" text="welcher Tomcat-Server/Cluster ? :">
    <option>
      <id>P-NG-TC3Hx</id>
      <name>P-NG-TC3Hx</name>
    </option>
  </queryselect>
  <querydate tag="para.exec.date" text="Startdatum z.B 26.12.2006 ? :"/>
  <querytime tag="para.exec.time" text="Startzeit z.B 12:00 ? :"/>
  <querymail tag="para.mail" text="Mail an ? :"/>
  <queryhidden name="MAX_FILE_SIZE" value="20971520" />
</form></xmlShowContent>

ich möchte jetzt folgendes:
ich befinde mich auf der Ebene /xmlShowContent/para.file.war und eigentlich möchte ich mir den @text ausgeben lassen wo xmlShowContent/para....[@id] = xmlShowContent/formf...[@tag] ist .

Jemand eine Idee ?
Danke und Gruss , Azubi

  1. Hello out there!

    ich habe folgendes XML:
    <xmlShowContent>

    Das solltest du aber nicht haben.

    „Namen, die mit »xml« oder mit einer Zeichenkette beginnen, die zu (('X'|'x') ('M'|'m') ('L'|'l')) passt, sind für die Standardisierung in dieser oder einer zukünftigen Version dieser Spezifikation reserviert.“ [XML]

    See ya up the road,
    Gunnar

    --
    “Remember, in the end, nobody wins unless everybody wins.” (Bruce Springsteen)
  2. Hallo,

    ich habe folgendes XML:

    [...]

    ich möchte jetzt folgendes:
    ich befinde mich auf der Ebene /xmlShowContent/para.file.war und eigentlich möchte ich mir den @text ausgeben lassen wo xmlShowContent/para....[@id] = xmlShowContent/formf...[@tag] ist .

    Jemand eine Idee ?

    Abgesehen vom Problem mit xmlShowContent, ...

    <xsl:value-of select="../xmlShowContent/*[@id = ../xmlShowContent/form/*/@tag]" />

    Grüße
    Thomas