Woo hoo! Many thanks, David. That's exactly what I needed.
Mark
On 6/30/06, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:
> But of course, my nested topic
> elements don't appear in the output.
well instead of
select="body" you want to select everything that isn't title, so that
would be
select="*[not(self::title)]"
or if using xslt2
select="* except title"
The question then is what you want to do with nested topics. If they
need the smame re-arranging process then you want your main template to
match match="topic" so that they all get transformed. If nested topics
just want copying then your main template wants match="/topic" so that
it only matches the top level element.
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>
--~--
--
Mark Peters
Senior Technical Writer
Saba Software
--~------------------------------------------------------------------
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>
--~--