[
Lists Home |
Date Index |
Thread Index
]
Hello Peter,
On Mon, 20 Mar 2006 08:25:18 -0600
"Peter Hunsberger" <peter.hunsberger@gmail.com> wrote:
...
>
> If I understand correctly you are matching only on text nodes and the
> basic textual content is always the same between the two trees?
Yes.
> If
> so, then in general this cannot be completely defined, there could be
> ambiguity in the resultant element matching.
>
> Eg, (somewhat artificial):
>
> This is a <ol><li><ul><li>problem.</li></ul></li></ol>
>
> This is a <li class="bad">problem.</li>
Actually, I think that this trivial example is ambiguous even for human.
>
> However, I'd guess that in practice this works just fine most of the
> time. Unfortunately, I don't see any utility for us...
I wonder what is your application domain. Are you implement a sort of a
content management system, or ...?
>
> --
> Peter Hunsberger
>
--
Oleg Parashchenko olpa@ http://xmlhack.ru/ XML news in Russian
http://uucode.com/blog/ Generative Programming, XML, TeX, Scheme
|