[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Data type conversion in xslt 2

Subject: Re: Data type conversion in xslt 2
From: "Michael Kay mike@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 6 Mar 2015 09:24:36 -0000
Re:  Data type conversion in xslt 2
Take a look at the EXPath file and binary modules: both implemented in Saxon
9.6.

Michael Kay
Saxonica
mike@xxxxxxxxxxxx
+44 (0) 118 946 5893




On 6 Mar 2015, at 00:45, Joseph L. Casale jcasale@xxxxxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> 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?
>
> Thanks!
> jlc

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.