From 04bd84b7a29afbf163c6bb103c6cef2d111f1c0f Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sat, 9 Mar 2019 23:22:47 +0000 Subject: [PATCH] lib/xslt/xml2txt.xslt --- etc/profile.d/functions | 4 ++-- lib/xslt/xml2txt.xslt | 10 +++++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/etc/profile.d/functions b/etc/profile.d/functions index d34b3e76..4cf13d56 100755 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -780,11 +780,11 @@ html2pdf() { } xml2txt() { - xsltproc $NB_ROOT/lib/xslt/xml2txt.xslt $@ + xsltproc $NB_ROOT/lib/xslt/xml2txt.xslt ${@:--} } xml2csv() { - xsltproc $NB_ROOT/lib/xslt/xml2csv.xslt $@ + xsltproc $NB_ROOT/lib/xslt/xml2csv.xslt ${@:--} } cron_d_install() { diff --git a/lib/xslt/xml2txt.xslt b/lib/xslt/xml2txt.xslt index f8f5fce6..ecd9522c 100644 --- a/lib/xslt/xml2txt.xslt +++ b/lib/xslt/xml2txt.xslt @@ -3,7 +3,8 @@ - + + @@ -11,14 +12,17 @@ + + + - + - + -- 2.47.3