cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khomik Rostislav" <kho...@hotmail.com>
Subject Re: problem with <xsl:process-children/>
Date Wed, 25 Oct 2000 15:45:37 GMT
It does not work. Here is a situation:

Consider In XML I have a structure
<root>Root
  <leaf>Leaf 1</leaf>
  <leaf>Leaf 2</leaf>
  <collapsed_node>Node 1
          <leaf>Leaf 3</leaf>
          <leaf>Leaf 4</leaf>
   </collapsed_node>
</root>

to make it as showing/hidding text in Explorer I must convert it by XSL in
the following HTML:

<DIV id="Root">
    Leaf1<BR>
    Leaf2<BR>
    <DIV id="Node 1">
        Leaf3
        Leaf4
    </DIV>
</DIV>

Question is: If I describe an XSL template for <root>, which construction
will process
all nested in <root> tags? If someone will help me, I'll be very glad,
because I'm newbie with
Cocoon and XML.

----- Original Message -----
From: "Robin Green" <greenrd@hotmail.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, October 25, 2000 4:47 PM
Subject: Re: problem with <xsl:process-children/>


> "Khomik Rostislav" <khomik@hotmail.com> wrote:
> >org.apache.xalan.xslt.XSLProcessorException: Unknown XSL element:
> >process-children
> >
> >What should I do?!
>
> xsl:process-children does not exist in XSLT 1.0. Just use
>
> <xsl:apply-templates select="node()"/>
>
> instead.
>
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>

Mime
View raw message