Re: [InDesign CS/XML] Find/Replace via tags
Re: [InDesign CS/XML] Find/Replace via tags
- Subject: Re: [InDesign CS/XML] Find/Replace via tags
- From: Emmanuel <email@hidden>
- Date: Wed, 4 Jan 2006 10:27:17 +0100
At 5:17 PM -0500 1/3/06, Philip Regan wrote:
I'm creating a book catalog using XML in InDesign CS. I need to be
able to search for content by it's tag, and replace the text in that
tag with an inline text box of the book's cover. The tag structure to
what I'm getting to is this:
<story>
<section>
<sub_section>
<book>
<book_cover> This holds the book's ISBN. It's always in
it's own paragraph, but the number of paragraphs in between these tags
varies
My problem lies in getting the tag names to verify that I have the
correct tag. I'd show you what I have so far, but it's not even
remotely correct. My sample data parses and imports correctly. My plan
is to get the content of the tag, parse the info I need, and then go
the appropriate image. I'm absolutely stumped by this, but there has
to be a way. I've Googled with no results, and now I'm hitting the
forums.
You will easily make a solution if you use the correct tool, that is
the XML commands in XMLLib.osax [1].
Furthermore debugging is much facilitated [2] if you use those
commands from within Smile [3].
Emmanuel
Satimage-software, the makers of both Smile and XMLLib.osax, free
cool powerful stuff.
[1] <http://www.satimage-software.com/en/xml_suite.html>
[2] <http://www.satimage-software.com/en/text_utf_re_xml.html>
[3] <http://www.satimage-software.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden