@Darren_Wickham: "I'm quite new to the Indesign scene and have a question about importing XML files. When importing XML files the data is either compact or spaced out depending on whether white space is ignored or not. Is there a way to import XML but have line breaks between elements in the XML file?"
    @taddavis: "When I import XML and look at the structure pane, I see, for example:
dataroot
    Course
        Title
etc. In other words, one element per line. Perhaps I don't understand your question. This is with CS3 (5.0.2). I can't speak for previous versions of InDesign.
Tad"
    @Darren_Wickham: "I'm testing InDesign using the CS3 demo to decide if it can do what I need it too. Here are some screen shots so that there is more clarity on what I need help with.
Link 1 shows how the XML file looks when it is imported:
 <<url>
Link 2 shows how I want it to look after importing:
 <<url>
Is may be simple but I can't figure out how to do this. Maybe a problem with the structure of the XML file itself?"
    @taddavis: "Do you have styles associated with the tags? The formatting is controlled by styles. Open the TAGS menu and look at the context menu (top right corner). You will see "Map Tags to Styles" and the converse. You will need to predefine styles.
If you're not familiar with styles, please visit lynda dot com slash deke and check out the tutorial. You can get a free trial of the training videos.
James Maivald's book is really, really useful if you're going to play the XML game with InDesign :)
Tad"
    @Darren_Wickham: "Thanks for the suggestion but I've already tried the Style/Tag association feature but ran into a problem.
Is it possible to create a style that forces each tag to start in a new line? This would be very helpful, I'm thinking something similar to a header style that keeps only the words defined as a header in one line, while moving everything else to the next line.
If I can find some way to do that I could then use the "ignore whitespace" feature in the import XML options and use that style to separate the content."
    @taddavis: "Paragraph styles will force a new line; character styles will not. You have three tags in your example (business_name, business_description and business_contact). Even if you associate the same paragraph style with each tag, you will get three paragraphs, each starting on its own line. You cannot use character styles to force a new line."
    @taddavis: "Please email me directly (just click on my name). I will send you a sample .indd and .xml file. You can see what's what.
Tad"
{'source': 'USENET', 'other_information': '{"reply_count": 6, "forum_name": "adobe.indesign.windows.20141219.mbox"}', 'file': 'data/output/usenet-adobe.indesign.parquet'}