I need to know how to import xml files into indesign cs6.

My client wants to send me xml text files to import into Indesign for a multi-page publication. I don't have a clue where to start. Can you point me to a tutorial that would help me figure this out?
I have a sample file that looks like this:
<?xml version="1.0"?>
<providers>
  <provider>
    <name>Bow Valley College</name>
    <description>Putting the Community back in college&#x2026;in the Bow Corrid
ANY TIME, ANY PLACE, ANY PATH, ANY PACE LEARNING.
Designated as the comprehensive community college for Calgary &amp; its
surrounding region, Bow Valley College offers you learning opportunities
through flexible delivery options, including classrooms, online or self
paced modules. Whether you are taking a course for interest, to enhance
your career skills or to finish high school you have access to all of the
traditional Bow Valley College student supports.
Visit our website [2] or come see us at our Canmore campus.
BOW VALLEY LEARNING COUNCIL MEMBER.
Links:
[1] http://www.bowvalleycollege.ca/bow-corridor.html
</description>
    <contact_information>Canmore Campus
Provincial Building, 800 Railway Ave.
Canmore, AB&#xA0; T1W 1P1
OFFICE HOURS: 8:30am - 4:30pm, Monday - Friday (except from 12 - 1pm)
PHONE: (403) 678-3125
FAX: (403) 678-3127
BANFF CAMPUS: Lower Level, Banff YWCA, 102 Spray Ave., Banff (ONLY OPEN
WHEN COURSES OFFERED).&#xA0;</contact_information>
    <email>[email protected]</email>
    <website>www.bowvalleycollege.ca/bow-corridor</website>
    <registration_information>Cancellation policy: Once your course has begun no refunds or credits will
be given. Compassionate grounds may be considered with official
documentation. There are no refunds, transfers, or credits if you cancel
within one week of the course start date.
BY PHONE: (403) 678-3125. Payment by Visa or Mastercard
IN PERSON: Canmore Campus, Provincial Building, 800 Railway Ave., Canmore.
Payment by cash, Visa or Mastercard.
&#xA0;
FUNDING ASSISTANCE&#xA0;MAY BE AVAILABLE FOR THOSE ON A LOW INCOME ON SOME
COURSES. PLEASE ASK FOR MORE INFORMATION.</registration_information>
    <courses>
      <course>
        <title>Computer Basics/Windows 7 - Instructor led, Canmore</title>
        <description>An instructor will lead the class through the basic features of Microsoft
Windows, the Internet and Email. Find out how to start programs, create,
save and organize your files and use the online help feature. You&#x2019;ll also
get an introduction to surfing the internet and setting up an email
account. This course is designed for those with little or no computer
experience &#x2013; and is still our most popular course. 18 HR COURSE.</description>
        <schedule_entries>
          <entry>
            <date>Mon 6:30 - 9 pm, Oct 7 - Dec 2</date>
            <date>Thu 6:30 - 9 pm, Oct 10 - Dec 5</date>
          </entry>
        </schedule_entries>
      </course>
      <course>
        <title>Word 2010 Introduction - Self-paced</title>
        <description>Explore the basics of Microsoft Word to produce professional letters and
documents. This course guides you through the effective use of the Word
Ribbon and Quick Access Toolbar. You&#x2019;ll learn how to efficiently edit,
move and copy text; manipulate fonts; apply bullets and numbering; borders
and shading; insert and re-size Clip Art; enter headers and footers; insert
page numbers; set alignment and indents; and change page settings. You&#x2019;ll
learn to use the AutoCorrect feature and finish documents using the
spelling, thesaurus and grammar features.
Self-paced, 18 hr course.
Prerequisite recommended: Computer Basics or equivalent experience.</description>
        <schedule_entries>
          <entry>
            <date>Mon 7:30 - 9 pm, Oct 7</date>
            <date>Thu 7:30 - 9 pm, Dec 5</date>
          </entry>
        </schedule_entries>
      </course>
      <course>
AND SO ON...FOR 64 PAGES WORTH OF CONTENT
HELP!!!
SGAREN

