logging_xml » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
logging_xml 2024-10-07 | logging_xml 2024-12-02 (current) | ||
Line 513: | Line 513: | ||
You can execute it using any %%XSLT%% processor: | You can execute it using any %%XSLT%% processor: | ||
- | * Microsoft ''msxsl.exe'' (deprecated, but [[https://web.archive.org/web/20200202112313/https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=21714|available from Internet Archive]]): \\ <code> | ||
- | msxsl.exe log.xml download.xslt | ||
- | </code> | ||
- | * [[https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home|Libxml2]] ''xsltproc.exe'': \\ <code> | ||
- | xsltproc.exe download.xslt log.xml | ||
- | </code> | ||
* .NET [[dotnet>system.xml.xsl.xslcompiledtransform|''XslCompiledTransform'' class]], e.g. from PowerShell: \\ <code powershell> | * .NET [[dotnet>system.xml.xsl.xslcompiledtransform|''XslCompiledTransform'' class]], e.g. from PowerShell: \\ <code powershell> | ||
$xslt = New-Object System.Xml.Xsl.XslCompiledTransform | $xslt = New-Object System.Xml.Xsl.XslCompiledTransform | ||
$xslt.Load("download.xslt") | $xslt.Load("download.xslt") | ||
$xslt.Transform("log.xml", "download.txt")</code> | $xslt.Transform("log.xml", "download.txt")</code> | ||
+ | * [[https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home|Libxml2]] ''xsltproc.exe'': \\ <code> | ||
+ | xsltproc.exe download.xslt log.xml | ||
+ | </code> | ||
The output will be: | The output will be: |