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

RE: ASPX generation

Subject: RE: ASPX generation
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Tue, 15 Jun 2010 09:54:30 +0100
RE:  ASPX generation
Vladimir

I'd definitely go with Liam's first solution. I did ask (beg) Microsoft to
provide an XML compliant ASP.NET schema. For example in classic ASP you
could use <% %> or <script...
I'd like a similar way for all the ASP.NET constructs but my pleas fell on
deaf ears.

Regards

Joe
http://joe.fawcett.name/

-----Original Message-----
From: Vladimir Nesterovsky [mailto:vladimir@xxxxxxxxxxxxxxxxxxxx] 
Sent: 15 June 2010 09:10
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  ASPX generation

> > 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,
> 
> That is hard to believe. 

Not at all!
The pages I'm generating contain both data bound from business layer, and
static literals.
Values of these static literals are out of my control.
If I shall reserve any character for a purpose of character map then I
should replace those characters in those literals.

The problem could be solvable if character map provided string substitutions
rather than substitution of a single character.
This way one could model escape sequences.

> E.g. you can use any character from the Private Use Area of Unicode 
> for
this. There are 5000+ slots starting with &#xE000;
> 
> In a totally unrelated case I had to preserve certain entities through
XSL processing; 
> in a preprocessing step I changed them into PUA characters (using sed)
and used XSLT 
> character maps to get back the entities in the result.

I agree that there are ways to workaround the problem.
At present I'm inclined to use approach similar to Liam's Method (1).
I'm just wondering if I'm missing something, if there is a simple solution?
--
Vladimir Nesterovsky
http://www.nesterovsky-bros.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.