SlideShare une entreprise Scribd logo
1  sur  21
Stupid DITA Tricks:
After-The-Fact Specialization
Treating Aircraft Manuals as DITA
Eliot Kimber
Contrext
DITA Europe 2018
About the Author
• Independent consultant focusing on DITA
analysis, design, and implementation
• Doing SGML and XML for cough 30 years cough
• Founding member of the DITA Technical
Committee
• Founding member of the XML Working Group
• Co-editor of HyTime standard (ISO/IEC 10744)
• Primary developer and founder of the DITA for
Publishers project (dita4publishers.org)
• Author of DITA for Practitioners, Vol 1 (XML Press)
DITA Europe 2018
Agenda
• What did we need to do?
• How did we do it?
• Was it a good idea?
DITA Europe 2018
CLIENT CHALLENGE:
LOCALIZING AIRCRAFT
MANUALS
DITA Europe 2018
The Problem
• Get XML from suppliers
• XML is different from each supplier
• XML is not DITA
• Want to manage it as though it were DITA
– Take advantage of DITA tools: CMS, localization,
publishing
– Provide consistent authoring environment
DITA Europe 2018
The Project
• Presales proof of concept
• Demonstrate feasibility of using DITA tools to
manage non-DITA source from two different
suppliers
• Required functionality
– Authoring in XML
– Translation workflow support
– Production of PDF for use by airline
– Version management (updates from suppliers)
DITA Europe 2018
DITA to the Rescue?
• DITA tools provide strong out-of-the-box
support for localization at reasonable cost
• We know any number of DITA CMS products
could support client's management,
authoring, and translation requirements
• Can we apply DITA in this case?
DITA Europe 2018
Challenge: Enable Management
and Translation at Lowest Cost
• If the content was DITA out-of-the-box tools
will do what's needed
• Content is not DITA, does not appear to map
easily to DITA
• Airline authors want one system for working
with both Boeing and Airbus MELs
• How to do it?
DITA Europe 2018
WHAT DID WE DO?
DITA Europe 2018
The Experiment:
Retroactive Specialization
• Using the markup as provided, add @class
attributes to make it look like a DITA
specialization
• Using XSLT add minimum needed to make it
work as DITA with DITA tools
– Topic IDs
– Keys
– Etc.
DITA Europe 2018
Retroactive Specialization
• Add @class and other DITA-required
attributes to existing declarations
• Find closest match but don’t worry too much
about semantics or other DITA rules
• Make heavy use of <div>
DITA Europe 2018
Retroactive Specialization
Declaration Example
DITA Europe 2018
<!-- DITA class attribute mappings -->
<!ENTITY % dita-univ-atts-mod SYSTEM "dita-univ-atts.dtd">%dita-univ-atts-mod;
<!ATTLIST description
class CDATA "- topic/topic opsproc_exch/description "
xmlns:ditaarch CDATA #FIXED "http://dita.oasis-open.org/architecture/2005/"
ditaarch:DITAArchVersion CDATA #FIXED "1.3"
domains CDATA "(topic topic) (topic ops-exch-d)"
id ID #IMPLIED
>
<!ATTLIST descitem
%dita-univ-atts;
class CDATA "- topic/div opsproc_exch/descitem " >
<!ATTLIST example
%dita-univ-atts;
class CDATA "- topic/fig opsproc_exch/example " >
<!ATTLIST descbody
%dita-univ-atts;
class CDATA "- topic/body opsproc_exch/descbody " >
<!ATTLIST item
%dita-univ-atts;
class CDATA "- topic/li opsproc_exch/item " >
Transform to DITA
• Must adjust the source to make it into working
DITA
• Goal: Do as little as possible
• Will need the reverse transform
DITA Europe 2018
Transformation Tasks
• Generate DITA maps
• Assign keys to topics
• Ensure all topics have IDs
• Add wrapper elements where required by
DITA (e.g., topic bodies, <dlentry>, etc.)
• Make links into keyrefs
DITA Europe 2018
Let's Look At Some Code
DITA Europe 2018
WAS IT A GOOD IDEA?
DITA Europe 2018
Did It Work?
DITA Europe 2018
• Yes: As far as we were able to test it
• Achieved:
– Added DITA declarations to DTDs
– Implemented transform to DITA
– Import into CMS as DITA
– PDF generation using Open Toolkit
• Conclusion:
– Approach is sound
Was it A Good Idea?
• I think so
• Other alternatives very expensive:
– Buy and maintain supplier's CMS offerings
– Build ground-up CMS specific to supplier
vocabularies
– Build from-scratch authoring and publishing tools
• Result is not "pure DITA" but who cares?
DITA Europe 2018
Costs of the Approach
• Requires some amount of transform to and
from original source XML
• Transforms need to be maintained over time
• DITA CMS will still require some amount of
customization
• Publishing tools will require customization
DITA Europe 2018
Questions?
DITA Europe 2018
Resources
• Minimum equipment list description:
http://nata.aero/data/files/committee_mtgm
emos/bestpracticemineqlistbp.pdf
DITA Europe 2018

