Hi again
I have just started to play with xalan.
I have plainly imitated the birds example in SimpleTransform and I am surprised 
at
the output: I get a newline inserted after each element. 
How can I control the formatting?
Here is an excerpt of my xsl:
<?xml version="1.0"?> 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
  <xsl:output method="xml" indent="yes"/>
<xsl:template match="identifier"><xsl:value-of select="@name"/>
<xsl:apply-templates/></xsl:template>
<xsl:template match="type"><xsl:apply-templates/></xsl:template>
<xsl:template match="basic_type"><xsl:value-of select="@size"/>
<xsl:value-ofselect="@type_name"/> </xsl:template>

And of my output:
   i
     integer 

with the following xml input:
   <identifier name="i">
    <type> <basic_type type_name="integer"/> </type>

     integer 



                                        François Thomasset.
                                        INRIA (A3)

[EMAIL PROTECTED]             Tel: +33 (1) 39-63-54-75
                                        Fax: +33 (1) 39-63-59-95
INRIA, Rocquencourt, BP 105, 78153 Le Chesnay Cedex, France


Reply via email to