Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Importing XML Tags in a document

$
0
0

Hello,

 

I've been trying to import XML Tags in a .indd i created, using the Java API but it does not seem to work (the tags content don't update when i export the document as PDF).  I did the same actions in the InDesign CS4 GUI and it worked like it's supposed to.

 

I ran the InDesign server using that command: InDesignServer -iorfile c:\ior.txt -pluginpath Server\Corba

 

I included the .indd file, XML tags file and the Java code I wrote.

 

EDIT:

Also, document.getModified() is FALSE, even after calling document.loadXMLTags(...).

When I exports the tags, all I get is this:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root colorindex="0"><Tag colorindex="35"/></Root>

 

document.countTextFrames() returns 4, which is what is expected.  However document.countXMLTags() returns 2, i'm guessing it's because all my tags are named <Tag...> (+ the <Root> element).  Could that be the cause of my problems?

 

 

any help will be appreciated, thanks


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>