Contenu connexe

Similaire à Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals as DITA

Drupal enterprise solutions reduce total cost of ownership (tco)
Drupal enterprise solutions  reduce total cost of ownership (tco)Drupal enterprise solutions  reduce total cost of ownership (tco)
Drupal enterprise solutions reduce total cost of ownership (tco)
Tom T
 

Similaire à Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals as DITA (20)

Why Is DITA So Hard?
Why Is DITA So Hard?Why Is DITA So Hard?
Why Is DITA So Hard?
 
Using Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative EnvironmentUsing Markdown and Lightweight DITA in a Collaborative Environment
Using Markdown and Lightweight DITA in a Collaborative Environment
 
DITA Interoperability
DITA InteroperabilityDITA Interoperability
DITA Interoperability
 
DITA on a Shoe String
DITA on a Shoe StringDITA on a Shoe String
DITA on a Shoe String
 
The Evolution of DITAs
The Evolution of DITAsThe Evolution of DITAs
The Evolution of DITAs
 
10 Million Dita Topics Can't Be Wrong
10 Million Dita Topics Can't Be Wrong10 Million Dita Topics Can't Be Wrong
10 Million Dita Topics Can't Be Wrong
 
A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017
A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017
A Brief Look at DITA in Current Technical Communication Practices_SIGDOC 2017
 
Mathematical content in documentation (DITA Europe 2008)
Mathematical content in documentation (DITA Europe 2008)Mathematical content in documentation (DITA Europe 2008)
Mathematical content in documentation (DITA Europe 2008)
 
Is DITA Right for You? - STC Summit 2017
Is DITA Right for You? - STC Summit 2017Is DITA Right for You? - STC Summit 2017
Is DITA Right for You? - STC Summit 2017
 
DITA for Small Teams
DITA for Small TeamsDITA for Small Teams
DITA for Small Teams
 
Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32Localization and DITA: What you Need to Know - LocWorld32
Localization and DITA: What you Need to Know - LocWorld32
 
Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...
Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...
Improve your Chances for Documentation Success with DITA and a CCMS LavaCon L...
 
Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...
Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...
Keith Schengili-Roberts: Improve Your Chances for Documentation Success with ...
 
DITA and Metadata on an Enterprise Scale
DITA and Metadata on an Enterprise ScaleDITA and Metadata on an Enterprise Scale
DITA and Metadata on an Enterprise Scale
 
Keith Schengili-Roberts - The Rise of SME within Technical Communications
Keith Schengili-Roberts - The Rise of SME within Technical CommunicationsKeith Schengili-Roberts - The Rise of SME within Technical Communications
Keith Schengili-Roberts - The Rise of SME within Technical Communications
 
Drupal cho doanh nghiệp - cắt giảm tổng chi phí sở hữu phần mềm
Drupal cho doanh nghiệp - cắt giảm tổng chi phí sở hữu phần mềmDrupal cho doanh nghiệp - cắt giảm tổng chi phí sở hữu phần mềm
Drupal cho doanh nghiệp - cắt giảm tổng chi phí sở hữu phần mềm
 
Drupal enterprise solutions reduce total cost of ownership (tco)
Drupal enterprise solutions  reduce total cost of ownership (tco)Drupal enterprise solutions  reduce total cost of ownership (tco)
Drupal enterprise solutions reduce total cost of ownership (tco)
 
Lean and Collaborative Content - Workshop
Lean and Collaborative Content - WorkshopLean and Collaborative Content - Workshop
Lean and Collaborative Content - Workshop
 
4D Pubs - Distributed Dynamic Document Dsplay
4D Pubs - Distributed Dynamic Document Dsplay4D Pubs - Distributed Dynamic Document Dsplay
4D Pubs - Distributed Dynamic Document Dsplay
 
TWC 545 Presentation-DITA
TWC 545 Presentation-DITATWC 545 Presentation-DITA
TWC 545 Presentation-DITA
 

Plus de Contrext Solutions

Plus de Contrext Solutions (20)

Loose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
Loose Leaf Publishing Using Antenna House Formatter and CSS for PaginationLoose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
Loose Leaf Publishing Using Antenna House Formatter and CSS for Pagination
 
