Re: [xsl] Data type conversion in xslt 2

Subject: Re: [xsl] Data type conversion in xslt 2
From: "liam liam@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Mar 2015 05:37:33 -0000
On 2015-03-05 19:45, Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx wrote:
I have some transforms that generate source code and window
reg files.

"window reg files"? "Micrsoft Windows registry files??"


> [...] 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.

So you are generating binary output?


In general that's not something you should expect XSLT to do; you may be able to use an extension function or module such as
http://expath.org/spec/file
if your XSLT processor supports it.


--
Liam Quin, W3C
XML Activity Lead;
Digital publishing; HTML Accessibility
Pictures from the past - http://www.fromoldbooks.org

Current Thread