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

RE: XInclude [was: XLink transformations]

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: Paul Grosso <pgrosso@a...>, xml-dev@x...
  • Date: Wed, 26 Jul 2000 15:03:40 -0500

xlink versus xinclude
Sorry to be tedious, Paul.  I want to be sure 
I understand the different abstractions 
so I can present them correctly.  I understand 
your answer. 

In a relational system, data in a view 
can be appended to the recordset (table) thus 
creating new records versus say an update 
in which new values are written into 
preexisting records.  The SQL is an 
Insert Into.  So

INSERT INTO target [(field1, field2
VALUES (value1, value2)

vs 

UPDATE table SET newvalue WHERE criteria

Simply, INSERT creates new records and 
UPDATE overwrites existing records.

In the table, order of records is not a 
guaranteed abstract property as a means to 
identify a record (identity is invariant 
to transform by insertion).
 
While the operations of first, last, 
previous and next (navigating recordsets) 
is enabled, only by comparing a value can 
one determine the identity of the record.  
Thus, recordset walking is often an expensive 
but unavoidable operation and the implementor 
writes a routine using the Previous/Next/Last/First 
methods to get and set values. 

XInclude is operationally an Insert Into 
except that there is also the concept of the 
abstract property of position in the target; 
that is, the inclusion or insert occurs at the position 
of the XInclude statement.  Order is preserved.  
Positions of information items following the 
inclusions increment.  In the relational system, 
this is unimportant.  In the tree, it can be.

When comparing these systems, it is important 
for the implementor to understand the 
properties of position and order in the abstract information 
set and how the XInclude operation affects it.   This 
can determine on which side of mixed systems 
certain operations are best performed.  

Len Bullard
Intergraph Public Safety
clbullar@i...
http://fly.hiwaay.net/~cbullard/lensongs.ram

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: Paul Grosso [mailto:pgrosso@a...]

...I think the answer is that you are not mistaken;
XInclude preserves order.  As I said earlier:

"All information in the included bit is included 
at the including point"

paul

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.