Ask a Question related to Adobe Indesign Macintosh, Design and Development.
-
Greg_Gaspard@adobeforums.com #1
[CS] Scripting XML Tag and Attribute application
(Also posted in ID Scripting forum, not getting response, thought I'd try here...)
I've got a situation where I need to quickly and repetitively apply XML tags and attributes in InDesign CS. (I may also need to do this in CS2 down the line, but CS is the pressing problem.) What I'm trying to do is:
1. Apply an XML tag (in this case, "span") to a manually selected range of text.
2. Apply a specific attribute ("class") and attribute value ("category") to the XML tag that was just created.
(Desired end-result in XML: <span class="category">Selected Text</span>)
Simple, right? Except I can't figure out the AS syntax for applying these tags and attributes to save my life. Looking at the InDesign CS dictionary, there's a command called "markup" that seems like it should work, but I can't figure out how to get it to apply to a selected range of text.
Anybody got any good ideas?
Greg_Gaspard@adobeforums.com Guest
-
PHP Scripting for Mac
I am trying to code a form in Dreamweaver. I have created the form but I need to have it so that the details entered can go to a 'database' or... -
Retrive data from attribute spaced attribute.
Hi. I'm retrieving data from an excel sheet. But one of the attributes is name "Phone private". This is a problem when I want to write out the... -
Retrieving XML attribute using XML::XPath::Node::Attribute
Hi I am trying to retrieve an attribute of a particular node from my XML using "XML::XPath::Node::Attribute", but couldn't come across on how to... -
scripting
Can anyone link me to were i can learn SCRIPTING on windows or and tell me about scripting. -
LRP scripting
El Mon, Jul 14, 2003 at 11:13:38PM +0100, Shango Oluwa escribió: Maybe because LRP is not Debian related .. ;) That's because you create a...



Reply With Quote

