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

Re: html fragments

Subject: Re: html fragments
From: Mike Brown <mike@xxxxxxxx>
Date: Fri, 21 Jul 2000 13:26:42 -0700 (PDT)
xslt html fragment
> I want to construct a well-formed html document using a poorly formed
> html fragment at the top, a poorly formed but complementary html
> fragment at the bottom, and a well-formed html fragment in the middle.
> 
> Can I do this?

XSLT is not the tool for this job. Generating output as a series of
pasted-together text is something that ASP, PHP, CFML, etc are better
suited for.

It is disappointing that XSLT documentation, including the new tutorial
at http://msdn.microsoft.com/msdnmag/issues/0800/XSLT/XSLT.asp, tends
not to emphasize that XSLT operates on abstract node trees rather than
physical documents.

The physical stylesheets and the input and output are a layer removed
from what is actually going on, but one is led to believe that the
stylesheet is a literal specification for the desired output, and
further, that the stylesheet is intepreted directly, rather than being
a well-formed representation of an abstract tree, itself.

You will need to redefine your problem if you intend to use XSLT,
although someone will surely suggest very inelegant workarounds
involving the creation of text-oriented trees riddled with
disable-output-escaping flags.

-Mike


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.