Hi Experts, I am looking for someone to respond on this.
Hi All, I have googled so many posts and sites, It seems no option is there to retain the styles and layout.
If anyone have any idea of doing things, It will help me in reducing lot of pain....
You should be structuring your styles with tags in the XML and tell InDesign to map tags to styles.
Tags to styles mapping will not work in my case. It allows me to do one-to-one mapping only. This is not useful. For all head levels I have used <title> tag. But it depends wherere it is placed inside the stucture.
<sec> <title></title>//This is Heading level 1 <sec> <title></title>//This is Heading level 2 <sec> </sec>
While flowing this for the first time i'll apply all these styles by using xpath in JS.
If I made any correction in the xml filem, the "create link" option will not update the content, it is again reflowing the xml into the document. It is very hard to make correction in the indesign file when more corrections are there. Now I will not choose the "create link" option in the imort options. I'll make all the corrections in lndesing, it is very painful.
I hope you understand what my problem is.
It sounds to me like you need to XSLT preprocess your XML
before importing it to InDesign. Count levels in your <title/>
tags and transform them to <title1/> and <title2/> and then map
those tags in InDesign.
Maybe you could use InDesign Tagged Text instead.
Ok if i transform the xml using some xsl file, What will happen to my tracking and kerning, above and below spaces when it reloads (for layout purpose I'll adjust these settings).
I guess you'll have to try and find out but my guess is you lose.
I have tried with various work around i cannot getany postive solutions yet. I give up buddy...