473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Xslt help urgent plz

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
May 16 '09 #1
1 1678
Dormilich
8,658 Expert Mod 8TB
try
Expand|Select|Wrap|Line Numbers
  1. <xsl:for-each select="b or i">
May 17 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Wilson Wu | last post by:
hi, how can i use xslt to transform xml data into excel worksheet ? XML file : <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="test5.xsl"?> <dataroot...
4
by: XML newbie: Urgent pls help! | last post by:
I am using VB.Net. My program is to connect to a remote IPAddress. Once, it verifies the login information it should display the SessionID and enable some button . I appreciate your help and thanku...
4
by: gouranga | last post by:
Sablotron keeps giving an error (non-XSL instruction) on the line with this code: <xsl:result-document href="slideshow/index.html" format="html"> Is this implemented in Sablotron? It's quite...
0
by: Umagowder | last post by:
All I have my class serialised correctly. I have to apply style sheet to that data and display it in some other format. Everything works fine,I can not read the following xml tag, ...
3
by: Mark | last post by:
I'd like an inexpensive tool that can create moderately complex XSLT files based on the mappings from one XML schema to another. I would hope that the user could click and drag attributes from one...
2
by: Arun dudee | last post by:
i have make a webpage on which i have t makes some hyerlinks on left of page and then on main page i have have a image on top of page and then below it some text. what i ahve to do is that these...
2
by: Ch Pravin | last post by:
Hi All: I am having the following xml which i need to convert to excel using xslt. Please help me out. Afghanistan.xml <?xml version="1.0" encoding="utf-16"?> <Languages...
4
by: saritha2008 | last post by:
Hi, Iam working on converting one of xml file to other form of xml using XSLT. As part of this, I need to count the no. of "component" nodes in the xml file given below. If there is only one...
8
by: manugm1987 | last post by:
<?xml-stylesheet type="text/xsl" href="ch1.xsl"?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <style type="text/css"> span.cls_002{...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.