BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
XML Documents icon
Possibly abandoned Tested up to 3.2.1 #28 in cpt

XML Documents

This plugin adds the necessary infrastructure to add a “XML Document”-type custom post type which renders an XML document with an XSLT stylesheet in lieu of the regular post content. This can be useful in custom…

Active installs10+10+ tier
Downloads · 30d50▲ +85.2% vs prev. 30d
Rating—0 reviews
Health score23/100At risk
All-time downloads4.1KSince May 2011
Support resolved—No recent threads
RequiresWP 3.1PHP any
Downloads · 7d12▲ +50% week over week
Our verdict

Consider an alternative

XML Documents shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 15 years ago, and scores 23/100 on our health check.

  • Small user base (10+ active installs)
  • Very few reviews so far
  • No update in 15 years
  • Only tested up to WordPress 3.2 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

258Jul 3Aug 16Sep 30
Yesterday3
Daily average (1y)1
Peak day11Sep 14, 2026
Last 12 months329

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where XML Documents stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cpt >100 1,105 Best cpt plugins →
custom post type >100 10,000 Best custom post type plugins →
tei #2 3 Best tei plugins →
xml >100 2,585 Best xml plugins →
xslt #19 26 Best xslt plugins →

Version adoption

Share of active sites per release.

  • 0.2100.0%

About XML Documents

From the official readme · v0.2

Description

This plugin adds the necessary infrastructure to add a “XML Document”-type custom post type which renders an XML document with an XSLT stylesheet in lieu of the regular post content. This can be useful in custom applications where there is a need to display XML documents from source, but you also want the regular benefits of WordPress tagging, commenting, etc. for these documents.

This plugin will not work out of the box… it is an infrastructure plugin. Additional coding (albeit minor) is necessary to get it running. See the “Installation” section for more information and sample code.

The development of this plugin is supported by MIT Global Shakespeares, where it will be used to render the full text of Shakespeare plays from TEI-XML source.

To-do

  • Custom stylesheets, per-document and/or custom parameters to be passed to the XSL transform
  • Search integration

Installation

  1. Make sure you have PHP5 and the PHP XSL module installed.
  2. Install and activate this plugin.
  3. Create a new custom post type with the supports attribute xmldoc. This custom post type will completely ignore its post_content, so make sure its supports statement does not include editor.
  4. Place your stylesheet in your current theme’s directory, named as stylesheet.xsl.
  5. Create a new entity of your new post type. There will be an option to upload and choose an XML document (see screenshots). Do that, publish it, and view it, and you will see the XML document rendered with the XSLT as the content of that entry.

Here’s some sample code:

register_post_type('script',
    array(
        'label' => 'Scripts',
        'public' => true,
        'hierarchical' => false,
        'supports' => array('title', 'comments', 'xmldoc')
    )
);

For more information on register_post_type and Custom Post Types, visit the Codex.

Changelog

0.2

  • A couple bugfixes for the admin interface.

0.1

  • Initial public release.

Full changelog on WordPress.org →

Screenshots

A custom post type with XML Document support: here, "Scripts" for the display of Shakespeare scripts.
A custom post type with XML Document support: here, "Scripts" for the display of…
Selecting an uploaded XML Document as the document to be rendered.
Selecting an uploaded XML Document as the document to be rendered.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best XML Documents alternatives

All cpt plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 MAS Static Content MAS Static Content MAS Static Content is a free plugin that allows you to to create a custom post type static… by MadrasThemes 10K+ ★★★★★★★★★★ 5 (1) 18 hours ago 80
2 Post Types Unlimited Post Types Unlimited Create unlimited custom post types and custom taxonomies. by WPExplorer 10K+ ★★★★★★★★★★ 5 (9) 5 months ago 63
3 Sticky Posts – Switch Sticky Posts – Switch This plugin adds a sticky post switch functionality to the admin list post/custom post type… by Markus Wiesenhofer 6K+ ★★★★★★★★★★ 4.4 (18) 4 years ago 39
4 Simple CPT Simple CPT Simple CPT provides an easy to use interface for registering and managing custom post types… by George Pattichis 4K+ ★★★★★★★★★★ 4.6 (9) 1 month ago 78
5 Custom post types, Custom Fields & more Custom post types, Custom Fields & more Custom Post Types, Custom Fields, Custom Taxonomies, Custom Templates, Custom Admin Pages… by TotalPress.org 3K+ ★★★★★★★★★★ 4.6 (56) 1 year ago 52
6 Custom Post Type Editor Custom Post Type Editor Customize the text labels, menu names or description for any registered custom post type… by Tectalic 2K+ ★★★★★★★★★★ 4.9 (14) 2 years ago 40
7 Post Type Converter Post Type Converter Allows you to convert the post type of objects while in the edit screen. by Kevin Langley Jr. 1K+ ★★★★★★★★★★ 4.5 (6) 12 years ago 37
8 Portfolio Toolkit Portfolio Toolkit Adds portfolio functionality to your WordPress website. by Dmitry Mayorov 600+ ★★★★★★★★★★ 5 (1) 7 years ago 34
9 Public Preview URL Manager Public Preview URL Manager Secure, time-sensitive public preview links for drafts/scheduled posts. Fully compatible… by Sudip Debnath 100+ ★★★★★★★★★★ 5 (1) 1 month ago 66
10 Custom Post Type List Shortcode Custom Post Type List Shortcode A shortcode with which you can easily list all of the posts within a post-type and sort by… by Blackbird Interactive 100+ ★★★★★★★★★★ 4.6 (5) 12 years ago 35

FAQ

XML Documents: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 1, 2026

Is XML Documents free?

Yes. XML Documents is free to download and use from the official WordPress.org plugin directory.

Is XML Documents safe to use in 2026?

XML Documents shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 15 years ago, and scores 23/100 on our health check.

How many websites use XML Documents?

XML Documents is active on 10+ WordPress websites and has been downloaded 4,131 times since it launched in May 2011. It was downloaded 50 times in the last 30 days.

Does XML Documents work with WordPress 7.1?

XML Documents is officially tested up to WordPress 3.2.1, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

When was XML Documents last updated?

The latest version, 0.2, was released on May 31, 2011 (15 years ago).

Who makes XML Documents?

XML Documents is developed and maintained by mitcho (Michael Yoshitaka Erlewine).

What are the best alternatives to XML Documents?

The most popular alternatives to XML Documents are MAS Static Content (10K+ installs), Post Types Unlimited (10K+ installs) and Sticky Posts – Switch (6K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.