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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:10:50+00:00 2026-05-18T05:10:50+00:00

I was wondering what values are allowed for the xml:base attribute?

  • 0

I was wondering what values are allowed for the xml:base attribute?

  • 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-18T05:10:51+00:00Added an answer on May 18, 2026 at 5:10 am

    See XML Base

    The attribute xml:base may be inserted in XML documents to specify a base URI other than the base URI of the document or external entity. The value of this attribute is interpreted as a Legacy Extended IRI (LEIRI) as defined in the W3C Note "Legacy extended IRIs for XML resource identification"

    See Legacy extended IRIs for XML resource identification for technical details.

    Here’s an example from the spec:

    <?xml version="1.0"?>
    <doc xml:base="http://example.org/today/"
         xmlns:xlink="http://www.w3.org/1999/xlink">
      <head>
        <title>Virtual Library</title>
      </head>
      <body>
        <paragraph>See <link xlink:type="simple" xlink:href="new.xml">what's
          new</link>!</paragraph>
        <paragraph>Check out the hot picks of the day!</paragraph>
        <olist xml:base="/hotpicks/">
          <item>
            <link xlink:type="simple" xlink:href="pick1.xml">Hot Pick #1</link>
          </item>
          <item>
            <link xlink:type="simple" xlink:href="pick2.xml">Hot Pick #2</link>
          </item>
          <item>
            <link xlink:type="simple" xlink:href="pick3.xml">Hot Pick #3</link>
          </item>
        </olist>
      </body>
    </doc>
    

    Edit: IRI is an extension of URI, which is an extension of URL; so for the simple scenarios, you could think of them as URLs with lots of extensions.

    RFC3987:

    A Uniform Resource Identifier (URI) is defined in [RFC3986] as a
    sequence of characters chosen from a limited subset of the repertoire
    of US-ASCII [ASCII] characters.
    This document defines a new protocol element called Internationalized
    Resource Identifier (IRI) by extending the syntax of URIs to a much
    wider repertoire of characters.

    According to the spec,

    The syntax of Legacy Extended IRIs (LEIRIs) and LEIRI references is the same as that for IRIs and IRI references except that ucschar is redefined.

    IRI:

    ucschar        ::= %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF
                       / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD
                       / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD
                       / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD
                       / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD
                       / %xD0000-DFFFD / %xE1000-EFFFD
    

    LEIRI:

    ucschar    ::=  " " / "<" / ">" / '"' / "{" / "}" / "|"
                        / "\" / "^" / "`" / %x0-1F / %x7F-D7FF
                        / %xE000-FFFD / %x10000-10FFFF
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering how to parse values in XML that appear to have : in
I was wondering what are the possible user.agent values in gwt.xml. I found some
I'm wondering for a solution to deserialise the values of HTML in a XML
I was wondering how can I allow NULL values in the following code below
I was wondering if there was a way to select only certain values in
I was wondering in which cases one should put the values of an animation
I am wondering if it is possible in ExtJS to have several values of
I have an array of values, I was wondering how I can parse certain
I'm wondering if there is a method in PHP for getting the values of
I'm wondering if in MySQL you are able to find a range within values

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.