DefineCheck

Guides / Why your define.xml shows a blank page or raw XML in Chrome

Why your define.xml shows a blank page or raw XML in Chrome

If your define.xml used to open as a neat web page and now shows a blank page, raw XML or an error, the stylesheet that draws it isn't running. Here's why, and how to read it again.

How a define.xml turns into a web page

A define.xml is data, not a web page. At the top it names a stylesheet, for example define2-1.xsl. When you open the file, the browser runs that stylesheet (a language called XSLT) to turn the XML into tables and links. If the stylesheet doesn't run, you see raw XML, a blank page, or an error.

Why the define.xml stylesheet stops working

Four ways to read your define.xml again

OptionGood forKeep in mind
Open it in our checkerReading, following links, finding broken references, saving an offline copyRuns in Chrome or Firefox; the file stays on your computer
FirefoxOpening the file with its stylesheetThe .xsl has to be in the same folder
Save it as HTMLSending a readable copy to someoneOur checker's "Save as a web page" writes one HTML file with no scripts
Run the stylesheet yourselfTeams with SAS or other XSLT toolsNeeds software installed

What this means for reviewers and your team

Whoever opens your define.xml may see the same blank page. A define.xml that reads well without a stylesheet (clear labels, working links, no broken references) is easier to review whatever tool opens it. Our viewer lists every reference that leads nowhere, so you can fix those before you send it.

Questions about define.xml in Chrome

Is my define.xml broken if Chrome shows it blank?

Usually not. The XML is still there; only the stylesheet that draws it as a page isn't running. Open it in a viewer that reads the XML directly.

Does Firefox still show define.xml with its stylesheet?

At the time of writing Firefox still runs XSLT. Check Firefox's release notes, as browsers change.

Do I need to change my define.xml for this?

No change is needed for the browser issue. It's still worth checking that the file has no broken references, which our viewer lists.

This guide is general information to help you understand the standards. It isn't official FDA or CDISC guidance; read the published documents for your submission.