Skip to Content
XML Publishing with Adobe InDesign
book

XML Publishing with Adobe InDesign

by Dorothy J. Hoskins
September 2010
Intermediate to advanced
111 pages
3h 7m
English
O'Reilly Media, Inc.
Content preview from XML Publishing with Adobe InDesign

Advanced Topics: Transforming XML with XSL

Many of the topics in this section of the Short Cut deal with CS3's new features for dealing with XML, and the more painful ways to accomplish the same work using CS2's features.

An Aside Regarding Scripting InDesign and XML Rules-based Publishing

There is a lot of potential hidden in the phrase "XML Scripting", most of which applies to InDesign CS3. The power tools are Scripting (AppleScript, Visual Basic and JavaScript) in CS2 and CS3, and rules-based XML publishing (CS3 only).

Scripting InDesign promises to be another hacker's delight—for hackers who like publishing. If you want to get a better idea of what can be done, see the O'Reilly Short Cut publications, such as Scripting InDesign with JavaScript by Peter Kahrel.

You can get started with the scripts by visiting the Adobe web site and looking for "scripting reference" documentation in the InDesign Help and Forum sections of the site. Online searches will reveal more InDesign scripting references.

XSLT for Wrangling XML; XML Scripting for Automating XML Publishing

Here's what I think are the key differentiators for which process to use and why:

If you need to change the XML itself as it is being imported or exported into InDesign, use XSL transforms. I provide some examples in this Short Cut. Anyone can write XSLT[4] with a text editor and one of the good XSLT books; the trick is to know when to "speak InDesign" and how. InDesign has its limitations in transforming XML on import and export. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

XML and InDesign

XML and InDesign

Dorothy J. Hoskins

Publisher Resources

ISBN: 9781449397234Errata