create a DITA "topic" from command line
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
create a DITA "topic" from command line
Post by vishwavaranasi »
Hello Team , I want to create a DITA "topic" from command line or from java , instead from Editor File -> New , is there any way to create like this?
Thanks,
vishwa
Thanks,
vishwa
Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: create a DITA "topic" from command line
Hi,
This question does not seem related to Oxygen XML Editor. Maybe from Java code or from a command line you can create a file on disk and save some XML content inside it.
Regards,
Radu
This question does not seem related to Oxygen XML Editor. Maybe from Java code or from a command line you can create a file on disk and save some XML content inside it.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
Re: create a DITA "topic" from command line
Post by vishwavaranasi »
Thanks Radu for your reply.
I have tried copying our custom topic template xml to create a new topic and saved
but our topic template uses custom variable
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//xxxx//DTD xxx DITA Topic//EN" "xxxtopic.dtd">
<topic id="${customtoipcID}">
<title></title>
<body></body>
</topic>
the new file with copied xml is giving error
where as in the case of manually it is giving error.
Thanks,
vishwa
I have tried copying our custom topic template xml to create a new topic and saved
but our topic template uses custom variable
to create a unique topic id for a newly created topiccustomtoipcID
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//xxxx//DTD xxx DITA Topic//EN" "xxxtopic.dtd">
<topic id="${customtoipcID}">
<title></title>
<body></body>
</topic>
the new file with copied xml is giving error
when we create using File new - and topic template - the uniqueID will create automaticallyAttribute value "${customtoipcID}" of type ID must be an NCName when namespaces are enabled.
where as in the case of manually it is giving error.
Thanks,
vishwa
Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: create a DITA "topic" from command line
Hi,
Yes, when you use Oxygen's File->New dialog and choose a new file template, all Oxygen editor variables from inside the file will be automatically expanded by Oxygen before opening the file contents.
Regards,
Radu
Yes, when you use Oxygen's File->New dialog and choose a new file template, all Oxygen editor variables from inside the file will be automatically expanded by Oxygen before opening the file contents.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service