dita

XML for Documentation - Standards?

I need to create Documentation for a tool (Manually written User Documentation, no Developer/API Documentation from the Source Files). Now, there are about a billion different ways to do it, but I have the following requirements: Needs to be a physical file, so that it can go to SVN Needs to be printable Needs to be readable and search...

Programmatically convert DITA to FrameMaker

Is there a toolkit available (paid or otherwise) to help with programmatically converting a DITA document to a FrameMaker one? I'm attempting to make an application that converts to multiple formats from DITA. I know I can use the DITA Open Toolkit for most of my needs, but I need to be able to create a native FrameMaker document as w...

Convert troff to nroff

My project requires me to convert DITA to nroff, but the toolkit I'm using (DITA Open Toolkit) only converts to troff. Are there any toolkits (preferably java, but any language will do) that can convert from troff to nroff? I'm not even sure of what the difference is, but from some googleing they appear to be very closely related. ...

Can you suggest a component CMS that is compatible with IMB's DITA

I am looking for a Component CMS solution that is compatible with IBM's DITA in terms of preserving the document hierarchy/structure created in DITA (ditamaps). I am not necessarily looking for an open source solution. Other requirements would be: - file migration - XML support (ingestion, editing, export) - PDF support (publishing)...

Open source alternative to DITA Open Toolkit

I'm working on a web app that will need to process DITA documents from persistent storage (likely a JCR). The DITA Open Toolkit is the only DITA implementation I'm aware of, but it requires all of your documents to exist on the filesystem. Ideally, I'd like something that works like the DITA OT, but allows you to provide a resolver (much...

Adding relative path for an external graphic in a XSL document?

Hi, first of, I don't know much about XSL. I am using a app called DITA to generate pdfs. One of the things it requires is an overwrite of an xsl file; to add custom styling. I am trying to add an external graphic using a relative path. It doesn't work, unless I supply the full path. Does not work: <fo:block text-align="center" width...

How to use DITA for checklist application?

I would like to use DITA a powerful checklist application. App should be able to do the following: 1) Define templates that will consist of tasks 2) Template can extend each other 3) Users can create checklists of those templates and mark tasks as completed or not. Please, let me know if you heard about application like this. ...

Can I redefine an XML Element definition?

For example, I would like to include <feetFromWater> in my <house> element. But here is the catch... I would like to keep the element name <house> and I do not want to modify the original definition. FILE: baseProperty.mod <!ELEMENT house (%size;%stories;)> <!ATTLIST house %univ-atts; ...

How can I override an HTML "rules" attribute using CSS?

The DITA Open Toolkit automatically inflicts some inline table attributes when one publishes to HTML, including frame="border" and rules="all". I need to override this "rules" attribute using CSS styles for cells, and while I can get the desired result in IE and Chrome, Firefox puts solid black gridlines in the table and refuses to budg...

DITA Open Toolkit error: java.lang.StackOverflowError

I am using the DITA Open Toolkit to transform XML content to have different tag names. But one of my XML documents is not transforming... BUILD FAILED C:\DITA-OT\build.xml:55: The following error occurred while executing this line: C:\DITA-OT\build.xml:86: The following error occurred while executing this line: java.lang.StackOverflow...

Extensible framework for context-sensitive help in web application

For the web application we are currently working on, we will have to think in advance on how to roll it out to a number of different user groups. From a functional side it is important to have a documentation system in place that can be used to generate a user guide and context-sensitive help from the same source files. We have planned ...

How to find a XML tag with a specific attribute (in C#)

I need to get a list of tags that contain a specific attribute. I am using DITA xml and I need to find out all tags that has a href attribute. The problem here is that the attribute may be inside any tag so XPath will not work in this case. For example, an image tag may contain a href, a topicref tag may contain a href, and so on. So...

Validate DITA in php

What php library should I use if I want to get the allowable attributes in a tag, or the allowable tags in a specific part of a DITA XML document, according to it's DTD or XSD? I've tried it with the XML_DTD-0.5.2 pear lib, but it seems it parses the offical 1.1 and 1.2 DITA dtds with many errors... ...

Problem with php's XSLTProcessor

I'm trying to use the XSLTProcessor class in php to generate xhtml from a .dita file based on the DITA Open Toolkit's xslt files. The XSLTProcessor is working with simple xml and xslt files (e.g. with the samples on wikipedia), but it fails with the Open Toolkit's xsls. The intresting part is that everything works well, if I use xsltpr...

XSL: Removing xml tags but keeping their contents

I recently changed a couple of my .xml files from docbook to dita. The conversion went ok, but there are some unwanted artifacts. The one I'm stumped on is that .dita does not recongnize the <para> tag from docbook, and replaces it with <p>. Which you'd think would be fine, but this causes the XML to show items in and ordered list as ...

Combining XSL documents + DITA: Xref Vs. Related Links

I have used an XSL to convert a docbook document into dita. The conversion was successful, bu there are unwanted artifacts which remain. I've gotten rid of a few of them, but I have saved these changes in another XSL which is run after the conversion. My question is: Is it possible to combine this into a single XSL? when I've tried ...

XSL: Docbook to DITA, issue with reference xml:id

I just used a docbook2dita.xsl, and it worked for the most part, but one issue I ran into were: <section xml:id="555" xmlns="http://docbook.org/ns/docbook"&gt; turned into: <reference id="555.d12e1"> I'm thinking it doesn't matter that the namespace dissappeared, but the id got really screwy. What would be a good fix to this? Ano...

XSL:Docbook2Dita not maintaining <xref>

Im using the docbook2dita.xsl from the DITA open toolkit (although I had to modify it to xsl version 2.0) To convert my .xml files orginally created in docbook over to DITA now. A weird issue that I'm running into is the tags' contents are not being preserved: Breadcrumb <para xreflabel="New Consent Type" id="manageNewConsentTyp...

Is there a .NET library or tool available for interacting with DITA content?

We are integrating documentation authored according to DITA. The DITA Open Toolkit processes all files using java whereas we are looking for a solution that allows us to work with the DITA content on the fly from a C#-based application. Does anyone know of any .NET projects that are written to work with DITA maps and content? ...