Hi guys,
I'm wondering if anyone has any opinions on this. I'm faced with the
need to search and replace a bunch of XML tags in an AS3 project. The
tags are going to be nested, and will probably be basic HTML elements,
and replacing them with other html elements. For various reasons it
seems that this is necessary because of the project's localisation
goals.
I'm currently considering the following options:
- native E4X
pros:built in, simple
cons:not really powerful enough without writing a lot of code
- the memorphic xpath library (http://www.memorphic.com/news/?page_id=16)
pros:xpath is nice and what I'm used to
cons:might be using a sledgehammer to crack a nut
- native regex:
pros:built in, lots of prewritten magic regexes which could do the job
cons: lots of prewritten magic regexes which could do the job,
but might also mysteriously fail further down the line
Has anyone had any experiences with this that they'd like to share?
Thanks in advance,
Alias
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org