Relative path using Level hierarchy(../../)



I want to use the relative path in xml files in our project. I have the files in the following location.



D:/SDC-Builds/SRDM2.3.0/SRDM/Svr/IdP/IdPserver/conf/attribute-r.xml


I have other xml file which needs to ref the above location, I use the following relative path to be independent of machines and folder names.


"../../../../../../IdP/IdPserver/conf/attribute-r.xml".


Please tell me am i using proper convention to refer the attribute-r.xml ?


No comments:

Post a Comment