Home
TeamSite
javascript to read properties file
srinivas13
Hi everyone,
I need a script to read properties file and take a value(among key,value pairs) and places it in document() function as below
< xsl:variable name="workareapath" select="document('$value ') / >
please reply
Find more posts tagged with
Comments
Rick Poulin
Please use the edit button to fix your post and add CODE tags around your xsl directive. It's breaking the forum view.
It sounds like you're trying to inject variables into an XSL template. Probably the easiest way to do what you're looking for is to define your properties as a set of <xsl:variable> in another .xsl file somewhere, and then have your templates import it with <xsl:import>. If you need something more complex than that, you may need to think about defining a custom PTCompiler to merge XML datasources.
srinivas13
it is not possible to read files using javascript