logging_xml » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
logging_xml 2021-12-03 | logging_xml 2024-12-02 (current) | ||
Line 225: | Line 225: | ||
| ''filename'' | Absolute path to source remote file (in ''value'' attribute) | | | ''filename'' | Absolute path to source remote file (in ''value'' attribute) | | ||
| ''destination'' | Absolute path to destination local file (in ''value'' attribute)((File name may differ from name of source file.)) | | | ''destination'' | Absolute path to destination local file (in ''value'' attribute)((File name may differ from name of source file.)) | | ||
- | | ''size'' | Number of bytes transferred. &beta_feature | | + | | ''size'' | Number of bytes transferred. | |
Example: | Example: | ||
Line 381: | Line 381: | ||
| ''filename'' | Absolute path to source local file (in ''value'' attribute) | | | ''filename'' | Absolute path to source local file (in ''value'' attribute) | | ||
| ''destination'' | Absolute path to destination remote file (in ''value'' attribute)((File name may differ from name of source file.)) | | | ''destination'' | Absolute path to destination remote file (in ''value'' attribute)((File name may differ from name of source file.)) | | ||
- | | ''size'' | Number of bytes transferred. &beta_feature | | + | | ''size'' | Number of bytes transferred. | |
Example: | Example: | ||
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> | + | * .NET [[dotnet>system.xml.xsl.xslcompiledtransform|''XslCompiledTransform'' class]], e.g. from PowerShell: \\ <code powershell> |
- | msxsl.exe log.xml download.xslt | + | $xslt = New-Object System.Xml.Xsl.XslCompiledTransform |
- | </code> | + | $xslt.Load("download.xslt") |
- | * [[http://xmlsoft.org/|Libxml2]] ''xsltproc.exe'': \\ <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 | xsltproc.exe download.xslt log.xml | ||
</code> | </code> |