Connecting Tech Pros Worldwide Help | Site Map

Xslt help urgent plz

  #1  
Old May 16th, 2009, 01:53 PM
Newbie
 
Join Date: May 2009
Posts: 13
Expand|Select|Wrap|Line Numbers
  1. <p class=MsoNormal>
  2.   <b style='mso-bidi-font-weight:normal'>
  3.     <span
  4. style='font-size:12.0pt;line-height:115%'>Hello </span>
  5.   </b>
  6.   <i style='mso-bidi-font-style:
  7. normal'>
  8.     <span style='font-size:12.0pt;line-height:115%'>hi </span>
  9.   </i>
  10.   <b
  11. style='mso-bidi-font-weight:normal'>
  12.     <span style='font-size:12.0pt;line-height:
  13. 115%'>how r u<o:p></o:p></span>
  14.   </b>
  15.   <b> -------------- </b>
  16. </p>
if u hav xml like this

Pls provide me xsl such tat everything prints in proper format
If i use
Expand|Select|Wrap|Line Numbers
  1. <xsl:for-each select="b">
  2. <value-of select>
  3. <xsl:for-each select="I">
if i use this xsl the data inside b tags displayed first n then the data in i tag gets displayed

Now provide me xslt such tat the <b> displaays n then <i> n then <b> n then <i> etc ..... there can be any number of b tags or i tags


PLs help with this regard

Thank U

Last edited by Dormilich; May 17th, 2009 at 10:33 AM. Reason: please use [code] tags when posting code
  #2  
Old May 17th, 2009, 10:39 AM
Dormilich's Avatar
Moderator
 
Join Date: Aug 2008
Location: Leipzig, Germany
Posts: 3,485
Provided Answers: 9

re: Xslt help urgent plz


try
Expand|Select|Wrap|Line Numbers
  1. <xsl:for-each select="b or i">
Reply