473,386 Members | 1,766 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,386 software developers and data experts.

XML tags closing with Hierarchical level

1
Hi,I want close the tags in hierarchical way.
(E.g)This is my input.
Expand|Select|Wrap|Line Numbers
  1. <P_Normal><list-bull></P_Normal>
  2. <P_list-bull(1)>Use Microsoft Windows accessibility  </P_list-bull(1)>
  3. <P_list-simple(2)>   Magnify the display </P_list-simple(2)>
  4. <P_list-simple(2)>   Change the size of text and icons </P_list-simple(2)>
  5. <P_list-bull(1)>Adjust background colours </P_list-bull(1)>
  6. <P_Normal></list-bull></P_Normal>
I want to close the list tags in hierarchical manner(below way)
Expand|Select|Wrap|Line Numbers
  1. <list list-type="bullet">
  2. <list-item><p>Use Microsoft Windows accessibility options to:
  3. <list list-type="simple">
  4. <list-item><p> Magnify the display</p></list-item>
  5. <list-item><p> Change the size of text and icons</p></list-item>
  6. </list></p></list-item>
  7. <list-item><p> Adjust background colours</p></list-item>
  8. </list></p>
Help me.... Thank u......
Jan 7 '12 #1
0 1291

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

Similar topics

2
by: Reimar Bauer | last post by:
Hi all, I would like to use a hierarchical group oriented encryption. Is there something implemented or did you know something I could use? For explanaition. If you have a large building...
18
by: Shannon Jacobs | last post by:
Trying to solve this with a regex approach rather than the programmatic approach of counting up and down the levels. I have a fairly complicated HTML page that I want to simplify. I've been able to...
8
by: Hostile17 | last post by:
Consider the following HTML. ---------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta...
2
by: Dennis Allen | last post by:
Hi. I've been using a simple css based outline on my web site. A section of hyperlinks within <div class>, imitating open/closed folders. Problem. Since the folder is on the lower left of the...
12
by: Oberon | last post by:
I have a large HTML document. It has hundreds of <span>s which have no attributes so these <span>s are redundant. How can I remove these tags automatically? The document also has <span>s with...
3
by: Philipp Schumann | last post by:
Hi, I have several nested layers of <node> element that are processed by an XSLT template. Is there any possibility to determine the depth of a node in the overall nesting hierarchy? For...
3
by: Br | last post by:
I'm going to go into a fair bit of detail as I'm hoping my methods may be of assistance to anyone else wanting to implement something similar (or totally confusing:) One of systems I've...
2
by: Ryan Joseph So | last post by:
how can i make a hierarchical access of procedures if i want to access it from another form. for example i have a form named form1, so i want to access its procedures or function i just call...
12
by: Steve | last post by:
I have been studying the Adjacency List Model as a means of achieving a folder structure in a project I am working on. Started with the excellent article by Gijs Van Tulder ...
1
by: Rangeshram | last post by:
Dear All, I have an input without closing tags(only opening) e.g., input: <index.level level="1" ref.id="001"><name>ADDRESSES</name> <index.level level="2"><name>Abel, I. W.</name> <locator...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.