Using xmlBuilder

I want to create a simple REST service which returns XML so I’ve been trying to use xmlbuilder.

Attempts to create an instance by using e.g.

var xmlData = xmlBuilder.create(“root”);

gets ab ‘xmlBuilder is not defined’ error

the above is run on the server only.

According to atmosphere.js, xmlbuilder is an internal Meteor package.

I’ve tried different capitalisations without success.

What newbie blunder am I making?

I’ve never used this, but the package.json exports XmlBuilder (upper case X):

As a final point - have you done

meteor add xmlbuilder

to your project?