Story24 hdf

Yes right, that's what I'm suggesting. We will add a public link to the
Doctype declaration eventually bit for now this can be ignored.
On Jul 27, 2014 8:53 PM, "Vishv19" <notifications@github.com> wrote:

> In app/routes/xmlBuilder.js:
>
> > +/*
> > + * Copyright (c) 2014, Fashiontec (http://fashiontec.org)
> > + * Licensed under LGPL, Version 3
> > + */
> > +
> > +/*
> > + * XML creation for the  HDF export feature of bodyapps backend.
> > + *
> > + * XML is created using 'xmlbuilder' module
> > + */
> > +
> > +var builder = require('xmlbuilder');
> > +
> > +exports.returnXML = function (measurement, user, fileNameList) {
> > +  var doc = builder.create('hdf', {'version': '1.0', 'encoding': 'UTF-8'})
> > +    .dtd('hdf.dtd')
>
> Yes, DTD is static document.
> My query was this:
> We are referring 'hdf.dtd' in our XML file for it's validation. But
> currently, we are not adding any 'hdf.dtd' with hdf record/zip file.
> Are you suggesting that we don't have to add *'hdf.dtd'* in actual *hdf*
> file?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/fashiontec/bodyapps-service/pull/19/files#r15439310>.
>