[xsl] Data type conversion in xslt 2

Subject: [xsl] Data type conversion in xslt 2
From: "Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Mar 2015 00:44:55 -0000
I have some transforms that generate source code and window
reg files. The reg files include REG_DWORD and REG_MULTI_SZ
values. The xml input is required to setup defaults, the REG_DWORD
values aren't difficult to deal with when using integer input in the xml
as they require decimal to hex conversion. However the REG_MULTI_SZ
values are required to be a sequence of null-terminated strings,
terminated by an empty string (\0). So this ends up being a comma
separated list of bytes.

What is the most optimal way to produce such output in xslt?


Current Thread