<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:import href="configlib.xsl"/>
	<xsl:param name="id"/>
	<xsl:variable name="env" select="/sysenv/env[@id = $sysid]"/>
	<xsl:template match="/">
	<!-- Place breakpoint on this variable: -->
		<xsl:variable name="itemresid" select="string(($env//node()[@id = $id])[1]/@resid)"/>
		<xsl:variable name="itemres" select="$env/resource[@id = $itemresid]"/>
			<xsl:call-template name="ResolvePath">
				<xsl:with-param name="PathNodes" select="$env/path"/>
				<xsl:with-param name="PathID" select="string($itemres/@rpathid)"/>
				<xsl:with-param name="PathType" select="string($itemres/@rpathtype)"/>
			</xsl:call-template>
			<xsl:value-of select="$itemres/@href" />
	</xsl:template>
</xsl:stylesheet>







<!-- Stylus Studio meta-information - (c)1998-2001 eXcelon Corp.
<metaInformation>
<scenarios ><scenario default="yes" name="Scenario1" userelativepaths="yes" url="Config.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperInfo  srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" />
</metaInformation>
-->
