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

Re: So maybe ID isn't a problem after all.


Re:  So maybe ID isn't a problem after all.
On 01/11/13 11:46 AM, "David Carlisle" <davidc@n...> wrote:
>> How does an application know, from XML syntax alone
>> that, the element should be replaced by what it is referring to?
> Xlink allows the link to be annotated in various ways like this.

I'm guessing you are talking about xlink:show='embed' here (I'd really
really like to be wrong here). If it is then this isn't sufficient, if I'm
reading the spec correctly.

This is what the Xlink pointer specification
(http://www.w3.org/TR/2001/REC-xlink-20010627/) has to say about this:

"Just as for the HTML IMG element, embedding affects only the presentation
of the relevant resources; it does not dictate permanent transformation of
the starting resource. Put another way, when an embedded XLink is processed,
the result of styling the ending resource of the link is merged into the
result of styling the resource into which it is embedded. By contrast, when
a construct such as an XInclude element [XInclude] is resolved, the original
XML is actually transformed to include the referenced content.

    The behaviour of conforming XLink applications when embedding XML-based
([IETF RFC 2376] or [IETF I-D XMT]) ending resources is not defined in this
version of this specification.

    The presentation of embedded resources is application dependent."

I don't XInclude will work either since that seems to be to be copying
resources not 'sharing' them.

Cheers,
Bob


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.