CTAN update: luaxml

CTAN Announcements ctan-ann at ctan.org
Sat Feb 24 20:03:32 CET 2024


Michal Hoftich submitted an update to the

                luaxml

package.

Version: 0.1r 2024-02-23
License: other-free

Summary description: Lua library for reading and serialising XML files

Announcement text:
--------------------------------------------------------------------------------

New functions:

- DOM_Object:traverse_elements(fn) - execute function on all elements in the DOM tree.
- DOM_Object:strings() - get a table with strings of all text nodes in the DOM tree.
- DOM_Object:stripped_strings() - same as the previous function, but with it
  removes leading and trailing spaces from each string.


Bug fixes:

- added support for uppercase void elements.
- added support for CDATA in the DOM_Object:get_text() function.
- fixed handling of verbatim rules in the luaxml-transform library.

--------------------------------------------------------------------------------

This package is located at
   https://mirrors.ctan.org/macros/luatex/generic/luaxml

More information is at
   https://www.ctan.org/pkg/luaxml


--------------------------------------------------------------------------------

   Thanks for the upload.

     For the CTAN Team
    Manfred Lotz


CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs .


More information about the Ctan-ann mailing list