[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: using name() to generate a tag dynamically in xsl

Subject: Re: 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
Re:  using name() to generate a tag dynamically in xsl
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.