You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Arno Illmann <il...@onlinemedia.de> on 2001/02/01 10:08:03 UTC

:-) AWAWAW: Standard Taglib Documentation

hey ho I found: \jsdk2\doc\apidoc and what is really good too are the java
sources from sun under \jsdk2\src\javax\servlet.

... dooc is cooming soon ........................

Regards, Arno

-----Ursprüngliche Nachricht-----
Von: Arno Illmann [mailto:illmann@onlinemedia.de]
Gesendet am: Mittwoch, 24. Januar 2001 17:05
An: 'cocoon'
Cc: 'Robin Green'
Betreff: AW: Standard Taglib Documentation

MILLE grazie for your help.

>>With respect, I think that a <xspdoc:desc> in the esql.xsl or like
esql.xsd
>>without any
>>
>><xspdoc:syntax>
>>  <lib:action attrib1='string' attrib2='int'>example</lib:action>
>></xspdoc:syntax>
>>                      (DTD: <!ELEMENT xspdoc:syntax (#CDATA)>)
>>
>>aims not to the users of taglibs.

>I'm sorry, I don't understand that sentence.

Oh, I think I'm writing very germglish. I meant, there should be (belonging
to a general describing element) a syntax describing element IN the taglibs
which must have been declared as not parsed character-data.

>>In future it should be possible to generate taglib-docs with examples of
>>syntax at a time on the fly with something like xspdoc2document.xsl.

>Yes - do you have such a stylesheet?

\cocoon\skins\xml.apache.org\stylesheets

---------------------------------------
Can you please give me a short piece of advice, where to get the matching
methods and parameters in the Servlet Api Docs, ie. 
- org.apache.cocoon.processor.xsp.library / XSPGlobalLibrary / getAttribute
- for the example below (Include expression).

AND can you resolve that method summary 1 time (exemplary).
(static org.w3c.dom.Element getAttribute(XSPGlobal global, java.lang.String
name, org.w3c.dom.Document document) 

I hope, I can expand my possibilitys in interpreting the taglibs on that
(I've got unfortunately only basic knowledge in java and no practical
experience in the libs and docs of that language. Is there more on the Web
like http://java.sun.com/docs/books/tutorial/servlets/index.html?).
---------------------------------------
>   <!-- Include expression as DOM -->
>   <xsl:template match="util:include-expr">
>     <xsl:variable name="expr">
>       <xsl:choose>
>         <xsl:when test="@expr">"<xsl:value-of select="@expr"/>"</xsl:when>
>         <xsl:when test="util:expr">
>           <xsl:apply-templates select="util:expr/*|util:expr/text()"/>
>         </xsl:when>
>       </xsl:choose>
>     </xsl:variable>
>
>     <xsp:expr>
>       this.xspParser.parse(
>         new InputSource(
>           new StringReader(
>	    String.valueOf(<xsl:copy-of select="$expr"/>)
>           )
>         )
>       ).getDocumentElement()
>     </xsp:expr>
>   </xsl:template>

---------------------------------------------------------------------
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>