xsl-list
[Top] [All Lists]

RE: Wrapping consecutive similar elements inside a new pare nt element

2003-02-15 03:42:10
Stuart, Danny,

Thank you both for your replies.  I ended up using Stuart's code, because it
worked for me immediately.

Danny, nothing against your code, it's just me being obtuse, I know: I
believe you meant the "doc" template as a placeholder only, for me to
replace, but I didn't "get" how to do this.

Stuart, I also added [starts-with(text(),'-')] to the span specs, because
there are some other paras that begin with spans, but that don't begin with
the list item tell-tale "-".  There are probably better ways to do this,
too, huh?

Thanks again,
Graham Hannington



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



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