Title: RE: 1.1 TODO

Oops, that's not quite right.  The resulting HTML document lists "Ted Husted" not "<p>Ted Husted</p>".  <xsl:value-of> only selects the text nodes under the given node.  If you want the <p>'s to appear, both in <info> and in <assigned>, we should use <xsl:apply-templates> rather than <xsl:value-of> (as long as we've got the default "copy" template, which we do).  Is the absence of the <p></p> what you meant by "that didn't work"?

-----Original Message-----
From: Waldhoff, Rodney
Sent: Thursday, January 18, 2001 12:56 PM
To: '[EMAIL PROTECTED]'
Subject: RE: 1.1 TODO


Ted,

Your first example, namely,

    <task name="Better Database Support">
      <info>
        <p>Use a "real" database of some sort (while still making Struts
        easy to install.</p>
      </info>
      <assigned>
        <p>Ted Husted</p>
      </assigned>
    </task>

looks like it works fine for me (I tried it with both XT and Xalan).  The resulting HTML document lists <p>Ted Husted</p> in the "Volunteer" table cell.

Is this the behavior you are getting?  Is this the behavior you are expecting?  Please clarify what you mean by "that didn't work".

 - rlw

Reply via email to