|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Why Core Flow Objects
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








