I hope the following code will fulfill your needs

 

<xsl:for-each select =”a”>

       <xsl:value-of select=”b”>

          <xsl:for-each select=”c”>

                  <xsl:value-of select=”I”/> : <xsl:value-of select=”j”/>

          </xsl:for-each>

</xsl:for-each>        

 

Regards

Jerald S

                    

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 14, 2004 2:30 PM
To: [EMAIL PROTECTED]
Subject: Please help in XSLT

 

Hi Everybody,

            Please help.

            I have a XML file in that I have parent tags and two child tag.

Example :

                        <a>

                                    <b>

                                   

                                    </b>

 

                                    <c>

                                                <i>   </i>

                                                <j>   </j>          

           

                                   

                                    </c>

                                                <i>   </i>

                                                <j>   </j>

                                    <c>

                                                <i>   </i>

                                                <j>   </j>

                                    </c>

                        </a>

 

I need XSLT solutions to:

            1) How I can implement, every repeat of <c> I have to combine the content of <b>.

            2) How I can display the content of <i> and <j> in a single row with ‘:’ colon as delimiter.

 

Thanks in advance

 

Bye,

Bhaskar

 

 

           

DISCLAIMER:
This message contains privileged and confidential information and is intended only for the individual named.If you are not the intended recipient you should not disseminate,distribute,store,print, copy or deliver this message.Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted,corrupted,lost,destroyed,arrive late or incomplete or contain viruses.The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.

Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.

Reply via email to