Hello all,

Are there any plans to add support for namespace qualified attribute
selectors?  This would would allow the following code to work with the
example xhtml doc.

Script:
$('[EMAIL PROTECTED]:data-url]');

Doc:
<html xmlns="http://www.w3.org/1999/xhtml"; xmlns:my="urn:my-stuff">
...

<table my:data-url="getdata?type=employees-by-project">
        <colgroup my:field-expr='lastName "," firstName'/>
        <colgroup my:field-expr='deptName "(" deptId ")"'/>
        <colgroup my:field-expr='projectName'/>
...

In the example above, the table is rendered on-the-fly from the results of
my:data-url and the column TDs are populated using the expressions in
my:field-expr.

I've got my own code that can handle the qualified attributes (and works
around an issue with table tags and IE6), but I can't figure out how the
regexp filter for attributes in jQuery work.  Since namespacing is the
preferred method to combine custom data with an established xml format (like
html), I think this would be a great addition to jQuery's XML support.

Antonio Collins


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to