Re: [xml] DOM parser and HTML entities inside the

2012-07-20 Thread Liam R E Quin
On Fri, 2012-07-20 at 09:03 -0500, Raymond Irving wrote: > Thanks for the feedback Micheal. > > I thought that the first occurrence of the end of the element's content but I guess the W3C had something else in > mind. HTML 4 (that you are using) was based on ISO 8879 SGML, and the ISO-defined r

Re: [xml] [PATCH] Various "make distcheck" and portability fixups

2012-07-20 Thread Daniel Richard G .
Rather than try again to attach my ~40kB patch to this message, as the xml@gnome.org keeps dropping it without comment, I am linking to a Pastebin page containing the text of it: http://pastebin.com/YGgLmUfx This is an updated version of the patch I mailed in on March 14. As before, i

Re: [xml] HTML Queryselector in libxml

2012-07-20 Thread Liam R E Quin
On Fri, 2012-07-20 at 11:52 -0500, Raymond Irving wrote: > In my opinion it's much easier to use when working with HTML content and > CSS classes. That might be, but libxml is an XML library. Beware that it also does not construct a conforming HTML DOM, so your CSS selectors may not always do what

Re: [xml] Trouble sending patch to the xml@gnome.org list

2012-07-20 Thread Daniel Richard G .
On Fri, 20 Jul 2012, Michael Ludwig wrote: Is there a policy regarding attachments that I'm not aware of? Don't know, but why not just use something like http://pastebin.com/ ? That may be necessary as a workaround for now, but I don't think that's how the list maintainers intended things t

Re: [xml] HTML Queryselector in libxml

2012-07-20 Thread Raymond Irving
In my opinion it's much easier to use when working with HTML content and CSS classes. __ Raymond On Fri, Jul 20, 2012 at 9:31 AM, Liam R E Quin wrote: > On Fri, 2012-07-20 at 09:25 -0500, Raymond Irving wrote: > > Hello, > > > > Are there any plans to add queryselector to libxml? > > Why would

Re: [xml] HTML Queryselector in libxml

2012-07-20 Thread Liam R E Quin
On Fri, 2012-07-20 at 09:25 -0500, Raymond Irving wrote: > Hello, > > Are there any plans to add queryselector to libxml? Why would you want to add CSS selectors when you already have XPath selectors, which are more powerful? Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People

[xml] HTML Queryselector in libxml

2012-07-20 Thread Raymond Irving
Hello, Are there any plans to add queryselector to libxml? I've found a perl module that adds queryselector support but can be ported to libxml? http://search.cpan.org/~tobyink/XML-LibXML-QuerySelector-0.003/lib/XML/LibXML/QuerySelector.pm http://search.cpan.org/~corion/HTML-Selector-XPath-0.14

Re: [xml] xml find and replace

2012-07-20 Thread stuart shepherd
Thank you, that work's brillantly. On Thu, Jul 19, 2012 at 3:18 PM, Noam Postavsky < npost...@users.sourceforge.net> wrote: > On Thu, Jul 19, 2012 at 9:42 AM, stuart shepherd > wrote: > > I'm guesing it's something to do with having elements within the text, > but > > it doesn't look to be repla

Re: [xml] Trouble sending patch to the xml@gnome.org list

2012-07-20 Thread Michael Ludwig
Daniel Richard G. schrieb am 19.07.2012 um 14:44 (-0400): > I am trying to send a large-ish (about 40kB) patch to the list, with > commentary, yet it does not seem to be making it through despite > repeated attempts. Is there a policy regarding attachments that I'm > not aware of? Don't know, but

Re: [xml] xml find and replace

2012-07-20 Thread Michael Ludwig
Noam Postavsky schrieb am 19.07.2012 um 10:18 (-0400): > Actually, using the descendant axis (//) like above is redundant and misleading. It is equivalent to just "control[ … ]/enum". Why? Because every element node found is bound to be a descendant of the current document. Specifying the de