Joseph F. Ryan wrote: >Miko O'Sullivan wrote: > >>Andy Wardley wrote: >> >>>For example, it might be possible to do something like this: >>> >>> use Perl6::XML; >>> >>> <thingy> >>> <blah>blah blah</blah> >>> </thingy> >>> >>> use Perl6; >>> >>> print $thingy.blah; >> >> >> >>We already have the ability to embed foreign languages (XML, HTML, >>whatever) using here docs: >> >>$myml = MyXmlParser->new(<< '(MARKUP)'); >> <thingy> >> <blah>blah blah</blah> >> </thingy> >>(MARKUP) > > >As a side note, P6C now has the ability to inline code of a different >language, so something like this will work: > >use inline 'XML', q[ > <thingy> > <blah>blah blah</blah> > </thingy> > ... > > <XSLT PROCESSING STUFF> >]; > >Provided, of course, that there is an parrot/imcc targetted XML processor. Who needs >a P6ML now? (-: > >Joseph F. Ryan >[EMAIL PROTECTED]
Woops; my mail client crashed when I sent this the first time; I had thought it hadn't sent, so I re-wrote it and sent it again. Sorry for the double post! Joseph F. Ryan [EMAIL PROTECTED] -- This message was sent using 3wmail. Your fast free POP3 mail client at www.3wmail.com