473,473 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Displaying deep node elements

28 New Member
Hello,
I am having problems on displaying deep node elements <DDD> and <EEE> using a stylesheet to display it in html. In the ouput that I am trying to get (the part with the (******) below) is where I am having the problems,(the part with the (---) below) I was able to display.
Can anyone please help.

xml file:

<ALPHA>
<AAA="26">
<BBB>
<CCC>

<DDD>
Text data 1
<EEE>
<a>3</a>
</EEE>
Text data 2
<EEE>
<b>1</b>
</EEE>
Text data 3
<EEE>
<b>1</b>
</EEE>
</DDD>

<FFF>
DIFFERENT Text data1
<EEE>
<c>2</c>
</EEE>
DIFFERENT Text data2
<EEE>
<c>2</c>
</EEE>
DIFFERENT Text data3
<EEE>
<b>1</b>
</EEE>
</FFF>

</CCC>
</BBB>
</AAA>
</ALPHA>


OUTPUT in html:

AAA
26

BBB
CCC

DDD -----------------

Text data 1 ****************************
EEE ------------------
a ****************************************
3 ****************************************

Text data 2 *******************************
EEE -----------------
b *************************************
1 *************************************

Text data 3 ********************************
EEE -----------------
b ************************************
1 ************************************

FFF -----------------

DIFFERENT Text data1 *************************
EEE -----------------
c ****************************************
2 ****************************************

DIFFERENT Text data2
EEE -----------------
c ****************************************
2 ****************************************

DIFFERENT Text data3 ************************
EEE -----------------
b ****************************************
1 ****************************************

Thank you
Nov 14 '07 #1
1 1259
jkmyoung
2,057 Recognized Expert Top Contributor
What are you using? DOM? XSLT?
If you could post what code you have so far we can figure out how to continue on in the style you've chosen.
Nov 14 '07 #2

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

Similar topics

5
by: Patient Guy | last post by:
In my reading of the Strict and Transitional DTD for HTML 4.0, the table row (TR) elements are contained within table section elements: THEAD, TFOOT, and TBODY. The table section elements are...
2
by: partridge | last post by:
I'm sure it's not mozilla's fault but I'm at a loss here. I'm loading the following XML data into a page using http_request: <?xml version="1.0" encoding="iso-8859-1"?> <forum> <message...
4
by: fperfect13 | last post by:
Hi, I wanted to perform a deep copy of an array. Searching on google I ran into different opinions : C# Interview Questions (http://blogs.wwwcoder.com/tsvmadhav/archive/2005/04/08/2882.aspx)...
4
by: Dennis | last post by:
I have several Data Structures, say "mystruct" which contain arrays of bytes, other structures, etc. I then dimension a variable (var1) as "mystruct" and set the various elements var1 to data. I...
5
by: BenW | last post by:
Hello, What is the easiest way to make "deep copy" of my Hashtable? How about with other Collection classes in C#, any documents available? I don'r actually understand why Framework's...
1
by: bizt | last post by:
Hi, I have an XML document that, at some points, nodes are about several levels deep. For example: <?xml... <root> <node>
13
by: hornedw | last post by:
I have been working on a ecommerce website for myself. What I needed some assistance on was when i was trying to display the categories/subcategories for the different products. I decided to use...
6
by: lejason | last post by:
I am having trouble with a really simple problem! haha. How do you display that data from on xml file. Here is my xml file called "test.xml" <?xml version="1.0" encoding="iso-8859-1"?>...
2
by: RickH | last post by:
Using the ms XMLDOM... What techniques do you guys use to create deep elements in code for appending to the main document as the user "adds" complex objects. Currently I keep 3 files to do it...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.