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

Re: ASPX generation

Subject: Re: ASPX generation
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Tue, 15 Jun 2010 11:51:02 -0400
Re:  ASPX generation
Vladimir,

At 04:10 AM 6/15/2010, you wrote:
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?

At heart, the problem you are having is that you need a syntax in your results that breaks the rules of XML well-formedness, so the XML serializer that comes with your processor won't work unassisted.


David's suggestion of using d-o-e, or for that matter the idea of reserving a character and using a character map, are both ways of contriving workarounds to allow you to do this.

Two other options would be to (a) write your own result serializer, assuming your processor allows you to use it, which could for example pick up elements in a namespace and do the right thing with them, and (b) use the "text" output method in an XSLT post-process that serializes both the XML and the non-XML syntax the way you want it. While it's kind of bizarre to write an XML serializer in XSLT, it has been done.

But Liam's recommendation to run a post-process outside XSLT altogether may be simplest. And they all amount to the same thing.

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

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.