Hi Christian,
The pb seems to still be the same.
Please find attached : - the xml file for the database (my_biblio.xml) - the query
I want a space between the title and the publication year, which should be provided by the xsl:text </xsl:text> of the named template :
<xsl:template name="publicationDate"> xsl:text </xsl:text> <xsl:apply-templates select="monogr/imprint/date/@when"/> </xsl:template>
so the result should be :
<span class="title">Khartoum Greek</span>, 2003</li>
but the result is
<span class="title">Khartoum Greek</span>,2003</li>
Thanks in advance
best
emmanuelle
Le 04/02/2015 22:19, Christian Grün a écrit :
Hi Emmanuelle,
Could you please check if the problem has already been solved in Version 8.0 [1]?
If not, could you possibly provide us with a small example?
Thanks in advance, Christian
[1] http://files.basex.org/releases/latest
On Wed, Feb 4, 2015 at 10:12 PM, Emmanuelle Morlock emmanuelle.morlock@mom.fr wrote:
Hi all,
I'm using baseX 7.9 with GUI
My query declares an chop option set to "no" ("declare option db:chop 'no';") and uses "return xslt:transform($in, $style)".
But after running it, all the white-spaces in the xslt rules are chopped. for example the space in "xsl:text </xsl:text>" of a named template is not in the resulting html file.
What can I do to solve the pb ?
Thanks for your help
Cheers
Emmanuelle
-- Emmanuelle Morlock IGE CNRS - soutien aux projets d'édition TEI - humanités numériques
UMR 5189 HISoMA http://www.hisoma.mom.fr/ 04 72 71 58 40 06 85 84 69 16 @emma_morlock
Membre du comité de coordination d'Humanistica, association francophone des Humanités numériques http://www.humanisti.ca