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

Re: ASPX generation

Subject: Re: ASPX generation
From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jun 2010 22:32:33 -0700
Re:  ASPX generation
> > 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 (2)
> Generate ASPX using XSLT and disable-output-escaping to get < and > into
> the output, e.g. by writing templates with names like
>   aspx-make-declaration
> that puts <% ... %> around its input, and
>   aspx-make-content
> that generates <asp:Content> .... </asp:Content> maybe by calling
>   aspx-make-element
> that in turn takes an "element name" (asp:Content), a list of
> attributes, ID="Simon", etc., and the element content.

What I've lately found is that the "disable-output-escaping" is deprecated 
feature according to xslt 2.0, and that the character maps are recomended 
substitution. Unfortunately I have no free character to reserve for this 
purpose, as it might appear in other contexts.
Vladimir Nesterovsky

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.