[Home] [By Thread] [By Date] [Recent Entries]


[Hunsberger, Peter]

Thomas B. Passin <tpassin@c...> asks (among many other things):

> * Are there things in the XML world that are equivalent to
> relational database views, and if so what are they and do
> they have any advantages? Will xquery change this picture?
> Would view equivalents make updates easier or harder?

I'd propose that an XPath statement in general can be considered the XML
equivalent to a view...

Well, that works at least to some extent, given that a view is generally
based on an SQL select statement, and a "select='{xpath_expression_here}' is
something like.  What about xslt expressions that go beyond what you can
cram into a single  xpath expression?  What about a whole stylesheet?  If
some stylesheet results could be considered equivalent to a view, which ones
cannot?

Let's see, a view can combine data atoms from different tables, based on
some join conditions.  Could an XML view could combine infoset items from
different documents, or just from different elements within a single
document?

Cheers,

Tom P






Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member