Roland Giersig <[EMAIL PROTECTED]> wrote:

> Maybe: 
> 
> "Perl6 should excell at manipulating *formatted* text."

Quite possibly, although as a previous poster has pointed out,
fotmatted text != XML.

ie in the sense that HTML, RTF, TeX etc, have a natural sense of containing
a single piece of text with embedded attributes - which could in principle
be stripped away or ignored. So for example, a regex would operate on the
whole underlying text. XML on the other hand is far more general. For example
one particular XML document might hold the names and contact details
for a thousand individuals. Trying to treat the document as a single
string and applying a regex to it doesnt have any particularly strong
semantic doo-dah. In that particular example, it might make sense to
think of the XML doc as an array of thinggies rather than a single string.

So perhaps in any further discussions in the thread we should make
clear when we are talking about formatted text, and when about XML-ish stuff
????

Reply via email to