xsl-list
[Top] [All Lists]

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

2010-02-26 14:26:16
On 26/02/2010 19:38, mark bordelon wrote:


"word/../[(_at_)s_len<5]"

that is xpath (pattern actually) word/../ filteres by the predicate @s_len<5

but the path is a syntax error as you can't end it with /

I think you mean

match="*[word][(_at_)s_len<5]"

ie match an element that has a child element word and an attribute s_len with value less than 5


David



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>