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.

ein XML Dokument aus eXist DB mit hilfe von Cocoon lesen

Empfohlene Antworten

hallo Zusammen,

ich möchte gern ein XML Dokument aus eXistDB lesen,und dann diese Dokument ins HTML umwandeln.

ich habe ´s so überlegt.

  1. Die eXist DB läuft auf dem Port 8080 und ist mit dem Befehl java –jar start.jar jetty gestartet.
  2. ich habe den JDBC Treiber von eXist in Cocoon registriert
  3. ich habe eine Collection in der DB erstellt die heisst mydoc und in dieser Collection habe ich ein XML Dokument reingelegt, die Dokument heisst hallo.xml

meine Sitmap sieht so aus:


<map:match pattern="hallo"> 

<map:generate src="xmldb:exist://localhost:8080/db/mydoc/hallo.xml"/> 

<map:transform type="xslt" src="Documents/hallo2pdf.xsl"> 

<map:parameter name="use-request-parameters" value="true"/> 

</map:transform> 

<map:serialize type="fo2pdf"/> 

</map:match> 

leider das funktioniert nicht. denn ich erhalte die Fehelermeldung:

org.xmldb.api.base.XMLDBException: Unknown or unparsable API for: xmldb:exist://localhost:8080/db/april

ich glaube mein Fehler ist das der Pseudoprotokol nicht rechtig ist.

xmldb:exist://localhost:8080/db/mydoc/hallo.xml

denn irgendwo in diesem pseudoprotokoll muss noch Username und Password reinkommen.

kann mir jemand helfen?

Danke.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.