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

Re: Benefits of xsd-types in XSLT

Subject: Re: Benefits of xsd-types in XSLT
From: Wolfgang Laun <wolfgang.laun@xxxxxxxxx>
Date: Thu, 19 Nov 2009 16:20:30 +0100
Re:  Benefits of xsd-types in XSLT
On Thu, Nov 19, 2009 at 9:34 AM, Jesper Tverskov
<jesper.tverskov@xxxxxxxxx> wrote:
> Sorry for being unclear.
> With XSLT 2.0 we can transform XML input with xsd-types to XML output
> with xsd-types easily because XSLT also use xsd-types. Great. If we
> have to do the same in C# or Java, etc, we will have to convert
> between two type systems two times. This can be done automatically,
> and I listed XML data binding as example. Here we use an XML Schema
> schema to generate classes with types of another type system.
> So here is my question:
> Is the cost of type system conversion, when we don't use XSLT, a real
> problem at least for an important subset of use cases?

Whenever you say "XML", you implicitly say "text", and for all programming
systems that aren't dealing with all data as strings, some conversion between
binary and string has to be done. You ought to know all the consequences
of passing binary data between systems, and the trade-off between the
basic choices.

Binding between XML Schema types and, say, Java types is not a 100% fit.
But it is amply sufficient for real-world applications. Having all X[A-Z]+
systems adhere to this common typing system has the benefit that
a conversion library between XML and binary can be re-used.


> Cheers,
> Jesper Tverskov
> http://www.xmlkurser.dk
> http://www.xmlplease.com

Current Thread


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.
First Name
Last Name
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.