I want to generate a link to a stylesheet in an HTML.

I'm currently doing the following:

<clip>

import org.apache.ecs.html.*;

<skip/>

    head head = new Head();
    head.addElement(new Link().setRel("stylesheet")
                              .setType("text/css")
                              .setTarget("mystylesheet.css"));
    head.addElement(new Title("My Title"));
</clip>

But I don't see the <link/> in the output.  I am seeing the title as
expected.

-----------------------------------------------------------
Thierry Lach
InterOne Marketing Group
PentaMark Worldwide Inc.
Business:  [EMAIL PROTECTED]
Home: [EMAIL PROTECTED]
Phone: (248)293-4715

Reply via email to