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

Need XSLT help Please

Subject: Need XSLT help Please
From: "Rahul Singh rahulsinghindia15@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Jul 2016 02:59:29 -0000
 Need XSLT help Please
Hi,

I am Begineer not much experience in XSL so that i have posted that
question. I had tried lot but get fail. I need XSLT code for that sample
input output:

I tried much but fail. My question is put *ANUMBER from AC with
corresponding PS.*


Sample Input:

<?xml version="1.0" encoding="UTF-8"?>
<ACS>
   <AC>
      *<ANUMBER>55555</ANUMBER>*
      <PSS>
         <PS>
            <S>NEF</S>
            <C>63872R798</C>
         </PS>
      </PSS>
   </AC>
   <AC>
   *   <ANUMBER>330448</ANUMBER>*
      <PSS>
         <PS>
            <S/>
            <C>1060150</C>
         </PS>
         <PS>
            <S/>
            <C>1260150</C>
         </PS>
      </PSS>
   </AC>
</ACS>




Sample OutPut:



<?xml version="1.0" encoding="UTF-8"?>
<ACS>
   <AC>
      *<ANUMBER>55555</ANUMBER>*
      <PSS>
         <PS>
*            <ANUMBER>55555</ANUMBER>*
            <S>NEF</S>
            <C>63872R798</C>
         </PS>
      </PSS>
   </AC>
   <AC>
      *<ANUMBER>330448</ANUMBER>*
      <PSS>
         <PS>
          *  <ANUMBER>330448</ANUMBER>*
            <S/>
            <C>1060150</C>
         </PS>
         <PS>
            *<ANUMBER>330448</ANUMBER>*
            <S/>
            <C>1260150</C>
         </PS>
      </PSS>
   </AC>
</ACS>

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.