Home Forums The XBRL API xbrl vs xbrli

This topic contains 6 replies, has 2 voices, and was last updated by  Larry Okongo 3 weeks, 2 days ago.

  • Author
    Posts
  • #139902

    Larry Okongo
    Participant

    Hello everyone,
    I am a beginner with xbrl and so far I am doing some work with the xbrl instance documents from SEC. However, I have come across some something that is quite confusing. What is the major difference between xbrl and xbrli especially when used as root elements in the instance xbrl document?
    Here are two separate scenarios:

    <xbrli:xbrl xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:xlink=”http://www.w3.org/1999/xlink”…>. </xbrli:xbrl>

    and

    <xbrl xmlns:utr=”http://www.xbrl.org/2009/utr” xmlns:iso4217=”http://www.xbrl.org/2003/iso4217″…>…</xbrl>

    I have searched for answers regarding this and all I can get are contradicting replies.
    I appreciate any help in helping me better understand this.

  • #140130

    David Tauriello
    Keymaster

    Larry –

    An instance document is a collection of facts that together make up a business report. At a technical level an instance document is an XML document with a root element of <xbrli:xbrl … >. See https://specifications.xbrl.org/xbrl-essentials.html

    Please post a URL where the second reference exists; I’m not entirely clear about the context for usage.

  • #140153

    Larry Okongo
    Participant

    Thanks a lot David for the clarification.

    Here is a link where I found the second scenario as stated in my post.
    https://www.sec.gov/Archives/edgar/data/1280263/000156459019010114/amba-20190131.xml

  • #140242

    David Tauriello
    Keymaster

    Larry – thanks for the clarification as I misunderstood and thought there was a single instance where these two declarations were made (I read too fast and missed your ‘Here are two separate scenarios.’)

    In this second example, the <xbrl> element is used instead of <xbrli:xbrl> – as far as I know, it provides the same necessary function as a container element for the instance and location that allows declaration of namespaces necessary to the file. See http://www.xbrl.org/Specification/XBRL-2.1/REC-2003-12-31/XBRL-2.1-REC-2003-12-31+corrected-errata-2013-02-20.html#_4.1

    See also https://www.w3.org/TR/REC-xml-names/#scoping-defaulting

  • #140298

    Larry Okongo
    Participant

    Thanks David,
    this is quite clearer. Since both <xbrli:xbrl> and <xbrl> provide a container within which declaration of namespaces is done, what does the prefix in the first case “xbrli” mean? Just like:
    xbrl – Extensible Business Reporting Language, what does the “i” in “xbrli” represent sir? That’s if it is also an acronym anyway.

    • #140317

      David Tauriello
      Keymaster

      xbrli = instance, which is the collection of facts in a report.

  • #140410

    Larry Okongo
    Participant

    Thanks alot David, I really appreciate your help sir.

    • This reply was modified 3 weeks, 2 days ago by  Larry Okongo.

You must be logged in to reply to this topic.

Comment