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-datei mit xsl-datei konvertieren

Empfohlene Antworten

Veröffentlicht

huhu

also ich hab folgendes problem,

bis jetzt haben wir hier bei uns in der Firma "Saxon" benutzt um aus einer Input XML durch den Saxon + XSL-Datei die Output XML zu erzeugen.

Das Saxon kostet leider Geld ;)

Microsoft hat ja einen eigenen xml-Parser der auch einen XSLT enthält (ähnlich wie Saxon) ... doch das ganze muss man in C++ umsetzen.

Doch in der Hilfe von diesem MSXML4.0 finde ich nichts.

Dachte dass hier einer ne Ahnung hat, wie ich das machen kann.

zack :/

Hmmm...

Also,d er Internet Explorer bietet diese Möglichkeit von Hause aus, soweit ich weiß.

Aber du möchtest bestimmt eine andere Möglichkeit habenm, um auch mehrere Dateien hintereinander umzuwandeln, oder?

Dafür müsste es eigentlich recht viele kostenlose Tools geben.

naja,

ich will das ja selber mit nem proggi machen,

hab ich jetzt mittlerweile auch

hier der code (falls es wayne interessiert ;))

_variant_t variant;

XML3::IXMLDOMDocument2Ptr pDocumentXML;

XML3::IXMLDOMDocument2Ptr pDocumentXSL;

// Das DOM-Document erstellen

pDocumentXML.CreateInstance(XML3::CLSID_DOMDocument40);

pDocumentXSL.CreateInstance(XML3::CLSID_DOMDocument40);

// Asynchrones Verhalten ausschalten

pDocumentXML->put_async(VARIANT_FALSE);

// Inhalt des Dokumentes laden

pDocumentXML->load(INPUT);

pDocumentXSL->load(XSL);

_bstr_t bstrNewXML = pDocumentXML->transformNode(pDocumentXSL);

pDocumentXML->loadXML(bstrNewXML);

pDocumentXML->save(OUTPUT);

CString str = OUTPUT.bstrVal;

pDocumentXML.Release();

pDocumentXML = NULL;

pDocumentXSL.Release();

pDocumentXSL = NULL;

ShellExecute(NULL,NULL,str,NULL,NULL,NULL);

// sowas wollte ich halt haben, aber ok ;) hab ich s halt doch selber gemacht

greetz

zack

  • 6 Jahre später...

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.