Re: [xsl] Re: xsl-list Digest 1 Jun 2006 05:10:01 -0000 Issue 793

Subject: Re: [xsl] Re: xsl-list Digest 1 Jun 2006 05:10:01 -0000 Issue 793
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 2 Jun 2006 00:47:44 +0100
You have two templates matching Story which is an error and some systems
would just not compile the styleshete at all, but most take the recovery
action of ignoring the first template. So the fix is apparently to
delete the second template matching Story, keeping the template that
turns <Root< into <DG> if that's what you want.

I feel I'm missing something here?

If you want <Story> to change to <D> then you don't want the xsl:copy in
the first template matching Story (as that makes a Story element in the
result, change that to <D>, keeping the grouping code in the template
interior. 

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread