How can import XML, keeping "untagged" TABs?

At a number of places at this forum I find this or similar comments / recommendations:
"my advice would be to avoid formatting text by doing anything  to the XML file. InDesign is made for formatting text, so it can do it  better. I recommend you take a close look at how the tags and paragraph  returns are arranged in the (pre-import) InDesign document rather than  the XML file."
I try to do follow this advise, by putting TABs in the "template". See image below, showing tagged placeholder text:
As you can see, there are TABs between the tags in the template. When importing a matching `XML file, these TABs disappear, and the text looks like this:
I have tried a lot of combinations of import settings, but none of them seems to result in keeping the tabs.
This import setting:
results in a fairly good looking import, but the tabs are gone...
Others have put the tabs and white space data inside the XML, but every time they say that, there is a comment like the one referred to at the top of this post.
But then, how CAN tabs in the template be kept when importing XML? Please explain.
(Edit: The TABs are of cource tagged in one meaning, being inside the surrounding PRD elements in my example)
Best regards,
Andreas

I might be talking to myself here. Anyway:
Chosing to ignore white space when importing...
means that the import is leaving the TABs intact, but that somehow also means that Carriage Returns and/or Line Feeds are not repeated as it was properly before:
So if tabs are kept this way, then how should I manage new lines?

Similar Messages

  • How can import  nokia n97 contacts in iPhone 4

    How can import  nokia n97 contacts in iPhone 4  which is stored in window vista

    depend on how it's stored
    when you connect your iphone to your computer and open your itunes on the computer
    and click on the iphone under devices and get the iphone content menu you can
    click on the info tab on the content menu
    there you can choose how you will be syncronizing contacts to your iphone
    if what you mean by "is stored in windows vista" is avaible in the dropdownbox then choose
    that otherwise you need to export the contacts from the "stored by windows vista" to an options
    present in the dropdownbox
    the most easy thing would be using an export to pst and import from pst in microsoft outlook as it is pretty compabile with many things

  • How can i print all the tab pages not just the first page (tab)

    how can i print all the tab pages not just the first page (tab)

    You would need to do this programmatically. Here's one way:
    Attachments:
    Example_VI_BD6.png ‏3 KB

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • How can I specify the default tab in a CHM Output?

    My company uses CHM-based help for some of its products. We build the CHM files from RoboHelp 9, and while these CHM files don't really have a full Index attached to them, the Index tab shows up in the output anyway. Unfortunately, we are suddenly seeing that when the CHM file is launched from our program, the Index tab is displayed by default. We'd rather have the Contents tab be the default look, especially considering that the Index does not exist.
    I have poked around into how you can specify a default tab for a CHM file, and the only information I have found suggests that using a CHM file creates a file (HH.dat) that specifies which tab should be displayed on a user-by-user basis, and that the last tab displayed when you close the CHM should be the first one displayed when you re-open it. While this is true if you open the CHM independent from the product, when you launch it from our program, it's all Index, all the time.
    So, my question is: How can I specify the default tab for a CHM file? Or, failing that, how can I excise the Index tab from my CHM output.

    Hi there
    This will be something up to your application developer to resolve. When s/he issues the call to open the CHM, there are parameters that may be used to always open with the desired tab "in front".
    Point your developer to the link below and advise that s/he is most likely interested in the section titled: Programming Tips.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • When I open a new tab, how can I get the second tab to be me my home page also?

    I know how to right click and open a new tab when I am browsing but if I want to open just a blank new tab, how can I get the second tab to be my home page also?

    I know how to right click and open a new tab when I am browsing but if I want to open just a blank new tab, how can I get the second tab to be my home page also?

  • How to 'import xml' in my script

    Hi All,
    Below "Script 1" is working fine, now I want to call the '.xml' file which was placed in Template folder(see script code).
    How to import xml in 'New.indd' file("Line 27:-->var source = File(path + '/New.indd')".
    Please add import xml code in 'Script 1"
    Script 1:
    var path = Folder.selectDialog ("Select folder");
    if(path==null)
    exit();
    var files = path.getFiles(/\.(indd?|indt?)$/i);
    if(files==0)  
      alert("There is no 'indd'/'indt' file in your folder");
      exit();
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    try
    myDocument = app.open(new File(files));
    MasterpageScriptLabel();
    TableCellStyleCreation();
    myDocument.save(new File(path + "/New.indd"));
    var folder = new Folder(path + '/Updated_Folder');
    folder.create();
    myDocument.close();
    var source = File(path + '/New.indd');
    var dest = new File(folder + '/New.indd');
    source.copy(dest);
    source.remove();
    catch(e)
    alert ("Your folder permissible only one file of 'INDD' or 'INDT' file");
    exit();
    function MasterpageScriptLabel()
    var myDoc=app.activeDocument;
    var myXMLElement=myDoc.xmlElements[0];
    if(myXMLElement.isValid)
        var myParentStory=myXMLElement.parentStory;
        var myTextContainers=myParentStory.textContainers;
        for(var i=0;i<myTextContainers.length;i++)
            myTextContainers[i].label="S_TF";
    var myDoc=app.activeDocument;
    var mspreads=myDoc.masterSpreads;
    for (i=0;i<mspreads.length;i++)
    if(mspreads[i].textFrames.length>1)
        var txfmlength=mspreads[i].textFrames;
        for (j=0;j<txfmlength.length;j++)
            if(txfmlength[j].nextTextFrame!=null)
            {txfmlength[j].label="S_TF";}
            if(txfmlength[j].previousTextFrame!=null)
            {txfmlength[j].label="S_TF";}
    function TableCellStyleCreation()
        var cestyle = myDocument.cellStyles;
        var array = ["TBL_COLH", "TBL_BODY"];
        var i = array.length;
        while(i--)
                try{
                    var style = myDocument.cellStyles.add();
                    style.name = array[i++];
                catch(e)
                    style.remove();
                    alert("'" + array[i-1] + "'"+ " Already exists in the document.")
                i--;
    main();
    function main(){
          var progress_win = new Window ("palette");
    var progress = progress_bar(progress_win, 2, 'Processing ... Completed');
        delay(1);
          progress.value = progress.value+1;
        delay(1);
        progress.parent.close();
    // delay function found here
    //found here http://www.wer-weiss-was.de/theme157/article1143593.html
      function delay(prmSec){
      prmSec *= 1000;
      var eDate = null;
      var eMsec = 0;
      var sDate = new Date();
      var sMsec = sDate.getTime();
      do {
      eDate = new Date();
      eMsec = eDate.getTime();
      } while ((eMsec-sMsec)<prmSec);
    * Taken from ScriptUI by Peter Kahrel
    * @param  {Palette} w    the palette the progress is shown on
    * @param  {[type]} stop [description]
    * @return {[type]}      [description]
    function progress_bar (w, stop, labeltext) {
    var txt = w.add('statictext',undefined,labeltext);
    var pbar = w.add ("progressbar", undefined, 1, stop);
    pbar.preferredSize = [300,20];
    w.show ();
    return pbar;
    by
    hasvi

    DECLARE @x xml=N'
    <Jobs>
    <Job>
    <JobCode>123</JobCode>
    <JobTitle>Years</JobTitle>
    <JobSubCode>
    <div>
    <Ol>
    <li>2001</li>
    <li>2002e</li>
    <li>2003</li>
    <li>2004</li>
    </Ol>
    </div>
    </JobSubCode>
    </Job>
    </Jobs>'
    SELECT J.c.value('(JobCode/text())[1]', 'varchar(10)') AS JobCode,
           J.c.value('(JobTitle/text())[1]', 'nvarchar(40)') AS JobTitle,
           L.c.value('.', 'varchar(10)') AS Years
    FROM   @x.nodes('/Jobs/Job') AS J(c)
    CROSS  APPLY J.c.nodes('JobSubCode/div/Ol/li') AS L(c)
    Erland Sommarskog, SQL Server MVP, [email protected]

  • I used to have a Yahoo tab shown when yahoo was opened. Now it says "Getting Started" How can I get my Yahoo tab back? Thank you.

    I used to have a Yahoo tab shown when yahoo was opened. Now it says "Getting Started" How can I get my Yahoo tab back? Thank you.

    Set Yahoo as you home page, and set firefox to open the homepage when it starts. (Not to open previous pages).
    * see [[how to set the home page]] for detailed instructions <br/> all you need to do is drag the icon whilst you are on the page you require
    * see also [[options window - General panel]]

  • How can i stop open new tab on safari when i click  on link or anything ??

    how can i stop open new tab on safari when i click  on link or anything ??

    Check the links below for options to remove the Adware.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071

  • How can Import Mysql my database and Table into website -

    Hi,
    friend i am using CS3 ,i made all need tables in database ,I need  to know
    how can import that database /table into website.
    I know  in domin there is admin Mysql inside i have found impotr/export/ but
    when  I click import i do not know where my database/table been save to  import it

    If all you are trying to do is change an existing tablepace from a single datafile to multiple datafiles, then a simple import will work fine. Just create the tablespace in the new database with multiple files, then do the import normally.
    If you want to move segments into different tablespaces, or change the names of the tablespaces, then you will need to precreate the tables before importing. Then, do the export with indexes=N and constraints=N. Run import with the resulting file, then re-create the constraints and indexes in the new tablespaces.
    TTFN
    John

  • When I start Firefox 4 two tabs open one is my homepage and the other is "google toolbar updated", how can i stop the second tab opening?

    I have google toolbar installed on my Firefox 4, whenever I start firefox two tabs open, one is my homepage gmail and the other is "google toolbar updated".
    How can I stop the second tab from opening?

    See these articles for some suggestions:
    * [[Firefox has just updated tab shows each time you start Firefox]]
    * [[How to set the home page]] - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • HT1296 I am trying to sync contacts from my iPhone to Mac.  When I plug in my iPhone, I do not get the Info tab in iTunes (as mentioned in how to sync on this website).  How can I get the info tab to appear?

    I am trying to sync contacts from my iPhone to Mac.  When I plug in my iPhone, I do not get the Info tab in iTunes (as mentioned in how to sync on this website).  How can I get the info tab to appear?

    Since the release of Mavericks (OS X 10.9) syncing contacts and calendars with a Mac via iTunes is no longer supported. The currently supported method is via iCloud. Setup instructions: http://www.apple.com/icloud/setup/

  • How can I change the new tab homepage ?

    how can I change the " new tab " homepage

    By default Firefox uses a blank page in a new tab. Something you installed changed that to I-PLAY. You need to figure out what changed that, and get rid of it. Start with this. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Can't Figure Out How To Import XML into a Table?

    HELP!
    I've been using InDesign for several years now... but everything Ive ever done has been basic one off layout concepts.
    I am working on a website for a musical theater actress and for her resume, Id like to make a PDF which lists in table format the show, theatre and role she had for each job.
    I could do this manually... but Id really like to learn how to just reuse the same XML data that I have for her website and import it into InDesign.
    I have looked at Adobe's help file, I have scoured the internet, and I still can't figure it out... I have done like the adobe support file says... and I cant seem to get the values I create in her resume xml file to show up in a table I create in InDesign.
    I even tried to simplify it for the learning process and did something as basic as an XML file that has 5 colors... couldnt even get that working.
    So could someone explain it to me like Im a 5 year old... how to take a XML file, import it, place it in a table and have the data actually show up in the table.
    thanks,
    brian

    Are you sure you want to use XML with tables for this? No doubt importing XML into tables is useful for some specialized tasks, such as importing formatting information inside the XML itself, but for most of the familiar tasks that XML excels at, tables are neither necessary nor useful.
    In my (limited) experience, if the XML elements are well-differentiated, by which I mean different types of data have their own distinctive tags, then the special powers of XML can be exploited more fully using the more familiar tagged text, nested tags etc. in ordinary text frames using paragraph breaks, tab characters, etc. to achieve a suitably "tabular" finished appearance.
    If you must import XML into tables, I recommend Adobe's own PDF "Adobe InDesign CS3 and XML: A Technical Reference" availabe here:
    http://www.adobe.com/designcenter/indesign/articles/indcs3ip_xmlrules.pdf
    It sounds very daunting -- the words "technical reference" make me shudder -- but actually it's very readable and not very technical at all. Some nice pics and everything!
    Jeremy

  • How can my program keep the user from using Alt+Tab?

    Hi everyone,
    How can i make my program so that when the user tries to use Alt+Tab to open any other windows, it won�t allow it. Thanks in advance.

    You can't.
    Java runs in a virtual machine, and relies on the OS to forward events to the virtual machine for dispatch to the appropriate swing components.
    This means that the OS will get the alt-tab, before java, and it will consume it.
    You can however detect when a window is no longer receiving focus, by adding a WindowListener
    Window.addWindowListener(WindowListener l)And you can bring your window to the front (in theory) using
    Window.toFront()However, I have found this to be not always successful (since the jre dispatches the request to the OS, it is the OS that must do it, and depending on the context may not).
    I suggest you try another language, such as C.

Maybe you are looking for

  • A Few Questions About Zen MX . . .

    I bought a Sandisk Sansa Fuze in the summer of 2008, and have had it replaced twice due to it failing completely. So, I'm on my third, and I considered the Zen MX. So, I have a few questions . . . 1. Why is it cheaper than the Zen? 2. Is it stable an

  • Different max photo sizes in emails, beams, photo stream?

    I've noticed differences in file sizes when emailing photos from the iPhoto app, when inserting in an email, and when emailing directly from the photo.  I've found that iOS 6 is able to send the largest file when inserting it into an email. If I sele

  • Identifiers in Communication Channel

    Hi guys! We try to configure a B2B scenario with identifiers, however, have a troble. We have created a party to who messages will be sent. Also added their Business System. In the Party we have configured a new Identifier (for seeburger as2). I supp

  • Why did my purchase could not be completed?

    There is a pop-up box says my purchase could not be completed for the second time in one day. What do I suppose to do?

  • My Photoshop Elements 10 Trial Doesn't Seem to Work!

    I just downloaded and installed the APE10 trial. When I ran it to check it out, I indicated Trial and skipped the Adobe login. I tried to open a sample jpg file and nothing happened! No error message - nothing. So I tried a few variations, like loggi