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]
Other format: [Raw text]

indenting output Q?


Hi all,
I would like to ask how to produce some good looking output with Xalan.

my template is:
<xsl:template match="event_name">
          <ADT_A01>
           <MSH>
            <MSH.1>|</MSH.1>
            <MSH.2>~^\&amp;</MSH.2>
          ...

but the result is:

<ADT_A01><MSH><MSH.1>|</MSH.1><MSH.2>~^\&amp;</MSH.2> ...

and I would like it to be:

<ADT_A01>
  <MSH>
    <MSH.1>|</MSH.1>
    <MSH.2>~^\&amp;</MSH.2>
    ...

any hints?

br,

Jakub


 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]