A Designer's Guide to Adobe InDesign and XML: Harness the Power of XML to Automate your Print and Web Workflows

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Is this book for programmers?  Written specifically for graphic designers and production artists already comfortable working with Adobe InDesign, this book teaches you how to automate publishing without learning a lot of scary code. XML simplifies the process of moving content in and out of your layouts and can speed up any print or Web assignment. Why should I care about XML? If you’re managing data-intensive layout projects, and you want to keep that data consistent, accurate, and up-to-date, then incorporating XML can help. You can also use XML to automate processes like importing text and large numbers of graphics into a layout, or repurposing content from one application to another. Do I need additional plug-ins or special software? You need only the powerful features built into InDesign CS2, CS3 or CS4 to use this book. How will I learn XML? This guide includes nine easy-to-follow projects with downloadable support files. With these hands-on tutorials, you will learn XML in context. By the final project, XML will no longer be a mystery, but a powerful tool you can use to support your company or clients. These real-world projects will teach you: l Business cards: Create a structured layout in InDesign and then import XML. Format text automatically and flow the text into multiple examples. l Product catalog: Learn how to import XML data into a structured layout using nested styles and cloned text. l Direct mail and variable data printing: Use XML and InDesign to create sophisticated direct mail pieces without costly plug-ins or third-party software. l Magazine and newspaper: Build and export magazine-style publications for online distribution. l Web: Transform XML into XHTML to incorporate directly into your Web pages, or use Cascading Style Sheets to instantly format your exported XML.

Author(s): James J. Maivald, Cathy Palmer
Edition: 1
Publisher: MIX
Year: 2007

Language: English
Pages: 337

