Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7700325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:40:56+00:00 2026-05-31T22:40:56+00:00

I am parsing and html/xml file. I am bit confused with the fact that

  • 0

I am parsing and html/xml file. I am bit confused with the fact that can we have a nested tag like this.

<A a="#" b="#".....<xyz>...</xyz> />

If yes can you please point out me the place where I could get information about this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T22:40:58+00:00Added an answer on May 31, 2026 at 10:40 pm

    No you cannot. Other than the tag name and an optional closing ( /> ) the only thing allowed inside of the tag it self are attributes which take the form key=val. If you want to have < or > in a tag’s attributes then they need to be encoded as &lt; and &gt;

    Nested tags have to be done like so

    <root>
       <child></child>
    </root>
    

    A tag that has a /> is called self closing, this means it has no children

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have really simple XML (HTML) parsing ANTLR grammar: wiki: ggg+; ggg: tag |
how to parse HTML tag using XML parsing I am parsing XML file but
After parsing HTML or XML file, we can get the DOM tree. After parsing
I have problem with parsing XML file using XLTS. <html xmlns=http://www.w3.org/1999/xhtml xml:lang=pl> <body style=margin-top:
I am parsing an html content and have output on my screen. This website
I have a xml file <text> <defalut>This file has the following features:</defalut> <value> <ul>
I have a XML file which contains a part like below. img and br
I'm parsing an HTML file into a well-formed XML document using NekoHTML parser. However
I'm having trouble parsing this xml file using jquery: <?xml version=1.0 encoding=utf-8?> <?mso-infoPathSolution name=urn:schemas-microsoft-com:office:infopath:BOT-Memos:-myXSD-2011-07-13T14-29-57
I have to resolve a problem close to parsing a huge file like, 3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.