Re: [xsl] How to check is element has children.

Subject: Re: [xsl] How to check is element has children.
From: Ruben Inoto <ris2@xxxxxxxxx>
Date: Thu, 15 Feb 2001 20:04:47 +0100
 Hi Marc,

 I'm not sure if you mean this:

   <parent_node>
      ....
          <child_node>....</child_node>
     ....
 </parent_node>

  This XSL template:

    <xsl:template match="parent_node[child_node]">
       .......
    </xsl:template>

  will be applied only to those parent_nodes having child_nodes.

"Rush, Marc" ha escrito:

> I am finally making my way to learning XSL and have made some decent
> progress.  However, need a bit of help with what I assume is a simple
> question.  I need to test if an element has children so that I can apply
> a style to it in the trasformation to HTML.  Appreciate the help.
>
> Thanks
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread