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

Re: transfer of XML file

  • From: John Cowan <cowan@l...>
  • To: XML Dev <xml-dev@i...>
  • Date: Tue, 23 Jun 1998 16:52:52 -0400

xml file transfer
Gang He wrote:

> Suppose I have a xml file on the server side. In it there are some
> elements
> pointing to some external binary entity and external text entity, and
> some XML-LINK elements.

The first thing to understand is that these references are different.
An external text entity is referred to using an entity reference,
of the form "&some-name;" (in other words, syntactically, it is the
same as a reference to an internal entity).

A non-validating XML processor is free to expand external entities
(replacing the reference with the content of the entity) or else
just leave them in place.  (Validators must expand external entities.)

References to external entities, however, look completely different.
They cannot be achieved by an entity reference using "&".
Instead, one must have an attribute attached to some element, and
this attribute must be declared as of type "ENTITY" or "ENTITIES".
The value of the attribute is either a single entity name or
multiple entity names separated by whitespaces, respectively.
This form is not available for referring to internal entities.

> What about the pages pointed by the URL
> in the XML-LINK elements? Is there any way to let the client to specify
> when to retrieve the external entity?

XML-Link elements can specify whether the content is to be inlined
or shown as an explicit link, but this is advisory; the client
may allow the user to override.

> Does http support the transfer of
> xml file? If so, in which way?

HTTP will transfer pages that are in any format: text/html, text/plain,
image/gif, application/xml, or x-unrecognized/confusing.

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@c...
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.