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 expression. But, reg exps are, by their >>>> nature, difficult for me to tinker with, and I can't figure out >>>> which regular expression is used for node and attribute filtering. >>>> >>>> I asked about this back in September and am asking again because I >>>> believe better xpath support would improve jQuery's handling of xml >>>> docs as well as xhtml pages. >>> The problem: Mixing XPath and CSS selectors is very limited. And as >>> more users of jQuery are familiar with CSS then XPath, there is much >>> more support for CSS then XPath. To fully support XPath you have to >>> remove a lot of CSS selectors. >> Or escape the expression so we know it is explicitly XPath, or provide >> a separate function that is dedicated to XPath. >> >> -Steve > > This fits into the "What to strip out for 1.1" discussion, I assume. I > only use XPath when traversing through XML documents, so maybe XPath > support could go into a plugin as well. I think this was discussed before... >
Yes agreed, not in 1.1, but definitely needed in future and a plugin would be fine for me. -Steve _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
