Is there a way adding" xmlcomments" to corresponding story of selected XmlElement instead of adding it at start/end.
I am trying to find a particular content =>getting its xmlElement where it lies (though I need to do it as of now)=>adding comment to it.
I believe that issue will rise as comment will be added start or end of the XMLelement but I need to place it exactly at the position where it lies.
For instance: <tag>This is my text! This is my text. Add a comment here. The text continues.</tag>
Case 1 <tag>This is my text! This is my text. Add a comment here. The text continues.<!--This is my comment--></tag>
Case 2 <tag><!--This is my comment-->This is my text! This is my text. Add a comment here. The text continues.</tag>
Case 3 <tag>This is my text! This is my text. Add a comment here<!--This is my comment-->. The text continues.</tag>
Case 1 and 2 is not done. Case 3 will do my job.
Has anybody tried it earlier with success? Can this be done?
Any guidance will be appreciated.
regards, --PC
-- This list is a free service of LassoSoft: http://www.LassoSoft.com/ Search the list archives: http://www.ListSearch.com/InDesign/Browse/ Manage your subscription: http://www.ListSearch.com/InDesign/
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!