This content has been marked as final. Show 5 replies
app.activeDocument.activeLayer = app.activeDocument.layers.item ('Layer 2');
Is this XML? Guess I'm not advanced enough to know how this works while your file is data merging or printing.
>Is this XML?
I think you need to expand some on what your workflow is. It sounds like you're trying to take action during import of XML -- is that so?
One vital piece of information is which version of InDesign you're using.
What I want to end up doing is to use a spreadsheet to import or datamerge into Indesign CS3, and then have InDesign turn on the appropriate layer depending on field "X" = 1 or "X"= 2 or "X" = 3...etc.