[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: [XSL 1.0] Copy node into of other

Subject: RE: [XSL 1.0] Copy node into of other
From: "Jimenez, Luis" <Luis.Jimenez@xxxxxxxxx>
Date: Sat, 6 Nov 2010 13:55:34 -0400
RE:  [XSL 1.0] Copy node into of other
Martin,

Solution with [1].

Thanks,

Luis Fdo.

-----Mensaje original-----
De: Martin Honnen [mailto:Martin.Honnen@xxxxxx]
Enviado el: Sabado, 06 de Noviembre de 2010 12:15 p.m.
Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Asunto: Re:  [XSL 1.0] Copy node into of other

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/info
caja[1]"/>
     </xsl:copy>
   </xsl:template>

--

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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.