This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using a variable as an Xpath expression


> XSL Error: pattern = 'document('en_US.xml')/locale/$myKey'

I am trying to do something quite similar:

  <xsl:apply-templates select="document($uri)$xpointer" />

, you can't do that. Is there a way in XSLT to go around it with a hack of
some sort? Or, I remember Kay Michael once talking about an extension to
SAXON which would enable to make XPath expressions from variables, but my
memory might not be working correctly this early in the morning.

Jarno


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]