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

RE: XML Notation PI

  • From: "John E. Simpson" <simpson@p...>
  • To: "Pierre, Sebastian" <spierre@R...>
  • Date: Tue, 16 May 2000 12:32:08 -0400

html notation
At 09:00 AM 5/16/2000 -0700, Pierre, Sebastian wrote:
>  Isn't there a standard and common FPI for XML browsers for basic 
> media-types?
>  For example if I have a PNG notation in my XML file, how can I get IE5 
> or Mozilla to display it?

Ah. Well, that's something of a separate question -- not simply, "What 
'official' or quasi-official identifiers can I use to communicate to 
Notation-Aware Application X how to associate my notation declarations with 
standard types of processing?" but "What can I do to make current browsers 
notation-aware?"

The answer to the question you're really asking :) is, regrettably, de 
nada. The conventional solution to the problem of "showing an image in my 
XML file" is to transform your XML to (X)HTML, using XSLT; once in HTML of 
course you display the images in the standard way, using the img element 
with an href attribute. (Note that this solution doesn't require the use of 
notations at all, just a URI.) The transformation to HTML can be 
server-side, static -- offline -- or dynamic, using servlets and such. Or 
if you're absolutely certain that the page's visitors will be locked into a 
particular client, and that the client in question is XSLT-aware, then the 
transformation can be done dynamically and client-side.

BTW, Tim Bray's Annotated XML Spec (http://wwww.xml.com/axml/axml.html) says:

      Public Identifiers Are Non-Portable

      Once again, public identifiers are a trick inherited from
      SGML that are probably only useful to people who already
      have working SGML software installed. Remember that if
      you use public identifiers within your own organization,
      that's perfectly OK, but if you want to interchange XML
      documents with anybody external, they have the right to
      demand, and you have the obligation to provide, a working
      system identifier (URI) for each external entity.

================================================================
John E. Simpson          | "I hate it when my foot falls asleep
http://www.flixml.org    | during the day because that means it's
simpson@p...      | going to be up all night." (Steven Wright)


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.