node
Join our community of graphic designers, publishers, and production artists from around the world. Our members-only forum is a great place to discuss challenges and find solutions!
-
Search Results
-
Topic: XML conditional formatting
Hi,
I'm working on a pricelist in XML, importing in InDesign, one of my challenges is this:
When a price (or other field) has changed since the last printing, highlight the price in red.
Is there a way I can use an xml attribute, or node, to tell InDesign to change a character style?
Thanks,
Bob
I've stumbled across something which is confusing me, Im' sure there's a very simple explanation but I'm just not seeing it.
For years I've used Quark and any time I wanted to create a shaped item I tended to base it on a simple rectangle and simpley add nodes as and where I needed them, then convert to corners or bezier curves to create the shape I wanted.
I figured I'd be able to do the same in Indesign but when I create a rectangle frame and use the direct selection tool or the pen tool, i only seem to be able to add nodes or move nodes on the frame's text wrap box not the actual frame itself…
I guess I'm missing something really simple because at the moment it seems like a very fiddly thing to do and I'm gradually finding that Indesign is pretty user-friendly throughout…
Any help much appreciated.
Has anyone noticed that the kerning pair trick for GREP Styles (described at link below) doesn't work in CS5/5.5? Or, has anyone gotten it to work? If so, how?
I have an xml file tagged with namespaces:
for example, ce:section, ce:parai just trying to collect the 'ce:floats' xml nodes by using the following code:
//Defining the Namespace in the array of arrays of 2 strings
Dim NmSpArr(,) As String = {{“sb”, “https://www.elsevier.com/xml/common/struct-bib/dtd”}, {“cl”, “https://xml.cengage-learning.com/cendoc-core”}, {“ce”, “https://www.elsevier.com/xml/common/dtd”}, {“aid”, “https://ns.adobe.com/AdobeInDesign/4.0/”}, {“aid5”, “https://ns.adobe.com/AdobeInDesign/5.0/”}, {“xmlns:xsi”, “https://www.w3.org/2001/XMLSchema-instance”}, {“xmlns:mml”, “https://www.w3.org/1998/Math/MathML”}, {“xmlns:xlink”, “https://www.w3.org/1999/xlink”}}//Trying to collect the 'ce:floats'
Dim obj As InDesign.Objects = IndDoc.XMLElements(1).EvaluateXPathExpression(“//ce:floats”, NmSpArr)ID CS4
Vb.netAbove code always returning 0 as count. It seems there is problem with the xml namespaces definition.
It is working for the xml which doesn't have namespaces. For example, book; author; price.
When it comes to namespaces only it is not working. For example, ce:book; ce:author; ce:price
Any help?
Topic: Urgent help
I have the following XML schema:
<courses>
<course><number/><name/><category/></course>
</courses>My goal is to display the XML as pages in InDesign. This is fairly simple, no problem. The issue is that I need category to be on the side of the page as vertical text.
I created two place holders. One for the side category, and one for the main placeholder which displays course number and name. I tagged my template and made sure the structure is correct.
Now when I go to duplicate the page spread (so the other courses can be displayed as pages as well)….it moves the Category node in the structure to the FIRST course node. So if I duplicate the 1st page…the 2nd page's category node is moved into the 1st pages course node.
Why is this happening?
I have an XML document consisting of the following:
<root>
<pages>
<page>
<title>test</title>
</page>
<page>
<title>test2</title>
</page>
….
</pages>
</root>I want to import this into a new Indesign document and have each page node printed in a new page in indesign. How do I do this? I tried creating a new document and importing the XML, which creates the tags and structure. However, when I drag and drop the pages tag from the Structure, it puts all of them on a single page?
