| Subject: RE: [xsl] Position of a Child From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 21 Sep 2001 11:49:45 -0400 | 
The problem with the solution you gave me is that this code is inside a template (that matches the contextNode), and this template calls itself recursively for a set of selected attributes.
Basically what I'm doing is to filter the input xml to create an output based in a list of Childs (that this particular node may have or not). So going through every child for each one in the list and for each contextNode would be a lot of processing.
That is why I was using the select"*[name()=$NodeName]" to identify the child without going through all of them.
<ContextNode>
        <Child1/>
        <Child3/>
        <Child4/>
        <Child3/>
<ContextNode><ContextNode>
        <Child1/>
        <Child4/>
        <Child3/>
<ContextNode>Hoping that helps, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] Position of a Child, Casadome, Francisco | Thread | RE: [xsl] Position of a Child, Casadome, Francisco | 
| RE: [xsl] XML -> HTML with paragrap, t l | Date | RE: [xsl] switching to lower case d, Corey Spitzer | 
| Month |