HomeClusterLabs Projects

Refactor: libcrmcommon: XML best practices in HTML output functions

Description

Refactor: libcrmcommon: XML best practices in HTML output functions

Use existing Pacemaker wrappers for clarity and so that private data
allocation and deallocation can be refactored in an upcoming commit.

Also move xmlAddPrevSibling() earlier for readability.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Sep 6 2024, 4:46 AM
Parents
rP74deba6f0ac4: Refactor: various: Limit xmlSetProp() to pcmk__xe_set_attr_force()
Branches
Unknown
Tags
Unknown