Definition of the DITA Glossary: Or How to Get Some Cool Glossary Tools for Free
Definition of the DITA Glossary: Or How to Get Some Cool Glossary Tools for FreeDefinition of the DITA Glossary: Or How to Get Some Cool Glossary Tools for Free
Definition of the DITA Glossary: Or How to Get Some Cool Glossary Tools for Free
 
Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA
Can I Have a Word: Managing Shared Glossaries and References to Terms With DITACan I Have a Word: Managing Shared Glossaries and References to Terms With DITA
Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA
 
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key References
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key ReferencesKi, Qi, Key: The Way of DITA Harmony With Keys and Key References
Ki, Qi, Key: The Way of DITA Harmony With Keys and Key References
 
Content Management on Zero Budget: DITA for Small Teams
Content Management on Zero Budget: DITA for Small TeamsContent Management on Zero Budget: DITA for Small Teams
Content Management on Zero Budget: DITA for Small Teams
 
Using CSS Paging to Render DITA Documents
Using CSS Paging to Render DITA DocumentsUsing CSS Paging to Render DITA Documents
Using CSS Paging to Render DITA Documents
 
Locale-Aware Sorting and Text Handling in the Open Toolkit
Locale-Aware Sorting and Text Handling in the Open ToolkitLocale-Aware Sorting and Text Handling in the Open Toolkit
Locale-Aware Sorting and Text Handling in the Open Toolkit
 
DITA for Small Teams Workshop (Tekom 2017)
DITA for Small Teams Workshop (Tekom 2017)DITA for Small Teams Workshop (Tekom 2017)
DITA for Small Teams Workshop (Tekom 2017)
 
Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA
Can I Have a Word: Managing Shared Glossaries and References to Terms With DITACan I Have a Word: Managing Shared Glossaries and References to Terms With DITA
Can I Have a Word: Managing Shared Glossaries and References to Terms With DITA
 
XSLT Magic Tricks with DITA and FrameMaker
XSLT Magic Tricks with DITA and FrameMakerXSLT Magic Tricks with DITA and FrameMaker
XSLT Magic Tricks with DITA and FrameMaker
 
FrameMaker and the DITA Open Toolkit
FrameMaker and the DITA Open ToolkitFrameMaker and the DITA Open Toolkit
FrameMaker and the DITA Open Toolkit
 
DITA Reuse Challenges and Response
DITA Reuse Challenges and ResponseDITA Reuse Challenges and Response
DITA Reuse Challenges and Response
 
RELAX NG and DITA: An Almost Perfect Match
RELAX NG and DITA: An Almost Perfect MatchRELAX NG and DITA: An Almost Perfect Match
RELAX NG and DITA: An Almost Perfect Match
 
Managing Multiple Open Toolkit Configurations Using git Lightning Talk
Managing Multiple Open Toolkit Configurations Using git Lightning TalkManaging Multiple Open Toolkit Configurations Using git Lightning Talk
Managing Multiple Open Toolkit Configurations Using git Lightning Talk
 
DITA OT Day 2015 Lightning Talk On The DITA Community Project
DITA OT Day 2015 Lightning Talk On The DITA Community ProjectDITA OT Day 2015 Lightning Talk On The DITA Community Project
DITA OT Day 2015 Lightning Talk On The DITA Community Project
 
They Worked Before, What Happened? Understanding DITA Cross-Book Links
They Worked Before, What Happened? Understanding DITA Cross-Book Links They Worked Before, What Happened? Understanding DITA Cross-Book Links
They Worked Before, What Happened? Understanding DITA Cross-Book Links
 
No Ki Magic: Managing Complex DITA Hyperdocuments
No Ki Magic: Managing Complex DITA HyperdocumentsNo Ki Magic: Managing Complex DITA Hyperdocuments
No Ki Magic: Managing Complex DITA Hyperdocuments
 
Poster: Cross-Document Linking in DITA
Poster: Cross-Document Linking in DITAPoster: Cross-Document Linking in DITA
Poster: Cross-Document Linking in DITA
 
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for KeysManaging Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
Managing Deliverable-Specific Link Anchors: New Suggested Best Practice for Keys
 
What's New in DITA 1.3 (Tekom, Nov 2014)
What's New in DITA 1.3 (Tekom, Nov 2014)What's New in DITA 1.3 (Tekom, Nov 2014)
What's New in DITA 1.3 (Tekom, Nov 2014)
 

Dernier

Dernier (20)

TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 