Hello Sally,
First, I have only heard/read good things about the book Steve recommends. It is on my to buy list one day. Been awaiting a long deserved vaction to pick it up to read.
I approach XML files pretty much like I do any text file I am sent in that I will import or copy/paste a text file into a frame in ID and begin setting my styles. With XML, though, I first clean it up, move closing tags up to their logical close lines, remove spurious codes that mean something in HTML but don't necessarily belong in the XML file (like &#x2019 which is an apostrophe so I do a search and replace. But for &#xA0; which is a non-breaking space I simply search and replace with a regular space in general), and make sure the XML validates.
Validation is much like making sure an HTML page is formed properly. I use an XML editor (XML BluePrint) and a text editor (UltraEdit) for these tasks. If I had to only have one or the other, I suppose the XML editor is what I would use.
I always show the import options when I import the XML and make sure that I link to the file.
So once a sample of the XML is on a page in ID (via File | Import XML), I highlight text within a tag, say like in your example above, the Providor name, and make it like I want and then create a new style. I generally name the styles as per the XML tag. Later on, that makes mapping tags to styles a little easier.
Once I set up all the styles preliminarily, I map the tags to styles. You can do that either via the Tags palette or via the Structure Pane that will appear once the XML is imported. In both cases, it is found via the flyout menu at the top right of their respective windows.
After mapping my styles to the tags, I select the root element in the Structure Pane (the topmost element. In your sample above it is "providors" and delete it. This removes the XML in your ID file. But the styles and tags are still present.
Then I import the XML again and look to makes sure all the tags/elements are styled as intended. I then correct any errors/ommissions. Then...I'll delete the XML again and import the full XML file.
I can upload what I did with your XML sample above so you can compare it to your source file if you would like. You would then see how/where I moved tags. Now, moving the tags is only "necessary" to avoid all the extra blank paragraphs. That can be accomplished by ID's search/replace, too. But I like to start out with the XML cleaned up, so I take the few minutes to do it.
Take care, Mike

Similar Messages

  • How to import .docx files into InDesign

    How to import .docx into InDesign page layout

    File > Place.
    For detailed explanation and techniques: An overview of placing (importing) Word files into InDesign from the Course Using Word and InDesign Together

  • How to Import XML file into SAP B1

    Dear All,
    I have a scenario like,
    I am receiving a XML file from a 3rd party application for the daily Creation,Update of Item Master,BP Master, Marketing Documents. I want to import this file into SAP B1 through its approp objects. I understand DTW has limitation in its file types (Semicolo,Tab,Comma,ODBC). How do i do this ? Please guide me.
    Thanks,
    Thanga Raj K

    Hy folks,
    I´m frim Brasil and I've been studying the tool EFM (Eletronic File Manager) to learn more about it!
    There I saw that we can extract to XML "any" infomation from the database we want, mainly through the GEP.
    However, as I've seen, this Add-On can not import any XML file into SBO, unless for the BFP wich can be imported in conjunction with the BTHF Add-on.
    So I ask: how is it possible to import XML data into SBO database? Is it possible to be done through the EFM? or  it´s really necessary to write a code specifically to do that?
    Besides, I know that de B1iSN fit to this necessity... but when I tried to use it, by the custom "object" for BP, for example, there are some data wich the mapping conteined in this custom "process" that can not be imported... I tried to understand how to map those other fields not imported by the custom but this has been dificult to me as I am a implementation consultant focused in administrative process not on development...
    Could you please help me with this subject!
    Thanks a lot,
    Denis

  • How to Import Illustrator files into Indesign

    I need to import my illustrator work in Indesign. However, i don't want to edit my vectors in Indesign. I just want them there so I can export them .swf with a page turn option

    File>Place will work fine. InDesign can place native AI files as links.

  • I need to know how to break my page into two pages so i can send it

    I need to know how to break my page into two pages so i can send it

    Hi,
    You can add new form fields via the add item bar.  For example if you want them to fill in their name, you'd add perhaps 2 text fields, one for first name, one for last name.  Text field is the first icon on the add item bar.  Each field allows you to specify a custom label, you can click it to edit the label.  Are you seeing the add item bar?
    Once you've added all your form fields, you can test your form by clicking the "Test" tab, and then clicking the "Test Web Form" button.  That will open a browser to your form, that you can test filling it out.  When you've filled it out, you click the submit button.  The response will be saved to our service.  You can view the submissions, by going to the "View Responses" tab.
    Once you've finished testing your form, and want to distribute to your users, go to the "Distribute" tab, click the "Open" button. This will make sure your form is open and accepting repsonses.  Then copy the URL by clicking the "Copy Link" button.  You can then email that URL to your users, so they can fill in your form.
    Does this help?
    Thanks,
    Todd

  • I started my iTunes account on my Dell Desktop years ago and want to know how to import my files onto my new MacBook Pro?

    I started my iTunes account on my Dell Desktop years ago and want to know how to import my files onto my new MacBook Pro?

    It should be in Favorites.
    If not, click on the desktop then go to Finder menu > Preferences > Sidebar and tick Music.
    Your Music folder is in Macintosh HD > Users > Your username.

  • My hard drive is DEAD.I have to reinstall all my Adobe programms and I need to know exactly the correct process to do ( Indesign CS6-Photoshop CS6 - Photoshop CS5 -Illustrator CS6 - Ligntroom 4 )....

    My hard drive is DEAD.I have to reinstall all my Adobe programms and I need to know exactly the correct process to do ( Indesign CS6-Photoshop CS6 - Photoshop CS5 -Illustrator CS6 - Ligntroom 4 )....
    is any friendly tutorial available ?
    Thank you
    Albert

    If you didn't have the opportunity to deactivate the installations then you should contact Adobe Support thru chat and ask them to reset your activations for all the serial numbers involved.
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Make sure you are logged in to the Adobe site, have cookies enabled, clear your cookie cache.  If it continues to fail try using a different browser.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )
    Then you just reinstall the programs and activate using the same serial numbers.  If you need to download you can find download available thru the following links...
    CS5 - http://helpx.adobe.com/creative-suite/kb/cs5-product-downloads.html
    CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Lightroom - all versions
    Windows
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Windows
    Mac
    http://www.adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh
    You might also find the following helpful...
    Download and Installation Help -
    https://helpx.adobe.com/download-install.html

  • How to import .pdf files into iBooks?

    How to import .pdf files into iBooks?

    Or send the file from your computer to your ipod by emailing yourself the pdf. Then if you open the Mail client and you open the pdf there is an option to select open in ibooks. It will save it to your device for remote viewing.

  • Hi, I am user iPad and I do not know how can attach a file into email e.g. CV.  Thanks

    Hi,
    I am user iPad and I do not know how can attach a file into email e.g. CV. 
    Thanks

    You attach files within the app that creates the file or within the app that the file is saved. For example you email photos from within  the Photos App itself. Typically there will be an action icon within the app - an arrow icon many times - you tap on that to bring other options like Share - then Email.
    Attachments must be mailed within the apps themselves.

  • Import XML file into rpd file

    Hi Gurus,
    it seems to be very easy to import XML files into repos, but I could find suitable driver in my ODBC Data Source Administrator.
    Could You help me?
    Many thanks in advance!
    Regards
    Laszlo

    you can't see view Data option for all types of sources... it depends on call interface and source you are using..
    go and check the xml files and open them physically .. you'll see the data..

  • Can no longer import Word files into InDesign

    Hello,
    For many months I have been importing Word files into InDesign CS3 (Mac OSX 10.4.11) with no trouble, but I started having a problem yesterday.
    When importing a 17-page Word file with 16 footnotes, I got none of the text and only the footnote numbers. This is what I get in InDesign:
    12345678910111213141516
    (Endnotes)
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    These are the things I've tried already: restarting, deleting preferences, changing the import options, using CS2, importing someone else's Word file, importing a Word file that I imported successfully a couple of months ago. None of this works.
    It has been suggested that I save the Word file as rtf, but since I have 200 files to import and I'm using Word's character styles for italics, bold, small caps, etc., I'd rather try to fix this problem.
    Can someone help?
    Thanks,
    Tina

    I am using indesign CS2 and i'm trying to import a Word document into a new chapter for a book i'm laying out. it's about 30 pages, but there are at least 80 foot notes. i'm able to get about 1/2 of the document with the footnotes to flow correctly, then EVERYTHING disappears. the only way i've been able to get the remaining text to appear is by adding characters to the text. i'll hit "vvvvvvvvvvvv" a bunch of times and "magically" a little chunk of text and it's footnotes appears. then the ole disappearing act happens. so i do it again. i'm able to get all the text to appear finally, but when i delete the "vvvvvvvvvv" from the places i inserted them, the text disappears again. i have no idea why this is happening or how to fix it. any ideas?
    thanks so much,
    travis

  • I have a copy of my profile from a crashed harddrive need to know how to put bookmarks back into new harddrive

    ''locking - duplicate - https://support.mozilla.com/en-US/questions/782357''
    my old laptop crashed and a copy of the profile from firefox was copied from the crashed hard drive. I need to know how to retrieve my bookmarks from this profile file.

    Hopefully he didn't copy the Firefox program folder, but the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] in the hidden %AppData% location.
    See:
    * [[Recovering important data from an old profile]]

  • How to import .mpg files into FCE ?

    I have succesfully installed the MPEG StreamClip & flip4mac into my iMac. So now I can both play wmv files on my iMac as well as importing wmv files into iMovie & FCE.
    But now I have another problem:
    1) How do I play mpg files on my iMac ?
    2) How do I bring import mpg files into FCE ?
    Thank you.

    R. Mitchell Fore wrote:
    QTPro gives you many more capabilities than the free player, but I don't think you need it to do anything you've described. You DO need the MPEG-2 Playback component. I'd start there, then see if you need any of the options provided by QTPro.
    Hi there,
    I have purchased the MPEG-2 Playback component from the Apple Store.
    I can now convert the mpg files to mov using the MPEG StreamClip.
    However, I cannot playback the original mpg files using QuickTime Player. I can only playback the original mpg files if I click on the mpg file then goto more info & change open with MPEG StreamClip.
    But how do I open with QuickTime MPEG-2 playback ? I do not even know where the OS installed the MPEG-2 Playback component to ?
    Thanks

  • How to upload XML file into the internal table in Webdynpro  ABAP ?

    Hi Friends,
    I am not able to upload the XML file into ABAP,can you please help me in solving this issue with the help of source code.
    Regards
    Dinesh

    Hi Dinesh,
    Try go through this program which I had developed earlier. It takes as input an XML file and then breaks it down into name-value pairs of an intrnal table. You need to pass an XML file as input to this program. (I had hard coded the path for my XML file in it. You need to replace it with 1 of your own or you can just delete it and use the browse button to selet the file on your PC)
    Regards,
    Uday
    REPORT  ZUDAY_XML no standard page heading.
    " Internal table to store the XML file in binary mode
    data: begin of it_xml occurs 1,
            c(255) type x,
          end of it_xml,
    " Name-value pairs table rturned by FM SMUM_XML_PARSE
          it_SMUM_XMLTB type SMUM_XMLTB occurs 0 with header line,
    " Table returned by FM SMUM_XML_PARSE for error handling
          it_bapiret2 type bapiret2 occurs 0 with header line.
    " XSTRING variable to be used by FM SCMS_BINARY_TO_XSTRING to hold the XML file in XSTRING format
    data: I_xstring type xstring, 
    " String variable to hold XML file path to pass to GUI_UPLOAD
          I_file_path type string,
    " Variable to store the size of the uploaded binary XML file
          I_LENGTH TYPE I VALUE 0.
    parameters: P_path type IBIPPARMS-PATH default 'C:\Documents and Settings\c5104398\Desktop\flights.xml'.
    " Get the XML file path from the user
    at selection-screen on value-request for P_path.
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          FILE_NAME = P_PATH.

  • How to import Dropbox files into iPhoto?

    I have more than 1000 JPEG files in 3 different subfolders under the DropBox Pictures folder. I want to use them in some apps that only work with photos on the camera roll. I can find all kinds of advice on how to get individual files into the camera roll but I haven't found any on how to do multiple files in a batch. I'm assuming I need to go through iPhoto. I'm not very familiar with it because I seldom use the camera. I work mainly with JPEG files from external sources. I'm running IOS 7.1.1 on an iPad Air. I'd appreciate any suggestions. Thanks!

    I don't know whether to be more irritated with Apple for not providing a batch mechanism or with the app developers for restricting their input to the camera roll (unless that's an Apple requirement).
    The lack of a batch mechanism is annoying, but the restriction to the Camera Roll is built deep into the saftety restriction for IOS devices. Apps are restricted to their "Sandbox", and the Camera Roll is the central sharing place for photos on iOS devices. There is no way to circumvent this.
    Maybe, your problem to get the photos into the Camera Roll is due to using Dropbox and not one of Apple's own provided tools to transfer the photos,  see the list of possibilities to transfer photos between devices. For example, Photo Stream would save the photos automatically to the Camera Roll. Or use iTunes Photos sync.
    http://help.apple.com/iphoto/iphone/2.0/?handbuch#blnka7d353af
    Once you can make iPhoto see the photos in an album, you can batch-save them to to camera roll: (http://help.apple.com/iphoto/iphone/2.0/?handbuch#blnkee26bc1f)
    Save photos to the Camera Roll on your iOS device
    Tap a photo, album, or event and tap the share button > Camera Roll.
    Tap Selected, or change the photos you want to save:
    Select different photos: Tap Choose Photos, tap up to 100 photos, and tap Next.
    Select a range of photos: Tap Choose Photos, tap Range, tap the first and last photos in the range, and tap Next.
    Select all the photos in an album or event: Tap All.
    Tap Done.
    To use your photo in another app, open the app and select the Camera Roll album.

Maybe you are looking for

  • My story on Forgot Mail and Password

    Hi, for two weeks now i havent got into my account for some reason (I think it has been hacked or ive lost my password. i only have one password so i dont get how) so i though that i would try to reset it like any other site.  I try to reset it and i

  • Import and Export CSV Through XML File in Oracle

    Hi Gurus, I am sorry , I had deleted this post. Thanks Edited by: user10679113 on Feb 5, 2009 6:13 AM

  • Final cut express 3.5 vs final cut express 4.0

    im thinking of getting FCE. but i was wondering since people say how FCE 4 cut soundtrack and some effects in livetype that FCE 3.5 is better then 4.0. is there enough FX and plug-ins for FCE 4 that makes up for it?. and is garage band better then so

  • Error: Creative Cloud desktop failed to update.(Error code: 2) Contact Customer Support

    I can't seem to contact customer support. I'm sent in circles on the web site. What do I need to do to update creative cloud?@

  • User Manual Will Not Load

    I cannot get the user manual pdf to download. I just get the happy spinning wheel. Has anyone else had this problem? I've tried to access it from several available links. I suspect it may be a Safari problem, but am not sure. Thanks.