write the relative location for 2 elements with same name
My question is related to setting the XPath location for 2 XML elements with the same name, but both of them are not siblings of each other, for example some are ancestor of the other
Example like this: 1) Quotes/quote/play/title
2)Quotes/quote/play/sequence/scene/tittle
If I refer to title like "//title" in <xsl:value-of select = "//title", machine will not figure out which title I am mentioning, 1) or 2)
So is there other way to write the relative xpath location to refer to the TITLE like in the two absolute location above?
I don't wanna write long absolute location
Would you please help me? Thank you