On Sun, 2023-03-12 at 20:12 +0000, Jean-Luc Chevillard
jeanluc.chevillard@xxxxxxxxx wrote:
> Dear list members,
>
> After running the script once, the file would become
> +++++++++++++++
> <?xml version="1.0" encoding="UTF-8"?>
> <log>
> B B <entry>[2023-03-12 (19:53)]</entry>
> </log>
Use expath's file:read and file:write, with fn:serialize(), if you are
using XSLT 2 or later - and e.g. a paid version of Saxon as i think the
free ones don't support extensions these days, not 100% sure.
--
Liam Quin,B https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: B http://www.fromoldbooks.org
|