OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] So maybe ID isn't a problem after all.



On Sun, 11 Nov 2001, Gavin Thomas Nicol wrote:

> On Sunday 11 November 2001 09:12 pm, David Carlisle wrote:
> > the advantage of foo.xml#bar over either of the above is that the #bar
> > fragment id syntax is supported by a range of mime types.
> 
> Like what? HTML and what others? Also, who actually uses it? Most of the 
> times I've ever seen ID attributes used in HTML is in the context of an 
> anchor.

#bar is not part of the XML, it is part of the URI that is used to represent
something within a resource. For example, VRML uses it to reference a 
prototype instance or a particular viewpoint in the world. For example

http://www.3d.org/myhome.wrl#bath

would reference the viewpoint in the bathroom. Here, all the ID attribute is
nominating is a point that can be referenced from outside the document. 
(eg by another document)

-- 
Justin Couch                         http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Look through the lens, and the light breaks down into many lights.
 Turn it or move it, and a new set of arrangements appears... is it
 a single light or many lights, lights that one must know how to
 distinguish, recognise and appreciate? Is it one light with many
 frames or one frame for many lights?"      -Subcomandante Marcos
-------------------------------------------------------------------