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
Easier with BookNet: Share notes with contact lists and groups in CataList
Easier with BookNet: Share notes with contact lists and groups in CataList

The Notes feature can be used to save notes privately or share them with your team or clients of your choice. Learn more about how else you can use Notes!

Read More →
Podcast: A peek into Canadians' reading
Podcast: A peek into Canadians' reading

Listen in as we give you some of the highlights from our forthcoming report, Canadian Leisure & Reading Study 2025.

Read More →
Results from the AI use across the North American book industry survey
Results from the AI use across the North American book industry survey

This report shares insights into the adoption of AI, applications of the technology, perception of value, interest in training, areas of concern, and more.

Read More →
Thema: The missing half to your subject classification strategy
Thema: The missing half to your subject classification strategy

Why and how should you use Thema? Here’s a series of resources that will help you understand its capabilities and help you get started in implementing it!

Read More →
The nuances of online book marketing in 2026
The nuances of online book marketing in 2026

Ariel Hudnall, managing director of Serif, shares key insights into developing digital marketing strategies for the publishing industry.

Read More →
Canadian Independent Bookstore Day 2026
Canadian Independent Bookstore Day 2026

Celebrate Canadian independent bookstores on April 25!

Read More →
ONIX Codelist 73 released
ONIX Codelist 73 released

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

Read More →
Must-watch, must-read: The Oscars 2026 effect
Must-watch, must-read: The Oscars 2026 effect

How did being nominated for the Oscars in 2026 impact book sales, loans and holds among Canadians?

Read More →
5 key takeaways from trendspotting
5 key takeaways from trendspotting

What’s been trending in the Canadian publishing industry?

Read More →
Highlights from The Canadian Book Market 2025
Highlights from The Canadian Book Market 2025

Want to make data-informed decisions? We can help.

Read More →
EDItEUR releases latest ONIX 3.1 revision 3
EDItEUR releases latest ONIX 3.1 revision 3

EDItEUR announces publication of ONIX 3.1 revision 3.

Read More →
Podcast: The importance of social media in the publishing industry
Podcast: The importance of social media in the publishing industry

Founder of Tandem Collective, Naomi Bacon, talks to us about how social media can be used to market 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 475
  • Ebooks 304
  • Tech Forum 278
  • Conferences & Events 262
  • Standards & Metadata 249
  • Bookselling 221
  • Publishing 199
  • ONIX 193
  • Marketing 153
  • Podcasts 127
  • ebookcraft 112
  • BookNet News 106
  • Loan Stars 76
  • Libraries 67
  • BiblioShare 59
  • 5 Questions With 53
  • SalesData 51
  • Thema 47
  • CataList 44
  • Awards 30
  • Diversity & Inclusion 21
  • Sustainability 19
  • Publishing & COVID-19 18
  • 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.