Home
Blog
Overview of all products
SalesData
LibraryData
CataList
Loan Stars
BiblioShare
Webform
EDI
Products for publishers
Products for retailers
Products for libraries
Information for authors
BNC Research
Canadian literary awards
SalesData & LibraryData Research Portal
Events
Tech Forum
Webinars & Training
Code of Conduct
Standards
EDI standards
Product identifiers
Classification schemes
ONIX standards
About
Contact us
Media
Bestseller lists
Newsletters
Podcast
Jobs
SalesData
LibraryData
CataList
BiblioShare
Webform
EDI

BookNet Canada

Home
Blog
Overview of all products
SalesData
LibraryData
CataList
Loan Stars
BiblioShare
Webform
EDI
Products for publishers
Products for retailers
Products for libraries
Information for authors
BNC Research
Canadian literary awards
SalesData & LibraryData Research Portal
Events
Tech Forum
Webinars & Training
Code of Conduct
Standards
EDI standards
Product identifiers
Classification schemes
ONIX standards
About
Contact us
Media
Bestseller lists
Newsletters
Podcast
Jobs
SalesData
LibraryData
CataList
BiblioShare
Webform
EDI
BookNet Canada
February 3, 2026
Standards & Metadata

What Is XML?

BookNet Canada
February 3, 2026
Standards & Metadata

XML is a term that gets thrown around the publishing industry a lot, but what does it actually mean?

First, XML stands for Extensible Markup Language. XML doesn’t do anything; instead, it lets you describe what something is. It's a text format that lets you define information for computer-to-computer communication. Basically, it’s a way to let two programs that speak different languages talk to each other.

It’s best to think of XML as content without form: XML is what's in the background describing what everything is, then how it looks is determined by where that information is being used. Some familiar examples of XML-based languages include: XHTML for the web, IDML for InDesign, and ONIX for book information.

Elements

Elements are the building blocks of XML. Think of these elements like descriptors, adjectives attributed to the content. Each bit of content gets described by the element. Elements are made up of opening and closing tags, and the content goes between these tags.

Elements look like this:

<tag>content</tag>

Or, for something publishing-specific, like this:

<Title>Canadian Book Market</Title>

XML allows you to describe infinite amounts of information, but it's the receiving program that decides what to do with it. If an online store receives your file, it will take that title tag and know to post it as the title on its website. Some programs act on more of the described information than others, so to be on the safe side it’s best to provide more, rather than less, information to avoid blanks.

For example, if a book has a Canadian author, you would want to add an element that says the author is Canadian. Even if some receivers of the XML file won’t process it, some will and it will be to your advantage.

XML always sounds big and scary, but really it’s just another version of something we’ve been doing for years in publishing: marking up documents in the same way you would a manuscript.

The publishing-specific XML language for transferring information about your books is called ONIX. If you’re interested in learning more about ONIX, we have you covered in our blog post: What Is ONIX?

Subscribe

Don’t miss any new blog posts. Sign up for our weekly eNews to receive updates.

You can unsubscribe at any time. We respect your privacy.

Thank you!
Featured
Subject spotlight: Women
Subject spotlight: Women

Sales and library circulation data of Women Fiction and Non-Fiction titles during the the fourth quarter of 2025.

Read More →
March 2026 Loan Stars Adult Canadian top picks
March 2026 Loan Stars Adult Canadian top picks

Find out which titles made it to the March 2026 Loan Stars Adult Canadian list.

Read More →
Leveraging standards in the wake of the big boom in romance
Leveraging standards in the wake of the big boom in romance

As romance takes the book world by storm yet again, we share insights regarding the impact this growth has had on existing standards.

Read More →
Revisiting the popularity of bread cookbooks
Revisiting the popularity of bread cookbooks

As we hit the six-year mark since the beginning of the pandemic, we’re revisiting cookbooks and bread-related cookbooks too, to check on how they’re doing.

Read More →
Smuggling green and inclusive tech past the gatekeepers
Smuggling green and inclusive tech past the gatekeepers

James Christie on today’s business climate and its effects on the implementation of sustainable, inclusive practices.

Read More →
Podcast: Breaking into the publishing industry with Vanessa Gomez
Podcast: Breaking into the publishing industry with Vanessa Gomez

An interview with Vanessa Gomez about the online platform she created where new professionals can find relevant information about the industry.

Read More →
How metadata can support the discoverability of First Nations, Inuit, and Métis books
How metadata can support the discoverability of First Nations, Inuit, and Métis books

An overview of the latest developments and the newly published best practices in ONIX and Thema.

Read More →
Heated Rivalry: A game changer for Romance books
Heated Rivalry: A game changer for Romance books

Insights into romance trends and the performance of Heated Rivalry.

Read More →
Subject spotlight: Science Fiction
Subject spotlight: Science Fiction

Sales and library circulation data of Science Fiction titles during the the fourth quarter of 2025.

Read More →
ONIX Codelist 72 released
ONIX Codelist 72 released

Insights into the latest updates and additions made to ONIX codelists.

Read More →
What Is XML?
What Is XML?

XML is a term that gets thrown around the publishing industry a lot, but what does it actually mean?

Read More →
Welcome Erum!
Welcome Erum!

Meet Erum, our new Marketing & Research Associate!

Read More →

Tagged: xml

Newer PostONIX Codelist 72 released
Older PostWelcome Erum!
Blog RSS

The Canadian Book Market 2024 is the comprehensive guide to the Canadian market with in-depth category data.

Get your copy now

Listen to our latest podcast episode


  • Research & Analysis 470
  • Ebooks 304
  • Tech Forum 276
  • Conferences & Events 261
  • Standards & Metadata 245
  • Bookselling 221
  • Publishing 198
  • ONIX 190
  • Marketing 152
  • Podcasts 125
  • ebookcraft 112
  • BookNet News 105
  • Loan Stars 76
  • Libraries 67
  • BiblioShare 59
  • 5 Questions With 53
  • SalesData 51
  • Thema 45
  • CataList 43
  • Awards 30
  • Diversity & Inclusion 21
  • Publishing & COVID-19 18
  • Sustainability 17
  • EU Regulations 16
  • LibraryData 10
  • ISNI 4

 

 

BookNet Canada is a non-profit organization that develops technology, standards, and education to serve the Canadian book industry. Founded in 2002 to address systemic challenges in the industry, BookNet Canada supports publishing companies, booksellers, wholesalers, distributors, sales agents, industry associations, literary agents, media, and libraries across the country.

 

Privacy Policy | Accessibility Policy | About Us

BOOKNET CANADA

Contact us | (416) 362-5057 or toll free 1 (877) 770-5261

We acknowledge the financial support of the Government of Canada through the Canada Book Fund (CBF) for this project.

Back to Top

BookNet Canada acknowledges that its operations are remote and our colleagues contribute their work from the traditional territories of the Mississaugas of the Credit First Nation, the Anishnawbe, the Haudenosaunee, the Wyandot, the Mi’kmaq, the Ojibwa of Fort William First Nation, the Three Fires Confederacy of First Nations (which includes the Ojibwa, the Odawa, and the Potawatomie), and the Métis, the original nations and peoples of the lands we now call Beeton, Brampton, Guelph, Halifax, Thunder Bay, Toronto, Vaughan, and Windsor. We endorse the Calls to Action from the Truth and Reconciliation Commission of Canada (PDF) and support an ongoing shift from gatekeeping to spacemaking in the book industry.