L
Larry
Hi,
Allthough I could use some great XML module from cpan, I would
like to get data from the following xml file by using regexp:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key></key>
<dict>
<key>1</key>
<dict>
<key>Track ID</key><integer>1</integer>
<key>Name</key><string>Brano 1</string>
</dict>
<key>2</key>
<dict>
<key>Track ID</key><integer>2</integer>
<key>Name</key><string>Brano 2</string>
</dict>
...etc...
</dict>
</dict>
I would like to get this and so forth:
<dict>
<key>Track ID</key><integer>1</integer>
<key>Name</key><string>Brano 1</string>
</dict>
sadly, i don't know how to go about it...
any help'll be appreciated
thanks
Allthough I could use some great XML module from cpan, I would
like to get data from the following xml file by using regexp:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key></key>
<dict>
<key>1</key>
<dict>
<key>Track ID</key><integer>1</integer>
<key>Name</key><string>Brano 1</string>
</dict>
<key>2</key>
<dict>
<key>Track ID</key><integer>2</integer>
<key>Name</key><string>Brano 2</string>
</dict>
...etc...
</dict>
</dict>
I would like to get this and so forth:
<dict>
<key>Track ID</key><integer>1</integer>
<key>Name</key><string>Brano 1</string>
</dict>
sadly, i don't know how to go about it...
any help'll be appreciated
thanks