xsl-list
[Top] [All Lists]

Re: [xsl] Data type conversion in xslt 2

2015-03-05 23:37:38
On 2015-03-05 19:45, Joseph L. Casale jcasale(_at_)activenetwerx(_dot_)com 
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
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>