views:

12

answers:

1

I have a an XML file where I need to get up 2 dirs to get a file (from water to fire)

<album basepath="albums/water/images">
    <img src="001.jpg" />
    <img src="002.jpg" />
    <img src="../../fire/images/005.jpg" />
</album>

So my question is if

albums/water/images/../../fire/images/005.jpg

is a valid path?

+1  A: 

Yes, it's a valid path

Noodles