Single Sourcing using XML and Open Source

Download Report

Transcript Single Sourcing using XML and Open Source

Single Sourcing using
XML and Open
Source
Hemanth Basrur
Hewlett-Packard
© 2004 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice
Agenda
•
Problem Statement
•
Objectives of XML Open Source Approach
•
Advantages of XML Authoring System
•
Elements of XML
•
Single Sourcing using XML Framework
•
Open Source Bodies / Organizations
•
XML Open Source Takeaways
•
Free XML Editors
•
Conclusion
July 20, 2015
2
Problem Statement
•
Authors currently use different markup languages and
tools for man pages, books, online help, and websites.
•
Authors have to learn a new environment for each
deliverable type.
•
Authors’ ability to reuse and repurpose information is
restricted.
•
Companies have to spend money for tool licensing and
support, thereby increasing cost.
July 20, 2015
3
Objectives of XML Open Source
Approach
•
Enable authors to use the same authoring environment
for multiple types of deliverables
•
Broaden the proportion of our information that is markedup with a standard, structured markup language
•
Use standards-based technology so that authoring and
production environments can change and improve without
major disruptions
July 20, 2015
4
Objectives of XML Open Source
Approach
•
Limit our dependency on proprietary tools and formats,
and minimize number of tools and formats needed
•
Use open source tools where appropriate
•
Support single-point authoring and translation through
multiple transforms to produce appropriate artifacts for
documentation from the same xml source file
July 20, 2015
5
Advantages of XML Authoring
System
•
Documentation sources are in structured markup
language, leading to greater consistency and re-usability.
•
Authors can convert source files into multiple file formats
using the same authoring environment, reducing licensing
and training costs.
•
Adoption of newer version of open source tools
July 20, 2015
6
Elements of XML
• XML Source Files
• DTDs
• XSLT
• Xerces
•
Capture all product information
•
Store data in a single source format (XML)
•
Automate delivery to CD-ROM, Print, Web, PDF and other
forms of media by extracting information, applying the
appropriate formats for the desired medium, and
outputting to that medium.
July 20, 2015
7
Single Sourcing using XML
Framework
July 20, 2015
8
Open Source Groups
July 20, 2015
9
XML Open Source Takeaways
•
Xerces – XML parsers in Java, C++
•
Xalan – XSLT stylesheet processors in Java and
C++
•
AxKit – XML-based web publishing
•
FOP – XSL formatting objects (XSL-FO)
processor
•
Forrest – XML/XSLT-based framework for project
documentation and website development
July 20, 2015
10
XML Open Source Takeaways
•
Xang – Rapid deployment of dynamic server
pages in Java Script
•
SOAP – Simple Object Access Protocol
•
Batik – Java-based toolkit for Scalable Vector
Graphics (SVG)
•
Saxon – Open Source XSLT Processor
July 20, 2015
11
XML Open Source Takeaways
•
Xalan-Java – Open Source XSLT Processor
•
Apache Ant – Open Source Java-based build tool
•
XML DTD – OASIS Standard Docbook 4.2
•
DocBook XSL Stylesheets
•
Namazu – Full text search engine
July 20, 2015
12
Free XML Editors
•
Emacs
•
XML Buddy
•
oXygen XML Editor 5.0
•
GrafiXML 1.0.7
July 20, 2015
13
Free Tools for Information
Developers
•
TortoiseCVS – Free tool for version control of files
•
W3C HTML Validation Service – Checks if Web pages are
W3C standards compliant
•
Cynthia Says Portal – Checks Web pages against the US
Section 508 standards
•
W3C CSS Validation Service – Validates cascading style
sheets
•
W3C Link Checker – Checks for broken links in HTML
pages
July 20, 2015
14
Quiz
Who is this famous personality?
Answer: Richard Matthew Stallman
To which project or foundation does this logo belong?
Answer: GNU Operating System – Free Software
Foundation
Hey, can you tell me what I can do for you?
Answer: Hi folks! I am TortoiseCVS. I maintain your
files in version control from Windows Explorer.
July 20, 2015
15
Conclusion
XML authoring and open source is an excellent
combination to achieve single sourcing.
July 20, 2015
16
Acknowledgements
I would like to thank the HP Information Engineering
team members for their encouragement.
I would like to thank STC India Chapter for giving me an
opportunity to introduce single sourcing using XML and
Open Source in this forum.
July 20, 2015
17
Thank You