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 8172529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:48:40+00:00 2026-06-06T21:48:40+00:00

Usually XML document starts with the header like <?xml version=1.0 encoding=utf-8?> Consider this document

  • 0

Usually XML document starts with the header like <?xml version="1.0" encoding="utf-8"?>

Consider this document

   <?xml version="1.0" encoding="utf-8"?>
    <Foo>
        <?One?>
        <?Two some?>
        <?Three <?Nested ?> ?>
    </Foo>
  1. Can one reuse <? and ?> again inside the XML document?
  2. Does XML parser ignore these content in these tags? How to get them?
  3. Is there any problem with Three’s Nested tag?

My guess is these are document property and can be placed anywhere. Right? Also I’m thinking to do some XML data generation based on these meta tags. Is that a right approach?
e.g.

  <?if a == b ?>
  <Node>IncludeIfEqual</Node>
  <?endif ?>

PS Google doesn’t help. It ignores <? keyword.

  • 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-06-06T21:48:43+00:00Added an answer on June 6, 2026 at 9:48 pm

    The question marks indicate that the command is an XML processing instruction. This allows a document to contain instructions for applications.

    See here: Processing Instructions

    Also another interesting little page on them:

    XMLPLEASE

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

Sidebar

Related Questions

Configuring servlets in web.xml usually follows this pattern: http://www.mydomain.com/servletName/some/path/here What configuration do I use
I usually use one preference XML file to store all app-wide data. Now I
I usually do not have difficulty to read JavaScript code but for this one
when i want to get a view object delared in xml,usually i have two
When you add an xml schema to a document like I understand that the
In SharePoint, a file named ONET.xml is usually needed when creating a custom site
I am trying to parse XML files using Nokogiri, Ruby and XPath. I usually
Usually in a django view you would do something like queryset = MyModel.objects.something() How
Usually (if not always), when jQuery allows you to add a callback to some
Has anybody seen a log file format like this before, or know the name

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.