This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: nested templates?



> xmlns:fo="http://www.w3.org/1999/XSL/Format";>
why are you specifying FO namespace, you seem to be writing HTML.
Just remove this line.


> I can _import_ those templates wherever I like, and build up complex
> documents out of little sub-formatters.

I don't understand this comment at all, that seems to be a description
of the normal use of apply-templates, which you said you didn't like and
you wanted everything as one chunk, hence for-each.

You probably also want to use <xsl:output method="html"/>
to get HTML syntax rather than XML.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]