🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #571

Styling text in the middle of an XML element?

#571
From: noob_for_life
Date: Mon, 16 Mar 2009 05:43
11 lines
1843 bytes
I am planning an implementation of a database populated catalog via XML. This will be my first such implementation and I'm struggling with one aspect of this.

How do I deal with styled text in the middle of a copy block? How can I make sure it comes in via XML as styled. I was thinking I could insert InDesign tags into the flow.

Our workflow has copywriters composing text in a web tool which will feed a database. That database will export XML and be pulled into a string of text boxes in a spread of the catalog. Copy may subsequently be changed, exported again, and pulled in again. Later in the flow, we hope to make changes only on the spread and then export it back into the database.

I don't see a convenient way to deal with styled text in the middle of an element. For example, suppose a book name appears in the middle of a sentence. We would want it to appear in bold or italics. Is there a way you would recommend for our copywriters to indicate this so it can be pulled in and be automatically styled on import?

Suppose styling happens later in the flow, is there a way to export this in XML so it can be preserved in the database? Can we combine InDesign tags (my first efforts at this haven't given me much hope we can)?

Thanks!!!
Technical Details
Message-ID: <59b8383e.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,76fb430d9e52ed8f,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: noob_for_life@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Styling text in the middle of an XML element?
Message-ID: <59b8383e.-1@webcrossing.la2eafNXanI>
Date: Sun, 15 Mar 2009 22:43:54 -0700
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit