Skip to content

Commit

Permalink
s1kd-aspp: Generate text for standalone <applic> elements
Browse files Browse the repository at this point in the history
Allow input to be a standalone <applic> element, rather than requiring a complete <dmodule>.
  • Loading branch information
kibook committed Nov 13, 2024
1 parent b5d4bc2 commit ad0a862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/s1kd-aspp/s1kd-aspp.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "resources.h"

#define PROG_NAME "s1kd-aspp"
#define VERSION "5.0.1"
#define VERSION "5.1.0"

#define ERR_PREFIX PROG_NAME ": ERROR: "
#define WRN_PREFIX PROG_NAME ": WARNING: "
Expand Down Expand Up @@ -344,7 +344,7 @@ static void generateDisplayText(xmlDocPtr doc, xmlNodePtr acts, xmlNodePtr ccts,

res = xsltApplyStylesheet(style, muxdoc, params);

new = xmlCopyNode(firstXPathNode(res, NULL, "/mux/dmodule"), 1);
new = xmlCopyNode(firstXPathNode(res, NULL, "/mux/*"), 1);
old = xmlDocSetRootElement(doc, new);
xmlFreeNode(old);

Expand Down

0 comments on commit ad0a862

Please sign in to comment.