[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: XML Support for Penlight?
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 29 Mar 2011 19:01:47 +0200
On Tue, Mar 29, 2011 at 6:55 PM, Petite Abeille
<petite.abeille@gmail.com> wrote:
> print( anXML.rss.channel.item[ 66 ].description[ '$' ] )
Ah, but if it were XHTML, then the single key $ could not describe the
text in general:
<div>hello <b>dolly</b> you're so fine </div>
What's '$' for that div element?
Also, the table merging means that the original order is lost.
But, a lovely notation for a common enough case.
steve d.