[xsl] conversion problem

Subject: [xsl] conversion problem
From: "Andreas Putscher" <andreasputscher@xxxxxx>
Date: Tue, 25 Sep 2001 11:51:10 +0200
Dear all!,

I have the following expression:

<item>Item with bullet list
  <bulletlist>
   <item>Item 1.1</item>
   <item>Item 1.2</item>
   <item>Item 1.3</item>
  </bulletlist>
</item>

I would like to translate it into:

<p>Item with bullet list</p>
<p>Item 1.1</p>
<p>Item 1.2</p>
<p>Item 1.3</p>

my solution isnt working:

<xsl:template match="bulletlist">
  <p><xsl:apply-templates/></p>
</xsl:template>

<xsl:template match="item">
<p><xsl:apply-templates/></p>
</xsl:template>

as I get as a result:

<p>Item with bullet list
  <p>Item 1.1</p>
  <p>Item 1.2</p>
  <p>Item 1.3</p>
</p>

What is the proper solution for my problem?
Thanks for your help in advance,

  Andreas


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread