Probably not the answer you wanted, but:
<xsl:template match="*[.='/mvfs/fos-6000/osidcc/src/lapd/Dmain.c']">
<xsl:copy>/mvfs/fos-6000/osidcc/src/lapd/</xsl:copy>
</xsl:template>
For a more useful answer you will need to tell us more about the possible range of inputs, the output that you want in relation to different inputs, and the place in which these inputs occur.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|