hurix... you got your objects mixed up:
didn't check much of your code, but it that line should be something like:
Thanks for your quick responce,
any how Thank you very much.
For these types of autogeneration you need to use XSLT not "scripting".
When you export to XML the content will appear, as per final XML that should be stripped out.
Before importing into indesign run through XSLT and import the XML.
1. You can map all the para/character style
2. All autogeneration content will be handled
3. Commenting of element for display purpose
4. Converting Tables to Indesign Compitable tables
We do not have any XSLT.
I just wrote a workflow for XML-IN indesign.
Using XSLT will be simple rather than scripting.
For pagination and other automation in Indesign you need to do scripting.
Thanks for your reply,
can you please share me the XSLT work flow structure.
It will be helpfull for us.