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.

xsl variable mit xml value füllen

Empfohlene Antworten

Hi zusammen,

ich bräuchte einen Denkanstoss bezüglich folgender Problematik

mit diesem xsl code


<xsl:variable name="exp"><xsl:value-of select="document(export.xml')/export/exp/@value" disable-output-escaping="yes"/></xsl:variable>

						<xsl:if test="$exp = 'true'">

							TEST	

						</xsl:if>

möchte ich gerne auf dieses xml zugreifen

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">

<export>

	<exp value="true" />

</export>

Der zugriff an sich scheint keine Probleme zu bereiten doch leider reagiert die if abfrage nicht (TEST wird nicht ausgegeben)

Wo könnte das problem liegen?

So bin schon einen schritt weiter gekommen aus irgendeinem grund entspricht der rückgabe wert ''. Habe aber keine ahnung wiso das so ist. Womit ich bei meinem nächsten Problem wäre

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.