W3C home > Mailing lists > Public > uri@w3.org > October 2010

RE: is it possible to handle an XML/HTML elements attribute via the URI?

From: Cheney, Austin <Austin.Cheney@travelocity.com>
Date: Wed, 27 Oct 2010 11:37:30 -0500
To: Matthew Millar <mattmill30@hotmail.com>, "uri@w3.org" <uri@w3.org>
Message-ID: <9FB4E1C2C67D214BAF184CE12F7DF4DB29138657C5@SGTULMMP005.Global.ad.sabre.com>
Matthew,

URI is only an addressing means.  In URI "#" is a hierarchy character.
http://tools.ietf.org/html/rfc3986#section-1.2.3

Your question appears to be more focused on the processing of the HTTP URI scheme.  Unfortunately there is not an RFC dedicated to the HTTP URI scheme as RFC2616 is more concerned with the application processing requirements of HTTP.  If you need this functionality for proprietary use you can create a privately used URI scheme that does anything your applications are willing to consume.

If you need to address specific functionality for public consumption across the web I would suggest you reexamine your example as it is not compatible with HTML.  In HTTP URI scheme the "#" is a pointer to a section denoted with an id value and in HTML the id is an attribute.  In HTML attributes do not have attributes of their own.  That said, your example is unclear.  Please specify your example next time with code whether HTML or some other syntax.

Thanks,

Austin Cheney, Travelocity User Experience
CISSP TS/SCI

From: uri-request@w3.org [mailto:uri-request@w3.org] On Behalf Of Matthew Millar
Sent: Wednesday, October 27, 2010 11:22 AM
To: uri@w3.org
Subject: is it possible to handle an XML/HTML elements attribute via the URI?

Hi,

I'm wondering whether its possible to handle a page element, via the URI?

I'd like to handle an elements attribute, based on its ID.

Like an expansion of the #ID URI feature.

I'm hoping for something like:

http://domain/page.html#ID[dir]="ltr"

In the example above, i would want to add the "dir" attribute, with a value of "ltr", to the element whose id is "ID"

If its not currently possible, could it be considered for a future standard, or an extension to the current URI standard.

Thanks,

Matthew Millar
Received on Wednesday, 27 October 2010 16:50:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:14 UTC