Questions tagged [dita]

DITA is an XML architecture for documentation. It stands for Darwin Information Typing Architecture. Viewed by some as a competitor to DocBook, it focuses mainly on modular units of documentation, but it also borrows other principles from programming, such as typing and inheritance.

DITA can be used to write documentation in a standard XML-based structure, then publish that documentation into various output formats such as online help or PDF.

The four letters in DITA stand for its four principles:

  • Darwin: inheritance; the ability of a unit of documentation to inherit style and structure from its parent
  • Information: the focus on transmitting knowledge
  • Typing: the principle of describing the structure of a unit of documentation in a way that can be processed by machines
  • Architecture: rather than being a set of tools, DITA is really a specification for a method of constructing documentation

DITA's reference implementation is the DITA Open Toolkit (DITA-OT), originally developed at IBM and released as open source. https://www.dita-ot.org/

It is now an OASIS standard. http://dita.xml.org/

You can use the DITA tag for questions about installing tools such as the DITA Open Toolkit, or related plugins for IDEs or editors, as well as for technical questions about customization of the DITA XSL stylesheets, or writing your own customizations.

328 questions
0
votes
1 answer

Attribute values needs to come in pdf while doing DITA to PDF conversion in oxygen

My input xml is having lot of metadata information's,
0
votes
1 answer

How to add annotations to PDF using DITA-OT

I need to create a PDF from DITA with annotations embedded. Are there hooks in PDF2 to enable this?
0
votes
1 answer

DITA and XSL-FO wrong rendering border

I have generated xsl-fo like that: http://pastebin.com/mQJq6tyB It is basically note placed in
tag (in dita file). The problem is, that when this is rendered it has additional border lines rendered on text, when text is longer than 3 lines.…
Luzgan
  • 106
  • 10
0
votes
1 answer

XSL-FO: Can fo:marker be used to store anything?

This question is part XSL-FO, part XSLT, and part DITA. In general, this question is an attempt to troubleshoot what I am doing wrong with fo:marker and to understand if what I am attempting is possible. I'm attempting to use fo:marker to store text…
Jason Davis
  • 65
  • 1
  • 8
0
votes
3 answers

Copy XML file structure (incl.) directories with XSLT (2.0)

Meta XSLT 2.0 XML (with nested links to other XML files) Saxon XSLT processor Oxygen Editor I want to write a stylesheet (XSLT 2.0) that simply copies a whole file structure (I use a XML root file with linked other files in it) and places the…
garlicDoge
  • 197
  • 1
  • 3
  • 18
0
votes
2 answers

Change conref during processing by xsl-fo

I read somewhere, that conditional importing is not possible in xsl-fo. Although I have small hope, that this is something else, and can be resolved. My problem is that I have something like that in one of my dita file:
Luzgan
  • 106
  • 10
0
votes
1 answer

Document function empty

I have a variable like this :
Tchob
  • 5
  • 2
0
votes
2 answers

xslt moving child attribute to parent

Input: Output:
Gaurav Goenka
  • 152
  • 12
0
votes
1 answer

How can I wrap a group of adjacent elements depending on the previous sibling using XSLT?

I want to wrap all the appendix elements, but only if the first appendix element's preceding sibling is part. So if the input is like .. .. Then the output is…
Gaurav Goenka
  • 152
  • 12
0
votes
1 answer

xslt 2.0 checking if element is referenced in a number of other elements in the same folder

