Skip navigation
Currently Being Moderated

regex to capture xml

Apr 14, 2012 12:22 AM

Hi there I'm trying to create a regex that would take this:

 

<AUTHADV>

        <MTID>100</MTID>

        <LOCALDATE>2012-04-02</LOCALDATE>

</AUTHADV>

and catpture

 

AUTHADV

 

and all child nodes:

 

MTID 100

LOCALDATE  2012-04-02

 

is this easy? or should I be using e4x?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points