xsl-list
[Top] [All Lists]

Re: [xsl] layout problem

2011-12-08 04:45:43
On 08/12/2011 10:34, Roelof Wobben wrote:

all your code is in a template with name section-content but you never call a template of that name (named templates are invoked using xsl:call-template) so your stylesheet is equivalent to a stylesheet with no temnplates, so will just produce character data and no elements.

it looks like you want to be using template matching and apply-templates
rather than named-templates and xsl:for-each.

David



--
google plus: https:/profiles.google.com/d.p.carlisle

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________

--~------------------------------------------------------------------
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>