xsl-list
[Top] [All Lists]

Re: [xsl] [XSL 1.0] Copy node into of other

2010-11-06 12:15:32
Jimenez, Luis wrote:

Works without problem, but when there is a PD node without the attribute 
"marca" does not appear in the output, that changes must be made in the XSL to 
display too.

Sorry, I don't understand that requirement. Please explain in more detail what the problem is.

Also if there are two nodes picking in PD, I get two nodes in the output "infocaja", as 
could choose only the first "infocaja" of node picking.
.....
<femi>01/10/2010</femi>
<infocaja>1/1</infocaja>
<infocaja>2/2</infocaja>

The only process the first by adding [1] i.e.

  <xsl:template match="blqcab">
    <xsl:copy>
      <xsl:apply-templates
        select="@* |
                node() |

parent::pbd1/parent::frmbd/following-sibling::picking[1]/pagina/cabecera/infocaja[1]"/>
    </xsl:copy>
  </xsl:template>

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--