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

Re: ASPX generation

Subject: Re: ASPX generation
From: Liam R E Quin <liam@xxxxxx>
Date: Mon, 14 Jun 2010 15:34:42 -0400
Re:  ASPX generation
On Mon, 2010-06-14 at 06:06 -0700, Vladimir Nesterovsky wrote:
> Hello!
> What's the recommended way of ASPX page generation?
I'd recommend avoiding it.

However, if you must generate it :-) your main architectural
decision is, at what point you move out of XML.

Method (1)

Invent a simple XML representation that you generate with XSLT,
and then convert that to ASPX, e.g. using a short C# program.

Method (2)

Generate ASPX using XSLT and disable-output-escaping to get < and > into
the output, e.g. by writing templates with names like
that puts <% ... %> around its input, and
that generates <asp:Content> .... </asp:Content> maybe by calling
that in turn takes an "element name" (asp:Content), a list of
attributes, ID="Simon", etc., and the element content.

Method (3)

Install apache and tomcat and move to pure XQuery + Java :-) :-)


Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

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.