cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Panagiotis Konstantinidis <>
Subject Question: XML to PDF in Cocoon
Date Mon, 13 Nov 2000 11:03:04 GMT
  Hello there. I am convering an XML file to PDF using Cocoon. The problem
is that I want the data to be displayed in a certain way. For example when I
have the following XMl file:

  <p> Hello </p>
  <name> Sam. </name>
  <p> How are you? </p>

  and then from an xsl file I call the appropriate templates:

  <xsl:apply-templates select="p"/>

  <xsl:apply-templats select="name"/>

   I get the output: "Hello How are you? Sam." How can I write the code in
order to display the output: "Hello Sam. How are you?" I have tried the
<xsl:if> and <xsl:choose> but they do not seem to work. Any suggestions?



View raw message