2012-01-23, 11:09 PM
I'm getting a bit fed up hacking into XML files using a sledgehammer and crowbar...
From a node something like this...I'd like to extract the extensions value into a string, the Directory names into a list and the Directory values into a list. There must be a nice elegant way of doing it.
All suggestions greatfully accepted...
From a node something like this...
Code:
<PictureLibrary extensions="^.+\.(bmp|jpg|png|tiff|tif)$">
<Directory name="Family-1">\\Sbs2003\Media\Video Clips And Photos\Family\</Directory>
<Directory name="Family-2">\\Sbs2003\Media\Video Clips And Photos\Scans\</Directory>
</PictureLibrary>
All suggestions greatfully accepted...