You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by yuryx <yu...@mobicomk.donpac.ru> on 2002/07/29 16:34:57 UTC

use taglib (logicsheets) in XSL

Hi all!

Can I do use taglibs in my XSL?
For example:
<?xml version="1.0" encoding="KOI8-R"?>

<xsl:stylesheet version="1.0" 
xmlns:xsp-request="http://apache.org/xsp/request/2.0"
                              
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

 <xsl:template match="/">
   <test><xsp-request:get-sitemap-uri/></test>
  </xsl:template>
</xsl:stylesheet>

Thanx.
Yury.



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

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


Re: use taglib (logicsheets) in XSL

Posted by yuryx <yu...@mobicomk.donpac.ru>.
Vadim Gritsenko wrote:

>>From: yuryx [mailto:yuryx@mobicomk.donpac.ru]
>>
>>yuryx wrote:
>>
>>    
>>
>>>Hi all!
>>>
>>>Can I do use taglibs in my XSL?
>>>      
>>>
>
>You can use logicsheets in XSP pages only. XSP page will then generate
>XML (invoking any logicsheets you are using). This resulting XML can be
>anything, including XSL. See sub sitemap samples.
>
>  
>

>  
>
>>>For example:
>>><?xml version="1.0" encoding="KOI8-R"?>
>>>
>>><xsl:stylesheet version="1.0"
>>>xmlns:xsp-request="http://apache.org/xsp/request/2.0"
>>>
>>>xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>>>
>>><xsl:template match="/">
>>>  <test><xsp-request:get-sitemap-uri/></test>
>>> </xsl:template>
>>></xsl:stylesheet>
>>>
>>>Thanx.
>>>Yury.
>>>
>>>      
>>>
>>How-to esql.xsl work, If this not possible?
>>    
>>
>
>esql.xsl is not *stylesheet*, but *logicsheet*.
>
>Vadim
>
>  
>
Thanx. I'm understand this differents... But, I have using logicsheets 
in stylesheets with transformation step (xsl+xsp=xslp :) )...
Maybe this idea is good?

Yury.




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

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


RE: use taglib (logicsheets) in XSL

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: yuryx [mailto:yuryx@mobicomk.donpac.ru]
> 
> yuryx wrote:
> 
> > Hi all!
> >
> > Can I do use taglibs in my XSL?

You can use logicsheets in XSP pages only. XSP page will then generate
XML (invoking any logicsheets you are using). This resulting XML can be
anything, including XSL. See sub sitemap samples.


> > For example:
> > <?xml version="1.0" encoding="KOI8-R"?>
> >
> > <xsl:stylesheet version="1.0"
> > xmlns:xsp-request="http://apache.org/xsp/request/2.0"
> >
> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> >
> > <xsl:template match="/">
> >   <test><xsp-request:get-sitemap-uri/></test>
> >  </xsl:template>
> > </xsl:stylesheet>
> >
> > Thanx.
> > Yury.
> >
> How-to esql.xsl work, If this not possible?

esql.xsl is not *stylesheet*, but *logicsheet*.

Vadim


> Yury.
> 


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

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


Re: use taglib (logicsheets) in XSL

Posted by yuryx <yu...@mobicomk.donpac.ru>.
yuryx wrote:

> Hi all!
>
> Can I do use taglibs in my XSL?
> For example:
> <?xml version="1.0" encoding="KOI8-R"?>
>
> <xsl:stylesheet version="1.0" 
> xmlns:xsp-request="http://apache.org/xsp/request/2.0"
>                              
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>
> <xsl:template match="/">
>   <test><xsp-request:get-sitemap-uri/></test>
>  </xsl:template>
> </xsl:stylesheet>
>
> Thanx.
> Yury.
>
How-to esql.xsl work, If this not possible?

Yury.



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

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