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
Tips to help independent booksellers and independent publishers better collaborate
Tips to help independent booksellers and independent publishers better collaborate

Practical strategies that allow indie booksellers and publishers to strengthen their partnerships and sell more books.

Read more →
Registering for an ISNI
Registering for an ISNI

What is ISNI and why should you register for it?

Read more →
What's selling for summer?
What's selling for summer?

What have Canadians been buying for their summer reads?

Read more →
New SalesData &amp; LibraryData features: Quick Search improvements
New SalesData & LibraryData features: Quick Search improvements

Users can now narrow down their results further and use them to directly build other reports in SalesData & LibraryData.

Read more →
Subject Spotlight: Satire
Subject Spotlight: Satire

Sales and library circulation data of Satire titles during the the first quarter of 2026.

Read more →
How are you approaching AI? Take the AI use in the North American book industry survey 2026
How are you approaching AI? Take the AI use in the North American book industry survey 2026

Whether you’re all in on AI, all out, or somewhere in between, we want to hear from you.

Read more →
Can we give up completely on ONIX 2.1?
Can we give up completely on ONIX 2.1?

This year, some major industry players have announced their intent to end their support of the ONIX 2.1 version leaving everyone asking the same question.

Read more →
The Canadian Book Consumer Study 2025 is here
The Canadian Book Consumer Study 2025 is here

Get a free copy of the study in PDF or EPUB format today!

Read more →
Mother's Day 2026
Mother's Day 2026

What books did Canadians buy their mothers for Mother’s Day 2026?

Read more →
Strategies for streamlining ONIX creation
Strategies for streamlining ONIX creation

This blog post outlines strategies for streamlining ONIX creation, maintenance, and distribution.

Read more →
Podcast: The Heated Rivalry ripple effect impacting playwrights’ publishing in Canada
Podcast: The Heated Rivalry ripple effect impacting playwrights’ publishing in Canada

Annie Gibson talks to us about an unexpected entanglement between Heated Rivalry breakout star Hudson Williams and Playwrights Canada Press’ Yaga.

Read more →
Canadians and rising book prices 2025
Canadians and rising book prices 2025

How much are Canadian book buyers willing to pay for books, how Canadian book buyers are spending their money, and the value they attribute to books.

Read more →

Tagged: xml

Newer PostONIX Codelist 72 released
Older PostWelcome Erum!
No results found
Blog RSS

The Canadian Book Market 2025 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 485
  • Ebooks 304
  • Tech Forum 279
  • Conferences & Events 262
  • Standards & Metadata 253
  • Bookselling 222
  • Publishing 201
  • ONIX 196
  • Marketing 153
  • Podcasts 128
  • ebookcraft 112
  • BookNet News 107
  • Loan Stars 78
  • Libraries 67
  • BiblioShare 59
  • 5 Questions With 53
  • SalesData 52
  • Thema 47
  • CataList 44
  • Awards 30
  • Diversity & Inclusion 21
  • Sustainability 19
  • Publishing & COVID-19 18
  • EU Regulations 16
  • LibraryData 10
  • ISNI 5

 

 

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.