Subject: Re: [xsl] new user question Saxon From: g l <glarowe@xxxxxxxxxxx> Date: Wed, 21 Sep 2005 12:29:39 -0500 |
<?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://saxon.sf.net/" xmlns:m="http://www.w3.org/1998/Math/MathML" version="2.0">
<xsl:variable name="tab"> <xsl:text> </xsl:text> </xsl:variable>
<xsl:variable name="newline"><xsl:text> </xsl:text> </xsl:variable>
<xsl:template match="/"> <xsl:apply-templates/> </xsl:template>
<xsl:call-template name="author"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:call-template name="pacs"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:call-template name="abstract"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:call-template name="body"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:call-template name="citation_article"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:call-template name="citation_other"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:call-template name="figgrp"> <xsl:with-param name="artid" select="$artid"/> </xsl:call-template>
<xsl:output method="text"/>
What you describe (just getting text back with no markup) is the consistent with the behaviour of a stylesheet that doesn't match teh input document (as that's what the default templates do).
Your problem is in the bit you showed as ... so it's hard to be specific, but if teh output was coming to the screen then <xsl:result-document wasn't executed, which means that <xsl:template name="body"> was not executed.
But you didn't show the code that was intended to call that template, so
I can't comment on why it didn't get called.
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] new user question Saxon, David Carlisle | Thread | Re: [xsl] new user question Saxon, David Carlisle |
Re: [xsl] new user question Saxon, David Carlisle | Date | Re: [xsl] Adding elements to unknow, Mukul Gandhi |
Month |