A Designer’s Guide to Adobe InDesign and XML......Page 1
Contents......Page 5
Introduction......Page 11
XML Basics for Designers......Page 14
HTML vs. XML......Page 16
Element......Page 19
DTD......Page 20
Entity......Page 21
Schema......Page 22
XSL......Page 23
XML Rules......Page 24
3: All Tags Must Be Properly Nested......Page 25
7: Attribute Values Must Appear within Quotes......Page 26
The ABCs of DTDs......Page 27
Target XML Structure......Page 28
DTD Grammar......Page 29
Reading DTD......Page 31
Where to Get More Information......Page 34
Importing XML......Page 36
Structure Pane Close-up......Page 39
Showing Text Snippets, Attributes, Comments, and Processing Instructions......Page 40
Expanding the Structure......Page 41
Collapsing the Structure......Page 42
Structure Pane Anatomy......Page 43
Placing Unformatted Elements from the Structure Pane......Page 45
The Tags Panel Close-up......Page 46
Identifying Tagged Elements......Page 48
Editing Tags......Page 49
Loading Tags......Page 50
Deleting Used Tags......Page 51
Applying Tags to Text......Page 52
Changing Tag Assignments......Page 53
Untagging Graphics and Text......Page 54
Identifying Elements from the Structure Pane......Page 56
Identifying Structure from the Layout......Page 59
Untagging Elements from the Structure Pane......Page 60
Deleting Elements Using the Structure Pane......Page 61
Formatting XML Content Automatically......Page 62
Exporting XML......Page 63
Validating Structure with a DTD......Page 66
Viewing the DTD......Page 67
Accessing Story Editor......Page 68
Showing the XML Interface......Page 69
Identifying Text Elements Using the Tags Panel......Page 70
Tagging Text in Story Editor......Page 71
Adding Tags to Text in Story Editor......Page 72
InCopy......Page 73
Installing InCopy Plug-Ins in InDesign......Page 74
Opening an InCopy Assignment......Page 75
Opening an XML File......Page 76
Creating XML in InCopy......Page 77
CHAPTER 3 Making XML......Page 78
TextEdit and Notepad......Page 79
InDesign, Story Editor, and InCopy......Page 82
Creating XML in Word......Page 84
Creating XML in Excel......Page 91
Tagging Spreadsheet Cells with XML Elements......Page 92
Entering Data into an XML Structure......Page 93
FileMaker Pro......Page 94
Entering Data into FileMaker Pro......Page 96
Exporting XML from FileMaker Pro......Page 97
Microsoft Access......Page 98
Adobe Dreamweaver......Page 101
SyncRo Soft ......Page 104
Altova XMLSpy......Page 107
Validation......Page 109
Review......Page 111
CHAPTER 4 Structure Basics......Page 112
Lesson 4-1: XML Foundation......Page 113
Lesson 4-2: Fun with the Structure pane......Page 117
Lesson 4-3: Data Integrity......Page 119
Lesson 4-4: Layout Automation......Page 121
Review......Page 123
Lesson 4-5: XML Foundation Part 2......Page 124
Lesson 4-6: Basic Document Setup......Page 126
Lesson 4-7A: Creating Tags Manually......Page 127
Lesson 4-7B: Editing Existing Tag Names......Page 128
Lesson 4-7C: Importing Tag Names......Page 129
Lesson 4-8: Creating a Stuctured Layout......Page 130
Lesson 4-9: Tagging Placeholders......Page 133
Lesson 4-10: Preserving Paragraph Formatting......Page 136
Lesson 4-11: Testing Your Structure......Page 138
Lesson 4-12: Press-Ready Docs......Page 139
Review......Page 142
Lesson 4-13: Floating Frames Method......Page 143
Lesson 4-14: Creating Nested Elements......Page 144
Lesson 4-15: Modifying Element Order......Page 145
Lesson 4-17: Troubleshooting XML Structure......Page 147
Lesson 4-18: Creating Multiples......Page 149
Lesson 4-19: Payoff = Unlimited Possibilities......Page 151
Review......Page 152
CHAPTER 5 Anchored Objects......Page 154
Lesson 5-1: Anchored Objects......Page 155
Lesson 5-2: Multisection XML......Page 157
Lesson 5-3: Starting the Cookbook......Page 160
Lesson 5-4: Send in the Clones......Page 161
Lesson 5-5: Formatting the Structure......Page 164
Lesson 5-6: The Wrong Way......Page 166
Lesson 5-7: The Right Way......Page 167
Review......Page 169
CHAPTER 6 Inline and Anchored Graphics......Page 170
Lesson 6-1: Anchored Objects, the Sequel......Page 171
Lesson 6-2: Absolutely Graphical, Relatively Speaking......Page 173
Lesson 6-3: Building the Atlas Template......Page 176
Lesson 6-4: Anchoring Graphics......Page 178
Lesson 6-5: Creating Object Styles......Page 182
Lesson 6-6: Send in the Clones, the Sequel......Page 183
Lesson 6-7: Formatting the Structure......Page 185
Lesson 6-8: Creating Styles for Each XML Element......Page 186
Lesson 6-9: Mapping Tags to Styles......Page 187
Lesson 6-10: Testing the Template......Page 188
Lesson 6-12: Broken World......Page 189
Review......Page 191
CHAPTER 7 Targeted XML Import......Page 192
Lesson 7-1: Targeted XML Import......Page 193
Lesson 7-2: Targeting Multisection Structures......Page 196
Lesson 7-3: Inserting Pages in a Multisection Structure......Page 199
Lesson 7-4: Multipurpose XML Import......Page 200
Lesson 7-5: Advanced Targeted XML Import......Page 202
Lesson 7-6 Updating XML Content......Page 203
Lesson 7-7: Deleting Empty Elements......Page 204
Lesson 7-8: Beginning the Catalog Structure......Page 206
Lesson 7-9: Editing Raw XML for Import......Page 208
Lesson 7-10: Creating the Master Product Placeholder......Page 211
Lesson 7-11: Creating Multipurpose XML......Page 215
Lesson 7-12: Creating the Pricelist Structure......Page 216
Lesson 7-13: Creating New Catalog Sections......Page 219
Lesson 7-14: Inserting Additional XML Structures......Page 220
Lesson 7-15: Formatting the Structure......Page 222
Lesson 7-16: Combining Multiple XML Data Files......Page 223
Lesson 7-17: Importing Combined XML......Page 224
Review......Page 225
Sample Project: Direct Mail Postcard......Page 226
Lesson 8-1: Direct Mail Postcard......Page 227
Lesson 8-2: Nested XML Sub-structures......Page 230
Lesson 8-3: Creating XML Sub-structures......Page 232
Lesson 8-4: Creating the Postcard Structure......Page 235
Lesson 8-5: Creating Placeholders in Anchored Frames......Page 237
Lesson 8-6: Creating Placeholders with Sub-structures......Page 239
Lesson 8-7: Converting Objects from Inline to Anchored......Page 241
Lesson 8-8: Creating Additional Placeholders......Page 242
Lesson 8-10: Testing the Postcard......Page 246
Review......Page 247
CHAPTER 9 Exporting XML......Page 248
Text-only Export Formats......Page 249
Lesson 9-1: Cross-media Export: The Wrong Way......Page 250
Lesson 9-2: Exporting Content to XML......Page 254
Lesson 9-3: Optimizing Layouts for XML......Page 256
Lesson 9-4: Automating XML Tagging......Page 259
Lesson 9-5: Using XML Templates......Page 264
Lesson 9-6: Exporting Content to HTML/XHTML......Page 268
Lesson 9-7: Advanced HTML/XHTML Export......Page 273
Review......Page 281
CHAPTER 10 XML, HTML & CSS......Page 282
Lesson 10-1: Formatting HTML......Page 283
Lesson 10-2: Styling HTML with CSS......Page 285
Lesson 10-3: Styling Raw XML with CSS......Page 286
Lesson 10-4: Advanced CSS Styling......Page 287
Review......Page 293
CHAPTER 11 Ajax and XSLT......Page 294
Lesson 11-1: Creating Instant Web Pages with Ajax......Page 295
Lesson 11-2: Using XSLT on Import......Page 300
Lesson 11-3: Using XSLT on Export......Page 304
Lesson 11-4: Advanced XSLT......Page 307
Review......Page 309
CHAPTER 12 What’s up, DocBook (and other DTDs)......Page 310
Lesson 12-1: Interpreting DTD Rules......Page 312
Lesson 12-2: Creating DocBook-compatible Structures......Page 314
Lesson 12-3: Using Pre-Built DTD Structures......Page 318
Lesson 12-4: Making Existing Documents DTD Compliant......Page 320
Review......Page 323
B......Page 324
C......Page 325
D......Page 326
E......Page 327
H......Page 328
L......Page 329
O......Page 330
R......Page 331
S......Page 332
T......Page 333
U......Page 334
X......Page 335
Know the Rules and Don’t Break Them!......Page 337