Klaus
Hartlwrote:
I
think, the correct way to select namespaced elements in CSS is this:
table[my|data-url]
So in jQuery I guess it would be:
$('table[my|@data-url]')
There is another recent thread discussing support for
namespaces...
I understand the
CSS selector and have read the
I understand the CSS selector and have read the other thread but a true
namespace selection based on xpath syntax doesn't work. As for writing a
plug-in, I believe the issue could be corrected with a change to a regular
expression. But, reg exps are, by their nature, difficult for me to
Klaus Hartl wrote:
Stephen Woodbridge schrieb:
Jörn Zaefferer wrote:
I understand the CSS selector and have read the other thread but a
true namespace selection based on xpath syntax doesn't work. As
for writing a plug-in, I believe the issue could be corrected with
a change to a regular
in context:
http://www.nabble.com/jQuery-support-for-namespace-attributes-tf2636394.html#a7360528
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
In an expression like this:
myns|[EMAIL PROTECTED]|attr=whatever]
How does myns get associated with the actual XML namespace URI?
getElementByTagNameNS needs the URI, not the name. I have not needed
namespaces before so I am not familiar with how that would work.
As for how much code it takes,
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
Antonio Collins schrieb:
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]');
I think, the correct way to select namespaced