Import xml keyword list

Hello,
We use lightroom to edit our pictures (about 25.000 pictures a week)
We have a deep archiving system which uses a thesaurus (controlled vocabulary list if you like)
That deep archiving system picks up the embeded metadata we enter in lightroom.
For the keywords however, we need lightroom to be able to import an .xml file provided by that professional deep archiving system on a regular basis (weekly ?)
There is a plugin available here http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=3022034 but it does not seem to work .
I tried contacting the author but I got no response.
Could anybody help ?
Thanks
Eve

I've no idea about the plug-in and won't comment on it.
LR normally expects a text file in a particular format. To see the format, add some keywords manually in LR and then export them as a text file (Metadata > Export Keywords) which you can open in Notepad./TextEdit. Can your archiving system generate a text file in that format? Maybe by applying an XSLT to the XML?
Alternatively, can the archving system apply the thesaurus to a dummy image? You then import the picture into LR, which brings in the keywords too. This will work well for adding new keywords, less so for updating - so if there's a spelling change you may find you have both the "new" correct keyword and the misspelt version in LR.

Similar Messages

  • Export and Import a Keyword List

    Yesterday I exported the keyword list and then acted on the suggestion from LightroomSecrets site to 'organize' while it is in text format. This went very well using a text editor.
    The IMPORT doesn't overwrite the existing list. It merges INTO the list.
    So now I'm still scrolling up and down collecting the keywords that are stand alone to undo and then put a checkmark beside the subkey in a category. I would have been wiser to have reorganized a few and repeated the export,import <grin>
    If keywording is promoted as such an important feature and a main item for management in Lightroom then, it would seem to me that the 'LIST' itself could have been designed in a more efficient manner...Such as : a right click menu...or a browse and choice to move to...
    I suppose the architects of this list assumed users would have their keywording planned out ahead of time. Never assume <grin> I've only now (V1 to V3.4.1) got my head around the category concept so much reorganization required. Scroll up and down and zoom past the category wanted....not an exercise I can stay with for long periods of time <LOL!>
    Rose

    gtigan
    Keywords are kept in the main database file and when you create a new library, you create a new database.
    The only way I can think of to what you want is to select a single pic and give it ALL the keywords, then use iPhoto Library Manager to move that pic from the old library to the new one. iplm is the only way to move pics and metadata between libraries while using v6. (hmm, another reason to upgrade.)
    And, as I mentioned in my other post, if you're a "keyword fanatic" then check out Keyword Manager
    Regards
    TD

  • How can I copy keyword list to a new library

    I'm a keyword fanatic. Keywords are my most favorite feature of the product. It's the reason I use iPhoto in the first place. I recently created a new iPhoto v6 library and can see that the keyword list did not get migrated. Is there a way to do this? Can I export and import the keyword list? Thanks.

    gtigan
    Keywords are kept in the main database file and when you create a new library, you create a new database.
    The only way I can think of to what you want is to select a single pic and give it ALL the keywords, then use iPhoto Library Manager to move that pic from the old library to the new one. iplm is the only way to move pics and metadata between libraries while using v6. (hmm, another reason to upgrade.)
    And, as I mentioned in my other post, if you're a "keyword fanatic" then check out Keyword Manager
    Regards
    TD

  • How to revise keyword list new hierarchy

    My present keyword list is just a list of words with no hierarchy. After exporting as a text file, it was noted that many single words have the brackets around them, e.g. [cat] rather than just plain cat.  How did this happen? Can I delete my present list and import a "clean" list? How can I create a hierarchy with my present list?  Reference to a tutorial or manual would be great. Thanks.

    If you have a list of words with no hierarchy, such as the one below:
    geography
    Europe
    Italy
    Campagnia
    Mount Vesuvius
    Naples
    Pompeii
    and if you export the keyword list to a file, and edit the hierarchy as follows:
    geography
        Europe
            Italy
                Campagnia
                    Mount Vesuvius
                    Naples
                    Pompeii
    everything would be fine if you did not have any photos associated to these keywords to begin with, but if all of the keywords in the flat list of keywords were already associated to photos, then after importing the keyword list, the keywords in Lightroom would appear as follows:
    geography
    geography
         Europe
             Italy
                 Campagnia
                     Mount Vesuvius
                     Naples
                     Pompeii
    Europe
    Italy
    Campagnia
    Mount Vesuvius
    Naples
    Pompeii
    That's because Lightroom stores the full path of a keyword hierarchy when that keyword is associated to a photo.
    Based on the above hierarchy, the keyword "Pompeii" can be associated to a photo in the following ways:
    Pompeii > Campagnia > Italy > Europe > geography
    or
    Pompeii
    So if you already had photos that had the keyword "Pompeii" associated from the flat list of words, this keyword is different from the keyword "Pompeii > Campagnia > Italy > Europe > geography" and there would not be any photos associated to this last one.
    All this said, if a hierarchy is to be changed, it is best to do so within Lightroom itself, by drag and drop, and not by doing an export/import of the keyword list.
    Also note that when considering keyword hierarchies, it is best to only assign the keyword that is at the bottom of the hiearchy to your photos, as the ones above will automatically be inherited.
    As for the brackets around keywords when you export a keyword list, they mean the following:
    The square bracket [ ] around a keyword means that the "Include on Export" is not checked in the Keyword Tag options of the keyword; this keyword will not be included in the export of photos that have this keyword associated to them. The other special character used is curly brackets { } which define synonyms of a keyword. A hierarchy is simply defined by adding a tab for each level of the hierarchy.
    Here's an example:
    [geography]          - this keyword will not be included in exported photos (its purpose is just to organize the hierarchy)
        Europe
            Italy
                Campagnia
                    Mount Vesuvius
                    Naples
                    Pompeii
    sport                    - while this keyword is also for organization of the hierarchy,
                                  it has more value and I decided that it should export with photos
        running
            3km
            5km
            first race
            half marathon
        soccer
            {football}          - this is a synonym for the word soccer
    So the square brackets [ ] have nothing to do with the hierarchy; it simply indicates wether you want that keyword to be exportable or not.
    Finally, a good use of the export/import keyword list is to add or remove these brackets, add synonyms to existing keywords, or add new keywords to the hierarchy, but NOT change an existing hierarchy or create one based on existing keywords.
    Hope this helps!

  • I can't import keyword list into Aperture

    I want to import a big keyword list from last years photo library into this years, but when I export the keyword list from my 2012 library it's greyed out and won't import into my 2013 library. The Aperture help says it should work just fine, any tips on what I / Aperture / Apple are doing wrong here greatly appreciated: I have a big family keyword list which I don't want to have to recreate from scratch!
    Thanks all, James

       You are welcome, James! Thanks for the virtual flowers and chocolate! 
    Very pretty!
    Léonie

  • Import customs code list I0136 - how to get .xml file

    The code list I0136 from ATLAS is in format .tsv.
    It's possible to import the code list in transaction /SAPSLL/CUSCS_VMAINT, but you have to have a .xml file.
    Does anyone know where to get the customs code list I0136 in .xml or to convert .tsv into .xml without a special program?

    Hi Renate,
    where do you get this file in .tsv format from?
    I guess from a data provider?
    First thing I would do is to ask the data provider to send the file in another GTS compatible format.
    If you have no influence on the file format which is beeing delivered to you I would just convert those files.
    Easiest tool to convert those files with might be Excel since almost everyone is using it.
    You can import the .tsv into excel and save it as a .xml file afterwards.
    If you have trouble importing the file just check google (open .tsv Excel).
    You might have to tune several options during the import process but once you know the steps it should be easy for you to handle.
    Best Regards
    Gregor

  • Importing keyword list from Photoshop CS1 is possible

    Amongst all this gloom on a more positive note I thought people might be interested to know that I have successfully managed to import my long keywords list from Photoshop CS1 into the keywords hud. It is fiddly and I'm sure there must be a more graceful way of doing it but I got there in the end.
    There are two buttons bottom right of the keyword hud - import and export - for which I have found no documentation in the manual however I tried export and it exported the keyword list as a text document. If you find your Photoshop CS keyword pref file which is by default kept in : user name / library / preferences / Adobe Photoshop CS settings / Keywords.psp, you can open it with text edit. You then have to fiddle around with the formatting which I did by copying it into a word processing app and using find and replace so that I ended up with a tabbed list which followed the same format as the exported aperture text list. I then pasted it into the aperture list and after a bit more fiddling around was then able to use the import button on the hud to bring in my entire list as it appeared in Filebrowser.
    Fingers crossed!
    Best wishes
    Jonathan
    Imac G5/ Dual 2 Ghz Power PC G5   Mac OS X (10.4.3)  

    See here: http://help.adobe.com/en_US/lightroom/using/WSB0DEA22C-D718-44b8-A367-C7D78DBC0096.html

  • Import keywords from a word keywords list

    I have a keywords list in a word doc from my agency, is it somehow possible to import the whole list ( not word by word) to bridge?
    thanks
    a.

    Fortunately Yes !
    Unfortunately, the NI report tools have not been developped to retrieve data from existing documents.
    So you'll have to develop your own tools, using ActiveX properties and methods if you have to work with not-so-simple documents.
    Just to help you start something, here is a simple way to read some text from a .doc file.
    Message Edité par chilly charly le 01-09-2009 04:56 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Get Text from Word doc_BD.png ‏8 KB
    Get Text from Word doc.vi.zip ‏8 KB

  • PowerShell code not working import XML to SharePoint list

     
    All hi, I don't understand why doesn't work? XML file from here -
    http://www.cbr.ru/scripts/XML_daily.asp?date_req=23/01/2015
    if(!(Get-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction:SilentlyContinue))
    Add-PSSnapin Microsoft.SharePoint.Powershell
    #Set these two variables accordingly
    $WebURL = “http://sharepoint/Test”
    $ListName = "Test"
    $XMLFilePath = "C:\Test\XML\XML_daily_asp.xml"
    #Get the Web
    $web = Get-SPWeb $WebURL
    #Get the List
    $ProjectList = $web.Lists[$ListName]
    #import xml file
    $ProjectXmlFile = Get-Content $XMLFilePath
    foreach ($XMLProject in $ProjectXmlFile)
    $NewProject = $ProjectList.Items.Add()
    $NewProject["Title"] = $XMLProject.Value
    $NewProject["NumCode"] = $XMLProject.NumCode
    $NewProject["CharCode"] = $XMLProject.CharCode
    $NewProject["Nominal"] = $XMLProject.Nominal
    $NewProject["Name"] = $XMLProject.Name
    $NewProject["Value"] = $XMLProject.Value
    $NewProject.Update()
    Write-Host "Has been Added to External Projects list!"

    I understood, my error was that it is necessary to add (.ValCurs.Valute) to $ProjectXmlFile.ValCurs.Valute, and also surely to specify an ID (i.e. Valute ID)
    This' working code:
    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $WebURL = "http://sharepoint/Test"
    $ListName = "Test"
    $XMLFilePath = "C:\Test\XML_daily_asp.xml"
    $web = Get-SPWeb $WebURL
    #Get the List
    $ProjectList = $web.Lists[$ListName]
    #import xml file
    [xml]$ProjectXmlFile = Get-Content $XMLFilePath
    foreach ($XMLProject in $ProjectXmlFile.ValCurs.Valute)
    $NewProject = $ProjectList.Items.Add()
    $NewProject["Title"] = $XMLProject.id
    $NewProject["NumCode"] = $XMLProject.NumCode
    #Set the People Picker Field
    $NewProject["CharCode"] = $XMLProject.CharCode
    $NewProject["Nominal"] = $XMLProject.Nominal
    $NewProject["Name"] = $XMLProject.Name
    $NewProject["Value"] = $XMLProject.Value
    $NewProject.Update()
    Write-Host "Project $($XMLProject.id) has been Added to External Projects list!"

  • How do I import Bridge keywords and metadata to CS6 from CS4 so that I don't lose them if CS4 is not

    I have hundreds of keywords and metadata including Ratings and Labels using CS4 and Bridge CS4.
    It is time to replace my PPC Mac with a new Intel Mac.
    I am going to install CS6 on the new Intel Mac without installing CS4.
    By default.... this eliminates ALL keywords and ratings and labels from my Bridge browser. The keywords will still be present on the files but Not present in Bridge keywords list and all ratings and labels will be lost.
    Making a copy of Bridge CS4 metadata to another computer is quite simple.
    Simply copy All of the Bridge CS4 application support folder to the other computer.
    The question then becomes.... can I aslo do this with CS6 without introducing an incompatibility?
    1. incompatible due to CS6 application support.
    2. incompatible due to transfer from a PPC (APM) to Intel (GUID).
    This concern results from an Bridge CS4 export problem I experienced.
    Bridge CS4 will export all of your keywords and you can import them from a text file but it has some odd troubles. (try it and you will see)
    This does Not mean that CS6 has the same troubles.
    What do I require to preserve existing metedata and keywords that exist on a PPC using CS4 and import them into CS6 using Intel?
    Sound simple?
    I doubt it.
    The points are.
    1. CS4 not installed.
    2. CS4 source is PPC not Intel.
    3. Ratings and Labels are metadata that Are Not part of the file metadata and unique to Bridge only.
    4. Keyword Search and keyword Use requires that Bridge have keyword list, otherwise Finder is the far more useful browser and the new version of Bridge will require hours of keyword listing.
    I don't want to spends hours retyping keywords lists in Bridge.

    Ratings are NOT placed into the file under CS4 Bridge and neither are
    Labels.
    That depends on your file type and settings voor Camera Raw.
    Like Curt stated usually metadata is written in to the file itself. Only Raw files can't be written to and by default they create a XMP file, also called Sidecar XMP files (and do have the same filename, only a different extension called .xmp). These files are also by default hidden in Bridge but If you use Bridge to move files they travel along with the original.
    If you move or copy them using finder you have to be sure these XMP files are also copied with the originals to the new location.
    Using the menu View / show hidden files should reveal the XMP files.
    An other option for the Camera Raw prefs is to set metadata to the Camera Raw database instead of written to sidecar XMP files ( to my knowledge using sidecar files has been the default since about CS3).
    Now here it becomes a bit tricky and I only can tell you my findings, not to be confused with true facts. (and mind you, it is at least 5 years ago I was on a PPC and not even remember which OSX 10 was able to work on it, I just present the acting of CS6 on an intel Mac Pro with OSX 10.7, but I don't believe the difference in location is that much)
    Having written the Metadata to the Camera Raw Database your image settings get written to a file in the user library preferences folder called logically "Adobe Camera Raw Database". But also some info gets added to the Camera Raw Cache folder (User library / Caches/ Adobe Camera Raw) in a file called index.dat.
    Also not having set metadata to xmp sidecars stores the ACR settings in a new .dat file with a unique number (not to be traced as a corresponding filename. And also the default maximum is set to 1 GB of space and when full the oldest files are overwritten with the new ones.
    Personally I use converted DNG files that are capable of writing metadata to so all info and settings are in the file itself and I don't need to bother about central storage that can get lost. The downside is that changes to a DNG need to save the whole file instead of a small xmp file and probably reading cache takes more time then getting info from central storage but I like to be on the safe side and speed is not really needed to be nailed down to split seconds in my workflow.
    Keywords are stored as a file in the Bridge preferences but Like Curt already stated exporting the old list first and then via the same route import again to CS6 should solve your problem and they will be back as persistent, otherwise the files in the content window show as italic and sadly enough have to be made persistent one by one with right click mouse menu, so that is not really an option for you.
    Exporting the list does create a text file that can also be altered manually with a simple text app and as said, again be imported in newer versions as Curt described earlier.
    Making a copy of Bridge CS4 metadata to another computer is quite simple.
    Simply copy All of the Bridge CS4 application support folder to the other computer.
    Well, in fact it is true to call copying this folders a simple task but replacing the existing new CS6 would not be my method. The biggest change for Bridge CS6 was the transition to 64 bit and I lack the knowledge for this but also cache format for thumbs and previews has been different for every version.
    But if you have located the CS4 folder for Bridge in your PPC user library / application support / Adobe / Bridge CS4 you should find a file called 'Adobe Bridge Keywords.xml' and it is fairly safe to replace this CS4 version with the new CS6 version.
    Also custom settings for the output module can be copied (however to my memory the option for custom settings in Output where introduced in CS5) and collections can be copied.
    So for your keywords the copy option might work, rating and labeling for Raw files they will be read in CS6 if they are stored as XMP. ACR settings idem but CS6 ACR has a new (2012) conversion mode that has different settings that do not work with previous settings (unless you first choose to use the 2010 conversion as default Raw setting.
    If it is in the Central Data Base I would start trying to replace the CS4 with the CS6 edition (after back up of existing CS6 version) and see what happens. If it works your out of trouble.
    You can also open the Camera raw Database as a text file but there is a lot of data in. Maybe scripting would be able to reveal those data and transfer to XMP but you have to visit the dedicated Scripting forum for this.
    And while you state to have not installed CS4 anymore it might be wise to reinstall it (but first make a proper back up of the previous mentioned folders and files to be on the save side.
    This gives you the opportunity to export keywords properly and if needed you can use Show Items from subfolders option with filter and set preferences to XMP sidecar to refresh the rating and labels to those XMP files. Just an escape route that might not be as painstakingly as it looks at first sight, just use the options for Bridge to filter.

  • Problems with Importing / Exporting Keywords and Meta Datas

    Hi to all!
    I recently upgraded to Aperture 3 and upgraded my referenced library.
    Today I opened the Keyword HUD and noticed some keywords splattered in my list, which seem to be any older ones, since the new numbering indicated that they are not applied to any pictures.
    So I deleted them.
    Than I noticed the <Imported Keywords> folder, opened it, and it contained also a large number of previous keywords. Also they seemed not to be in use, so I also removed them.
    Than I locked the Keyword HUD.
    Now my question: If I export a version, with the option for 'include metadata' ticked, and edit the version than in Photoshop, and after it, import it back into the Aperture library I do have the problem.
    I have tried 'Import Meta Datas' and and click 'Append'. Than it is recognizing the former keywords, which I would appreciate, but not as 'Imported Keywords'.
    If I would open the file w/ the External Editor and return it back, I guess I would not have this problem. Usually I do open the referenced RAW file, and import than the edited version back into Aperture. Keywords are stored in the Library, so I would not avail the former given keywords than, is that right?
    By the way are the keywords part of Meta Datas or not?
    Are there any workarounds?
    And had other people also problems with their keyword list after upgrading?
    Thank for any ideas / infos!
    Michael

    Added header to CSV and to Code
    $ImportFile = Import-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv" -Header Computer
    foreach ($Computer in $ImportFile){
    $path = "\\$Computer\c$\Epic\bin\7.9.2\Epic Print Service"
    $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullService//Cleanup | Select -ExpandProperty Node
    if ($xml.ArchiveHours -eq '12' -and $xml.DeleteHours -eq '120') {
    $Compliance = $True
    }Else{
    $Compliance = $False
    } "$Computer","$Compliance" | Export-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Results.csv"
    Results:
    select-xml : Cannot find path '\\@{Computer=SW1412-16985}\c$\Epic\bin\7.9.2\Epic Print Service\EpicPullService.config.xml' because it does not exist.
    At C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Check_PullServiceXML.ps1:4 char:8
    + $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (\\@{Computer=SW...vice.config.xml:String) [Select-Xml], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SelectXmlCommand
    If it is not a CSV file then just get it with Get-Content
    Get-Content C:\Users\UserName\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv |
        ForEach-Object{
            $computer=$_
            $path ="\\$computer\c$\Epic\bin\7.9.2\Epic Print Service\\EpicPullService.config.xml"
    ¯\_(ツ)_/¯

  • Can I create "keyword list" from keywords in EXIF data?

    Hi - I'm still a Mac and Aperture noob, so please excuse me if the question is dumb or ill-formed...
    I used to use Photoshop Elements on a PC. I made pretty extensive use of "tags" (keywords, in Aperture lingo) for categorizing my photos. I wrote all the tags into the exif data of my photos, then copied everything over to Aperture.
    Now, when I pull up an existing photo in Aperture browser, I can see the keywords that I already added. Great...but, is there a way to extract all the existing keywords from all my photos, and build a "library" of keywords that I can pick and choose from for tagging future photos?
    Alternatively - if I could export a keyword list from Photoshop Elements (in txt or XML format, whatever) is there a way that I can import that into Aperture?
    From the reading I've done so far, it seems like I have to manually enter keywords on each photo or do a batch update (and, again, manually enter them). I'd much prefer to have a list of keywords that I can scroll down, then just click to select. Is that asking too much of Aperture?

    jtj3 wrote:
    Hi - I'm still a Mac and Aperture noob, so please excuse me if the question is dumb or ill-formed...
    Welcome to the list and Mac's. Don't woory about your questions, veteran Mac and Aperture users here frequently post dumb and ill-formed questions.
    I used to use Photoshop Elements on a PC. I made pretty extensive use of "tags" (keywords, in Aperture lingo) for categorizing my photos. I wrote all the tags into the exif data of my photos, then copied everything over to Aperture.
    Now, when I pull up an existing photo in Aperture browser, I can see the keywords that I already added. Great...but, is there a way to extract all the existing keywords from all my photos, and build a "library" of keywords that I can pick and choose from for tagging future photos?
    I tried what you described to see what would happen. I opened an image in Preview and added a keyword to it (one I was sure wasn't in my Aperture) saved the file and imported into Aperture. The new keyword was bot in the EXIF data field of the image and in Apertures keyword list.
    Are you familiar with the *Keywords HUD* (*Window->Show Keyword HUD*)? If you look there do you see your keywords from your imported images?
    Alternatively - if I could export a keyword list from Photoshop Elements (in txt or XML format, whatever) is there a way that I can import that into Aperture?
    There is a way to import and export keywords see *+Exporting and Importing Keyword Lists+* in the +Aperture Users Manual+ (get to it by *Help->Aperture Help*)
    From the reading I've done so far, it seems like I have to manually enter keywords on each photo or do a batch update (and, again, manually enter them). I'd much prefer to have a list of keywords that I can scroll down, then just click to select. Is that asking too much of Aperture?
    Not at all, ask away (you may not always like the answer )

  • 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

  • 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

  • SSMS 2012: Import XML File to SQL Table - 'value' is not a recognized built-in function name!!??

    Hi all,
    I have the following xml file (books1.xml):
    <bookstore>
    <book>
    <BookID>1</BookID>
    <title>Everyday Italian</title>
    <author>Giada De Laurentiis</author>
    <year>2005</year>
    <price>30.00</price>
    </book>
    <book>
    <BookID>2<BookID>
    <title>Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
    </book>
    <book>
    <BookID>3<BookID>
    <title>XQuery Kick Start</title>
    <author>James McGovern</author>
    <year>2003</year>
    <price>49.99</price>
    </book>
    <book>
    <BookID>4<BookID>
    <title>Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
    </book>
    </bookstore>
    In my Microsoft SQL Server 2012 Management Studio, I executed the following SQL Query code:
    --XQuery w3schools example using books1.xml in C:\Temp folder
    ---SQL Query W3books Title
    ---9 March 2015
    USE XML_XQUERY
    GO
    CREATE TABLE W3Books(
    BookID INt Primary Key,
    Title VARCHAR(30));
    INSERT INTO W3Books (BookID, Title)
    SELECT x.book.query('BookID'), value('.', 'INT'),
    x.book.query('title'), value('.', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'C:\Temp\books1.xml',
    SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('W3Books/book') AS x(book);
    SELECT BookID, Title
    FROM W3Books;
    I got the following error messages:
    Msg 195, Level 15, State 10, Line 7
    'value' is not a recognized built-in function name.
    Msg 156, Level 15, State 1, Line 16
    Incorrect syntax near the keyword 'AS'.
    I don't know why I got the error of 'value' is not a recognized built-in function name. Please kindly help and tell me what is wrong in my code and how to correct the error.
    Thanks, Scott Chang
    P. S.
    (1) I mimicked the xml file and SQL Qeury code of Import XML File to SQL Table in
    http://pratchev.blogspot.com/2008/11/import-xml-file-to-sql-table.html. The xml file and the code of this sample worked in my SSMS 2012 program.
    (2) I am learning the "CAST" and "CROSS APPLY" in the Create Instances of XML Data of Microsoft MSDN - it is very abstract to me.

    Hi Stan210, Thanks for your nice response.
    I corrected my xml file as you pointed out.
    I made some changes in some code statements of my SQLQueryW3BookTitle.sql as you instructed:
    --XQuery w3schools example using books1.xml in C:\Temp folder
    ---SQL Query W3books Title
    ---10 March 2015
    USE XML_XQUERY
    GO
    CREATE TABLE W3Books(
    BookID INt Primary Key,
    Title VARCHAR(30));
    INSERT INTO W3Books (BookID, Title)
    SELECT x.book.value('/BookID[1]', 'INT'),
    x.book.value('/title[1]', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'C:\Temp\books1.xml',SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('bookstore/book') AS x(book);
    SELECT BookID, Title
    FROM W3Books;
    I executed my revised sql and I got the following Message and Results:
    Msg 515, Level 16, State 2, Line 6
    Cannot insert the value NULL into column 'BookID', table 'XML_XQUERY.dbo.W3Books'; column does not allow nulls. INSERT fails.
    The statement has been terminated.
    (0 row(s) affected)
    Results:
    BookID    Title
    I don't know why I just got the names of columns in Results and the "Cannot insert the value NULL into column 'BookID', table 'XML_XQUERY.dbo.W3Books'; column does not allow nulls, insert fails." in Messages.  Please kindly help, advise me
    how to correct the errors and respond again.
    Many Thanks again,
    Scott Chang

Maybe you are looking for

  • Error while doing E-filing of UK EOY

    Hi,      The issue is like this,while she doing E-filing she getting error at 7 th step the error is "    *personnel is skipped by the data base driver  reason 1: insufficient authorisation, no. skipped personnel no"*   Please help me as soon as poss

  • My PROs And CONs Opinion of This New Forum

    Hello, Since I've only been a member for a short time; my exposure has been limited; however, my opinions follow: PROs This forum has excellent support from "volunteer moderators" and Lenovo Staff. They are literally "all over the place" trying to as

  • ORA-00001 during import

    Hai all, 8i on windows server 2000 am importing a dump file like follows : imp userid=system/manager file=dumpfile.dmp log=dumplog.log full=Y ignore=Y constraints=N I've explicility set ignore=Y and constraints=N but still, import logs shows many err

  • Problems importing AVI with DV codec to Premiere Pro

    Problems importing AVI with DV codec to Premiere Pro  (720x564 px, 32 kHz stereo, 24.4 bitrate) I can't import that video. What can I do?

  • Error: ORA-01847: day of month must be between 1 and last day of month

    Hi, I am getting this ORA-01847: day of month must be between 1 and last day of month type of error but I have checked my data all are correct. I am inserting the data in the merge query. It is giving the above error. but when i insert the data like