Subject: Re: Why Core Flow Objects From: James Clark <jjc@xxxxxxxxxx> Date: Fri, 10 Apr 1998 06:48:07 +0100 |
The second should create a document that started something like: <HTML> <HEAD> <TITLE>Something</TITLE> </HEAD> <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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Why Core Flow Objects, Paul Prescod | Thread | Side-effects, state, internal refer, Michel Goossens |
Re: Why Core Flow Objects, Paul Prescod | Date | Re: Why Core Flow Objects, Francois Belanger |
Month |