BaseX, DITA and DOCTYPE
Friday, 22 January 2016 · 2 messages · last reply 23 Jan 2016
SP
Stefan Popovic22 Jan 2016 22:14 #
Hi all,
I can’t seem to find any information about how to keep the DOCTYPE when uploading files to a BaseX server.
Here’s the situation:
1. We use oXygen and we edit DITA files.
2. We want to use an XML native database, therefore we’re considering BaseX.
3. When importing files in a BaseX server, the DOCTYPE is dropped.
4. However, oXygen needs the DOCTYPE for editing DITA files.
Specifically, I am wondering if there is a BaseX server-side setting that would keep the DOCTYPE when uploading a file.
Many thanks for your help,
Stefan
MG
Maximilian Gärber23 Jan 2016 00:36 #
Hi,
Doctype is not preserved. At the moment you would have to re-add it when fetching the doc by some convention or custom PI.
You might also be interested in argon-author.com
where we are working on what you described.
It is MIT License, so have a look if you like.
Regards, Max
Quoted text · Stefan Popovic · 5 lines
Am 22.01.2016 21:13 schrieb "Stefan Popovic" <spopovic at 8d.com>: > > Hi all, > > I can’t seem to find any information about how to keep the DOCTYPE when
uploading files to a BaseX server.
Quoted text · Stefan Popovic · 5 lines
> > Here’s the situation: > > 1. We use oXygen and we edit DITA files. > 2. We want to use an XML native database, therefore we’re considering
BaseX.
Quoted text · Stefan Popovic · 4 lines
> 3. When importing files in a BaseX server, the DOCTYPE is dropped. > 4. However, oXygen needs the DOCTYPE for editing DITA files. > > Specifically, I am wondering if there is a BaseX server-side setting that
would keep the DOCTYPE when uploading a file.
Quoted text · Stefan Popovic · 3 lines
> > Many thanks for your help, > Stefan
Written for BaseX 8.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery