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

Re: Doc vs. Data


content vs data
At 2003-06-06 15:24 -0400, Jonathan Robie wrote:
>At 02:05 PM 6/6/2003 -0400, G. Ken Holman wrote:
>>Would mixed content suffice?
>
>I'm not sure. What we generally think of as structured data does not use 
>mixed content, but there are also many documents that do not use mixed content.

I would not go so far as to say documents with mixed content are not 
structured.

But even given your choice of wording above, why should horizontal W3C 
Recommendations such as W3C Schema be developed for XML with a vertical 
bent towards data-oriented processing while disenfranchising text 
processing when doing so?

>>Data-oriented data can often be processed entirely with a "pull" model 
>>(XSLT or XQuery), while document-oriented mixed content needs to be 
>>processed with a "push" model (XSLT template rules).
>
>I wonder if this isn't more an issue of the kind of processing than the 
>kind of document.

Yes, indeed, as I said in my earlier note sent at the same time you sent 
your note.

>I agree that formatting documents is often best done with a push model. 
>Extracting data can be done with either. Combining and restructuring data 
>sources is generally best done with a pull model.

... except when mixed content is present ... such as the aggregation of 
multiple XML documents of mixed content into a single presentation.

>I have certainly used the same data to do all three.

Sure ... but did that data include mixed content?

................... Ken

--
Upcoming hands-on courses: (registration still open!)
-      (XSLT/XPath and/or XSL-FO) North America: June 16-20, 2003

G. Ken Holman                mailto:gkholman@C...
Crane Softwrights Ltd.         http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6                      Definitive XSLT and XPath
ISBN 0-13-140374-5                              Definitive XSL-FO
ISBN 1-894049-08-X  Practical Transformation Using XSLT and XPath
ISBN 1-894049-11-X              Practical Formatting Using XSL-FO
Member of the XML Guild of Practitioners:    http://XMLGuild.info
Male Breast Cancer Awareness http://www.CraneSoftwrights.com/x/bc


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.