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.

Per PHP auf bestimmte XML-Elemente zugreifen

Empfohlene Antworten

Veröffentlicht

Ich weiss nicht genau ob, dass das richtige Forum für meine Frage ist. Aber ich probier trotzdem mal.

Kann ich ohne DOM auf bestimmte/ einzelne Elemente in einer XML-Datei zugreifen? Ich habe nämlich eine Datei deren Inhalte verteilt im Script gebraucht werden. Ich könnte ja nun, den Handler für die Start-Tags bearbeiten, aber je größer die Anzahl der Elemente die verarbeitet werden, umso größer wäre auch der Aufwand. Außerdem müsste ich bei dieser Methode die Datei jedes mal neu parsen, was hörere Rechenzeit in Anspruch nehmen würde.

  • Autor

Nach längerem Überlegen bin ich zu dem Ergebnis gekommen, dass ich meine Frage ganz schon überstürzt geschrieben habe. :rolleyes:

Mir sind schon selbst ein paar andere Einfälle gekommen:

1. Die spezifischen Tags Variablen zuweisen

2. Die Datei in ein Array oder Objekt übertragen

Wenn trotzdem noch jemand interessante Vorschläge hat, bin ich ganz Ohr.

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.