xsl-list
[Top] [All Lists]

[xsl] Need XSLT help Please

2016-07-28 21:59:35
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>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] Need XSLT help Please, Rahul Singh rahulsinghindia15(_at_)gmail(_dot_)com <=