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.

Package wird nicht mehr unterstützt?

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

ich habe folgendes Problem:

Ich will ein Programm schreiben, das eine XML Datei mit Hilfe eine XSL Datei in ein HTML Dokument umwandelt. Dazu wollte ich das org.apache.xalan.xslt Package verwenden, aber anscheinend funktioniert dieses nicht mehr.

Hier mal mein Code:

import org.apache.xalan.xslt.*;

 import java.net.*;

 import java.io.*;


 public class Transform {


     public static void main(String[] args) {


         try {

             if (args.length != 3) {

                 System.out.println("Aufruf: java Transform "

                     + "<XML-Eingabedatei> <XSL-Eingabedatei> <Ausgabedatei>");

                 System.exit(1);

             }


             XSLTProcessor myProcessor = XSLTProcessorFactory.getProcessor();

             XSLTInputSource xmlSource = new XSLTInputSource(args[0]);

             XSLTInputSource xslStylesheet = new XSLTInputSource(args[1]);

             XSLTResultTarget xmlOutput = new XSLTResultTarget(args[2]);

             myProcessor.process(xmlSource, xslStylesheet, xmlOutput);

         }

         catch (org.xml.sax.SAXException exc) {

             System.err.println("Ungültiges XML während der Verarbeitung gefunden:");

             exc.printStackTrace();

         }

     }

 }


Wäre super, wenn ihr mir da weiterhelfen könntet!

Vielleicht gibts ja auch noch eine Alternative.

Danke schon mal

Bearbeitet von aGGroLadY

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.