I have some DITA content here. A dita map looks like this: <topicmeta> …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xslt" class="post-tag grid--cell" title="show questions tagged 'xslt'" rel="tag">xslt</a> <a href="../../questions/tagged/dita" class="post-tag grid--cell" title="show questions tagged 'dita'" rel="tag">dita</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 28 '15 at 17:27">asked May 28 '15 at 17:27</time> <a href="../../users/3813234/user3813234" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3813234.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user3813234" /> </a> <div class="s-user-card--info"> <a href="../../users/3813234/user3813234" class="s-user-card--link">user3813234</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,580</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="29 silver badge">29</li> <li class="s-award-bling s-award-bling__bronze" title="44 bronze badge">44</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-30171020"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/30171020/referencing-an-external-link-from-dita-map" class="question-hyperlink">Referencing an external link from DITA map</a></h3> <div class="excerpt">Is there any way to reference an external document from DITA? According to some guidelines it should be easy via (within <map>) <keydef> keys=keyID and (within <task>) <link>keyref=keyID, but the validator simply does not accept it. I intend to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/excel" class="post-tag grid--cell" title="show questions tagged 'excel'" rel="tag">excel</a> <a href="../../questions/tagged/dita" class="post-tag grid--cell" title="show questions tagged 'dita'" rel="tag">dita</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 11 '15 at 14:56">asked May 11 '15 at 14:56</time> <a href="../../users/2140847/martin" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2140847.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Martin" /> </a> <div class="s-user-card--info"> <a href="../../users/2140847/martin" class="s-user-card--link">Martin</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-29418049"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/29418049/error-running-dita-ot-2-0-1-with-xep" class="question-hyperlink">Error running DITA-OT 2.0.1 with XEP</a></h3> <div class="excerpt">Short story: I've been using DITA-OT 1.5 for quite a while, and decided to try out switching to 2.0.1. I've followed the install instructions on http://www.dita-ot.org/2.0/readme/installing-minimal-package-on-linux.html I'm using xep as the fo…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/dita" class="post-tag grid--cell" title="show questions tagged 'dita'" rel="tag">dita</a> <a href="../../questions/tagged/dita-ot" class="post-tag grid--cell" title="show questions tagged 'dita-ot'" rel="tag">dita-ot</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 02 '15 at 16:38">asked Apr 02 '15 at 16:38</time> <a href="../../users/2710620/guillaume-s" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2710620.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Guillaume S." /> </a> <div class="s-user-card--info"> <a href="../../users/2710620/guillaume-s" class="s-user-card--link">Guillaume S.</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">272</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="13 bronze badge">13</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-29125560"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/29125560/vbscript-open-dita-file-type" class="question-hyperlink">VBScript: Open .dita file type</a></h3> <div class="excerpt">I am trying to open a .dita file (which I was hoping would launch my editor) through VBScript.I keep getting a Run Time error on this line of code: CreateObject("WScript.Shell").Run "testfile.dita" The every helpful error message is just "Error".…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/vbscript" class="post-tag grid--cell" title="show questions tagged 'vbscript'" rel="tag">vbscript</a> <a href="../../questions/tagged/dita" class="post-tag grid--cell" title="show questions tagged 'dita'" rel="tag">dita</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 18 '15 at 15:05">asked Mar 18 '15 at 15:05</time> <a href="../../users/2882396/confusednomad" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2882396.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ConfusedNomad" /> </a> <div class="s-user-card--info"> <a href="../../users/2882396/confusednomad" class="s-user-card--link">ConfusedNomad</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">13</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-26531445"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/26531445/xsl-how-to-display-an-value-based-another-attribute-value" class="question-hyperlink">XSL: how to display an value based another attribute value?</a></h3> <div class="excerpt">I'm working on a DITA customization plug-in to generate a PDF with XEP engine (and based on DITA Open toolkit). I'd like to have some content in a PDF layer (OCG), does anyone know if it's possible and if so, how? Thanks, Annette </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/pdf" class="post-tag grid--cell" title="show questions tagged 'pdf'" rel="tag">pdf</a> <a href="../../questions/tagged/xsl-fo" class="post-tag grid--cell" title="show questions tagged 'xsl-fo'" rel="tag">xsl-fo</a> <a href="../../questions/tagged/dita" class="post-tag grid--cell" title="show questions tagged 'dita'" rel="tag">dita</a> <a href="../../questions/tagged/dita-ot" class="post-tag grid--cell" title="show questions tagged 'dita-ot'" rel="tag">dita-ot</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 23 '14 at 15:17">asked Oct 23 '14 at 15:17</time> <a href="../../users/3481104/annette-b" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3481104.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="annette.b" /> </a> <div class="s-user-card--info"> <a href="../../users/3481104/annette-b" class="s-user-card--link">annette.b</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-26103115"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/26103115/can-you-control-content-displayed-in-dita-output-based-on-user-privileges" class="question-hyperlink">Can you control content displayed in Dita output based on user privileges</a></h3> <div class="excerpt">I have the task to convert html help content that currently resides in .jsp files to DITA. In the java server pages there are statements such as: <%if (!Privileges.isRootOr(curUser, Privileges.DEPLOY_AGENT)){ %> You do not have permission to view…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jsp" class="post-tag grid--cell" title="show questions tagged 'jsp'" rel="tag">jsp</a> <a href="../../questions/tagged/dita" class="post-tag grid--cell" title="show questions tagged 'dita'" rel="tag">dita</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 29 '14 at 15:10">asked Sep 29 '14 at 15:10</time> <a href="../../users/1476295/jeff-cunningham" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1476295.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jeff Cunningham" /> </a> <div class="s-user-card--info"> <a href="../../users/1476295/jeff-cunningham" class="s-user-card--link">Jeff Cunningham</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">145</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/dita_page=19" rel="prev" title="Go to page 19">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/dita_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/dita_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/dita_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/dita_page=21" rel="" title="Go to page 21">21</a> <a class="s-pagination--item" href="../../questions/tagged/dita_page=22" rel="" title="Go to page 22">22</a> <a class="s-pagination--item" href="../../questions/tagged/dita_page=21" rel="next" title="Go to page 21"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>