[xsl] On the XPath to my editor....

Subject: [xsl] On the XPath to my editor....
From: "Mark R. Diggory" <mdiggory@xxxxxxxxxxxxxxxxx>
Date: Thu, 16 May 2002 21:00:03 -0400
Well, I've made interesting progress on my JSP/XSL XML editor interface. However, I'm at a point where I'm trying to reference an element that is defined in an XPath string. My Schemas referenced in a xsl:param. Anyone got some tips on how I might do this?

Example: <xsl:param name="xsd-path">/xs:schema[1]/xs:element[5]</xsl:param> <xsl:param name="schema" select="document('loc_of_schema')"/>

<xsl:apply-templates select="$schema/*[saxon:evaluate($xsd-path)]"/>

But what I end up getting is all the child elements of the xs:schema element.

-Thanks for any advice,

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread