Jump to content

DocBook Video Tutorial 2 - DocBook to PDF with Xcode and XMLLINT

0
  VandadNP's Photo
Posted Apr 29 2011 03:41 AM

In this tutorial you will learn:

  • Downloading DocBook Documentation
  • Writing DocBook in Xcode
  • Validating DocBook XMLs
  • Generating PDF from DocBook XMLs


To download MacPorts, go to: http://macports.org/
To install XMLLINT categories, use this Terminal command:

sudo port install docbook-xml xmlcatmgr


To validate a DocBook XML, place these commands (as demonstrated in the video) into an executable file and run by passing the name of the file to validate as an argument:

fileToValidate="$1"
export SGML_CATALOG_FILES=/opt/local/etc/xml/catalog
xmllint --valid --noout --catalogs $fileToValidate


Questions? let me know and watch for the next videos about DocBook



iOS 4 Programming Cookbook

Learn more about this topic from iOS 4 Programming Cookbook.

You can build a variety of amazing apps on the iOS platform—and every one of them presents a unique set of problems. With the recipes in this cookbook, you'll go beyond theory to solve the vexing, real-life issues you’re likely to face when creating apps for the iPhone, iPad, or iPod Touch. Complete with solutions for problems faced by beginning, intermediate, and advanced developers, this book will take you from concept all the way to the App Store.

See what you'll learn


0 Replies