Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML: Elemente in Tabelle anordnen

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

ich habe ein Problem und Kopfschmerzen:

Ich habe eine XML-Datei, welche automatisch aus einer Applikation erstellt wird und so aufgebaut ist:

<LISTE>

<ELEMENT>

<SYSTEMNAME>

<STATUS>

</ELEMENT>

</LISTE>

Nun möchte ich in meiner xsl-Datei die Anzeige der XML-Datei so verändern, dass ich alle Systemnamen nebeneinander anzeige und darunter den jeweiligen Status.

Ich wollte dies mit einer Tabelle machen, aber mein Problem:

<table border="0" width="600px">

<tr>

<xsl:call-template name="SystemsOK" />

</tr>

</table>

<xsl:template name="SystemsOK">

<xsl:for-each select="key('status','OK')">

<xsl:sort select="SYSTEMNAME" order="ascending" data-type="text" />

<xsl:value-of select="SYSTEMNAME" />

<xsl:value-of select="STATUS" />

</xsl:for-each>

</xsl:template>

Hierbei habe ich aber Elemente nebeneinander, aber Systemname und Status nicht untereinander. Wie das aber noch hinbekommen kann bleibt mir unbegreiflich :confused:

Wer kann mir helfen?

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.