Stupid DITA Tricks: After-The-Fact Specialization: Treating Aircraft Manuals as DITA

  • 1. Stupid DITA Tricks: After-The-Fact Specialization Treating Aircraft Manuals as DITA Eliot Kimber Contrext DITA Europe 2018
  • 2. About the Author • Independent consultant focusing on DITA analysis, design, and implementation • Doing SGML and XML for cough 30 years cough • Founding member of the DITA Technical Committee • Founding member of the XML Working Group • Co-editor of HyTime standard (ISO/IEC 10744) • Primary developer and founder of the DITA for Publishers project (dita4publishers.org) • Author of DITA for Practitioners, Vol 1 (XML Press) DITA Europe 2018
  • 3. Agenda • What did we need to do? • How did we do it? • Was it a good idea? DITA Europe 2018
  • 5. The Problem • Get XML from suppliers • XML is different from each supplier • XML is not DITA • Want to manage it as though it were DITA – Take advantage of DITA tools: CMS, localization, publishing – Provide consistent authoring environment DITA Europe 2018
  • 6. The Project • Presales proof of concept • Demonstrate feasibility of using DITA tools to manage non-DITA source from two different suppliers • Required functionality – Authoring in XML – Translation workflow support – Production of PDF for use by airline – Version management (updates from suppliers) DITA Europe 2018
  • 7. DITA to the Rescue? • DITA tools provide strong out-of-the-box support for localization at reasonable cost • We know any number of DITA CMS products could support client's management, authoring, and translation requirements • Can we apply DITA in this case? DITA Europe 2018
  • 8. Challenge: Enable Management and Translation at Lowest Cost • If the content was DITA out-of-the-box tools will do what's needed • Content is not DITA, does not appear to map easily to DITA • Airline authors want one system for working with both Boeing and Airbus MELs • How to do it? DITA Europe 2018
  • 9. WHAT DID WE DO? DITA Europe 2018
  • 10. The Experiment: Retroactive Specialization • Using the markup as provided, add @class attributes to make it look like a DITA specialization • Using XSLT add minimum needed to make it work as DITA with DITA tools – Topic IDs – Keys – Etc. DITA Europe 2018
  • 11. Retroactive Specialization • Add @class and other DITA-required attributes to existing declarations • Find closest match but don’t worry too much about semantics or other DITA rules • Make heavy use of <div> DITA Europe 2018
  • 12. Retroactive Specialization Declaration Example DITA Europe 2018 <!-- DITA class attribute mappings --> <!ENTITY % dita-univ-atts-mod SYSTEM "dita-univ-atts.dtd">%dita-univ-atts-mod; <!ATTLIST description class CDATA "- topic/topic opsproc_exch/description " xmlns:ditaarch CDATA #FIXED "http://dita.oasis-open.org/architecture/2005/" ditaarch:DITAArchVersion CDATA #FIXED "1.3" domains CDATA "(topic topic) (topic ops-exch-d)" id ID #IMPLIED > <!ATTLIST descitem %dita-univ-atts; class CDATA "- topic/div opsproc_exch/descitem " > <!ATTLIST example %dita-univ-atts; class CDATA "- topic/fig opsproc_exch/example " > <!ATTLIST descbody %dita-univ-atts; class CDATA "- topic/body opsproc_exch/descbody " > <!ATTLIST item %dita-univ-atts; class CDATA "- topic/li opsproc_exch/item " >
  • 13. Transform to DITA • Must adjust the source to make it into working DITA • Goal: Do as little as possible • Will need the reverse transform DITA Europe 2018
  • 14. Transformation Tasks • Generate DITA maps • Assign keys to topics • Ensure all topics have IDs • Add wrapper elements where required by DITA (e.g., topic bodies, <dlentry>, etc.) • Make links into keyrefs DITA Europe 2018
  • 15. Let's Look At Some Code DITA Europe 2018
  • 16. WAS IT A GOOD IDEA? DITA Europe 2018
  • 17. Did It Work? DITA Europe 2018 • Yes: As far as we were able to test it • Achieved: – Added DITA declarations to DTDs – Implemented transform to DITA – Import into CMS as DITA – PDF generation using Open Toolkit • Conclusion: – Approach is sound
  • 18. Was it A Good Idea? • I think so • Other alternatives very expensive: – Buy and maintain supplier's CMS offerings – Build ground-up CMS specific to supplier vocabularies – Build from-scratch authoring and publishing tools • Result is not "pure DITA" but who cares? DITA Europe 2018
  • 19. Costs of the Approach • Requires some amount of transform to and from original source XML • Transforms need to be maintained over time • DITA CMS will still require some amount of customization • Publishing tools will require customization DITA Europe 2018
  • 21. Resources • Minimum equipment list description: http://nata.aero/data/files/committee_mtgm emos/bestpracticemineqlistbp.pdf DITA Europe 2018