R
Ronald S. Cook
I have a string (see below) that I want to parse out the values. As you can
see, some are element-based and some are attribute-based.
<METADATA version="Format5"><TITLE value="Adrenaline
Rush"/><DESCRIPTION>Take a thrilling look at the world of skydiving and base
jumping - parachuting from a building, a bridge or a cliff. With
breathtaking views of skydiving over the Florida Keys, the Mojave Desert and
the magnificent Fjords of Norway, this giant-screen experience explores the
psychological and physiological forces behind risk-tasking and the physics
involved in high-risk activities.</DESCRIPTION><BARCODE
value="014381203820"/><BARCODE value="400002716808"/><PREVIEWIMAGE
value="IME120382C.png"/><MEDIATYPE value="DVD"/></METADATA>
Can someone please show me what the code would look like to do this?
Thanks,
Ron
P.S. Note that no nodes will be repeated (so I'm guessing it should be
simpler). -thx
see, some are element-based and some are attribute-based.
<METADATA version="Format5"><TITLE value="Adrenaline
Rush"/><DESCRIPTION>Take a thrilling look at the world of skydiving and base
jumping - parachuting from a building, a bridge or a cliff. With
breathtaking views of skydiving over the Florida Keys, the Mojave Desert and
the magnificent Fjords of Norway, this giant-screen experience explores the
psychological and physiological forces behind risk-tasking and the physics
involved in high-risk activities.</DESCRIPTION><BARCODE
value="014381203820"/><BARCODE value="400002716808"/><PREVIEWIMAGE
value="IME120382C.png"/><MEDIATYPE value="DVD"/></METADATA>
Can someone please show me what the code would look like to do this?
Thanks,
Ron
P.S. Note that no nodes will be repeated (so I'm guessing it should be
simpler). -thx