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

RE: Annoying XSLT code

Subject: RE: Annoying XSLT code
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 18 Aug 2005 13:14:15 +0100
RE:  Annoying XSLT code
> Then you haven't seen my (xquery) code that creates itself as it is
> being executed. That is extremely hard to follow (although it is also
> extremely flexible). I could not figure out how to do that in xsl. Is
> it possible?

It's actually easier in XSLT, because an XSLT stylesheet is XML, and both
XSLT and XQuery are designed to produce XML as their output. Also XSLT gives
you more control over important details like namespaces. Stylesheets that
produce stylesheets are widely used.

How would you generate this XQuery:

<a>{x < y}</a>

?

Both XSLT and XQuery allow you to generate code; neither of them (without
extensions) allow you to execute the code that you have generated.

Michael Kay
http://www.saxonica.com/

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.