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

Re: Why Core Flow Objects

Subject: Re: Why Core Flow Objects
From: James Clark <jjc@xxxxxxxxxx>
Date: Fri, 10 Apr 1998 06:48:07 +0100
james francois
The second should create a document that started something like:

&lt;HTML>
&lt;HEAD>
&lt;TITLE>Something</TITLE>
&lt;/HEAD>
&lt;BODY  bgcolor="#FC9A27" link="#000000" vlink="#9F0000">

Markup in an action that represents a character should create markup in
the output that represents a character.

James

Francois Belanger wrote:
> 
> I'm looking at different parsers and stylesheet and see constantly the
> need for Core Flow Objects.
> 
> I'd like to understand (and could not find the answer in XSL spec) why
> such as thing is needed. I see it as a barrier to adoption more than
> anything else as one has to wait for Core Flow Object to be available and
> supported by a parser to generate different file formats from XML.
> 
> In other words, what's the difference between those two rules (the second
> probaly being faster and simpler to parse and also does not need to
> contain XML-compliant HTML):
> 
> <rule>
>   <HTML>
>   <HEAD>
>   <TITLE>Something</TITLE>
>   </HEAD>
>   <BODY  bgcolor="#FC9A27" link="#000000" vlink="#9F0000">
>     <children/>
>   <IMG src="logo.gif" />
> <P><FONT COLOR="#FFFFFF" SIZE="2">Legal stuff.</FONT></P>
>   </BODY>
>   </HTML>
> </rule>
> 
> <rule>
>   <root/>
> <![CDATA[
>   <HTML>
>   <HEAD>
>   <TITLE>Something</TITLE>
>   </HEAD>
>   <BODY  bgcolor="#FC9A27" link="#000000" vlink="#9F0000">
> ]]>
>     <children/>
> <![CDATA[
> <P><FONT COLOR="#FFFFFF" SIZE="2">Legal stuff.</FONT></P>
>   <IMG src="logo.gif">
>   </BODY>
>   </HTML>
> ]]>
> </rule>
> 
> If the second rule is valid (I think it is), then one can create any kind
> of output using CDATA sections and do away with Core Flow Objects.
> 
> Is this a good approach? Or is it the equivalent of the one-pixel GIF
> hack in HTML and defeats the purpose of XSL?



 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.