You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gary Clark <ga...@jeld-wen.com> on 2001/06/16 00:03:37 UTC

[C2] How do I install a taglib?

OK, I'm lame.  I've read everything I could find so if its out there, I
missed it.  How do I install a taglib under C2b1?


Here is the taglib (testing.xml)

<?xml version="1.0"?>
<xsl:stylesheet
  version="1.0"
  xmlns:xsp="http://apache.org/xsp"
  xmlns:testing="http://www.jeld-wen.com/testing/1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
 <xsl:template match="testing:msg">
   A Testing Message
 </xsl:template>
</xsl:stylesheet>


Here is the test page (testing.xsl)

<?xml version="1.0"?>
<xsp:page
    language="java"
    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
    xmlns:testing="http://www.jeld-wen.com/testing/1.0"
>
 <page>
  <testing:msg/>
 </page>
</xsp:page>


In cocoon.xconf, I've added

        <builtin-logicsheet>
          <parameter name="prefix" value="devtool"/>
          <parameter name="uri"
value="http://www.jeld-wen.com/devtool/1.0"/>
          <parameter name="href"
value="file:///home/garyc/work/testing.xsl"/>
        </builtin-logicsheet>

I admit I'm guessing the value of <parameter name="href"
value="file:///home/garyc/work/testing.xsl"/> should work based on examples
from C1, but I don't know for sure.

I've read the XSP Logicsheet Guide on the C2 website, but it indicates that
I should go to the C2 website to get information about installing a
logicsheet :-/  Any pointers?

BTW, I'll be adding <xsp:logic> nodes next, so I do need this to be a taglib
instead of just an XSLT transformation.

TIA,
Gary A. Clark
Systems Programmer
Software Services Group
JELD-WEN Information Systems


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


WHAT IS WRONG??

Posted by Pankaj Malhan <pa...@yahoo.com>.
I WANT TO UNSUSCRIBE AND I AM NOT ...
WHAT TO DO/??


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>