Re: [xsl] using name() to generate a tag dynamically in xsl output - FOLLOW UP

Subject: Re: [xsl] using name() to generate a tag dynamically in xsl output - FOLLOW UP
From: "Christopher R. Maden" <crism@xxxxxxxxx>
Date: Fri, 26 Feb 2010 14:50:57 -0500
mark bordelon wrote:
> Experimenting with it lead me to a follow-up question.
> Altova is complaining about any axis or axis-like syntax in my match
> statement. I have also tried word/parent::**[@s_len&lt;0] and various
> others. My idea is to get any node the parent of <word> with that
> condition of its attribute.

I was recently surprised to be reminded that match pattern steps are
restricted in their syntax.  Assuming that the double-asterisk was just
a typo in your e-mail, try *[word and @s_len < 0] instead.

~Chris
-- 
Chris Maden, text nerd  <URL: http://crism.maden.org/ >
bThe honest man, though eber sae poor, Is king ob men for ab that.b
 b Robert Burns, bIs There for Honest Povertyb
GnuPG Fingerprint: C6E4 E2A9 C9F8 71AC 9724 CAA3 19F8 6677 0077 C319

Current Thread