No questions, just some ANSWERS about XML

I'm relatively new to InDesign and XML (though I've done HTML for many years, so XML at least looked familiar to me). I'm trying to automate production of an InDesign document, and ran into several pitfalls along the way. I'm sure there will be more. But I'd like to share my problems and solutions, for anyone else who may be experiencing the same thing(s).
1) I logically grouped elements using a Parent tag. For example, on the cover page, I have all elements within a "CoverPage" tag which does not reference a physical object. InDesign would not properly import the XML as long as I was using the Parent in this way. After talking it over with Adobe support, we discovered that it worked ONLY if "Clone Repeating Text Elements" is checked--even though I had NO repeating elements. Support said they would report this as a bug.
2) The documentation implies that to replace a linked image in an InDesign document, you use the form:
Maybe it's my HTML experience creeping in, but I assumed Image was a defined keyword that had to appear in the XML. In reality, the actual TAG NAME should take the place of the word "Image". For example, the tag name in my document is "CoverPhoto" and the image is a "c:/myphoto.jpg", so the proper syntax is:
3) I discovered the issue of #2 above, by taking the VERY GOOD suggestion from Support (thanks, Bryce!) of EXPORTING the existing document to XML and seeing how InDesign formats it. Note that it won't add line breaks, but you can still scan through it to see what it's doing. Also be aware that the only things that will export, are things that you have tagged.
4) I had an issue with imported photos not filling the frame as expected. The original images were fitted to the frames. This issue appears in another question in the Archives, without a suitable answer. The answer is surprisingly simple: instead of Right-clicking the image and choosing your Fitting options, which appears to be a "one-time" application, click the image and in the Object menu, go to Fitting > Frame Fitting Options and choose your fitting. This setting seems (so far at least) to "stick" even with imported XML content.
I hope this helps someone else out there avoid some of the frustrations that I went through. I have to admit, InDesign is amazing and sweet--but the documentation on XML needs to be a lot better.

i Sorry, can't find button 'Add Topic'. Have to write here. 8)
Need to build document with repeated items (companies, contacts, description). This info stored in DB and can be exported in XML the way I need. InDesign CS3.
Here is the details:
Each company has name and contacts (address, tel, fax, email and site, BUT some of them may be missed) and may have a description (but may NOT)
In my doc I want to see smth like that for each company:
a) paragraph with company name
b) all contact info in separated paragraphs
c) description paragraph
Trouble is that I get unnecessary line breaks in places where some contact info or description are missed.
Can anyone help? Sorry for my english 8)

Similar Messages

  • Can I please get some answers about fraudulent access to my itunes account?

    Today I found three unauthorized charges to my itunes account. Following those three charges, three other unauthorized charges appeared from other software/gaming companies (NCSoft, Valve Software, and TMA). I can't get an actual person to answer the phone at Apple and I would like some answers about unauthorized access to itunes accounts. When I called my bank to report the fraud, they told me they had already received several calls this morning about unauthorized itunes charges and then larger, unauthorized software charges.
    I would really like someone from Apple to address these questions, are they aware that there are problems with itunes accounts? If so, what is being done?

    I had the same EXACT thing happen to me. This morning I looked at my bank account & there was a $1 charge from itunes (not unusual, except this charge did not come with an email receipt as they usually do) there there are two $49.99 holds on my account from Valve Software. I cancelled my card with the bank right away. I tried calling Valve Software and a message comes on stating "if you have a question about a charge to your bank account, press 7". Happen much??? hmmmm I left a message with no return call as of yet. I'm guessing someone hacked my itunes account.. Valve Software is a video game website that sells downloads on there as well as through itunes. Apple should immediately cease dealings with this company as they sound VERY shady. This is not the first blog I've seen about it. Now it's going to take time to get my money back & now I have to get a new card/card number. Pain in the butt because some hacker needs a thrill. jerks...

  • Newbie to keynote; some questions and some observations about this group

    Hello, my attn was called to this group. I have seen some impressive presentations in keynote so maybe it is time to switch.
    From what?
    I do a lot of presentations. I use acrobat. Prepare my page in whatever app is best for the job; print to pdf; include fonts. By using the app of my choice I get just what I want in my slide.
    I can readily arrange slides in sorter in acrobat. Allows minimal animation, by, say, preparing the full slide, make copies, and delete progressively. sort to show from the least to the fullest; works for me.
    pdf allows touch up text and adding text, which I often think of at the last minute. Drawing an oval or line to point to something. For heavier editing open a slide in illustrator and save as pdf.
    So, as I say it works for me. Not glitzy. Certainly pretty easy to produce decent slides.
    Most everyone has acrobat on his/her machine, so if I take my presentation on a stick, it can work, nicely, cross platform. Very few occasions when that didnt work.
    So I would like to hear folks' experiences. Can you take your presentation on a stick and show it on someone else's computer?
    What about posting presentations. I generally put my pdf on my web page, giving the audience the url; seeems to work fine. Again I ask for experience.
    Seems like quite a learning curve for keynote. And I browsed about 4 pages of discussion on this board before posting. I saw mostly complaints and problems, and not all that many solutions. And very few raves.
    So, I would welcome some testimonials.
    PS I dont want to do anything so glitzy that folks will come up to me after the talk and say nice animations; better they talk to me about the substance of my talk.
    thanks in advance
    -trog

    Welcome to the forums, troglodyte.
    If you want a testimonial, I think that Keynote is hands-down the easiest to use presentation tool, and produces by far the best-looking results. It is far ahead of PowerPoint.
    Keynote produced beautiful results, even when converted to PDF, as it has very nice graphics features (e.g., drop shadows, masking, transparency). If you are most comfortable with PDF, and don't need animations or transitions, then Keynote still has a lot to offer. That said, much of the "wow-factor" of Keynote comes from its lovely and sophisticated transitions and animations.
    (These features needn't be just eye-candy, either, as they can serve to emphasize points and help unify certain material. For example, I use transitions that are more obvious, such as the "Doorway", to mark major changes of topic in my presentations, and more subtle ones, like "Dissolve", to change between related slides. This "grammar" of transitions helps to make the presentation more comprehensible.)
    Keynote is not cross-platform, so you can't put a native Keynote presentation on a memory stick and be assured that it will work on someone else's computer. However, PDFs make from Keynote should function just fine. Alternatively, you can use various of the other exporting options in Kenote, including Quicktime, Flash, and PowerPoint, to provide more cross-platform compatibility than Keynote does (each of these conversions has its own limitations however). And several of these formats are also appropriate for web deployment.
    I find Keynote extremely easy to use. Do realize that these forums are primarily intended for troubleshooting, so you won't find a lot of generic compliments to the application.

  • Please Just Some Info about iphone 4

    hey guys i am roshdi from Gaza,Palestine and my uncle live in Houston,Tx and he want to buy an iphone 4 for me i just want to know if there is a version of iphone 4 that work with our SIM here ( Unlocked without a contract from At&t) and how much is the price
    Thanx alot Guys

    Hey Paulking
    unfortunately i will not have an iphone 4 and i will not try this enjoyment that you are talking about
    please please please if you know any way too buy an unlock iphone 4 from USA tell me or any way to have it here in Gaza please :$
    and about peace talks
    me too i am hoping to have a good result from these talks becouse Situation here in Gaza is too bad and you know ( i cant have an iphone ) and shure Without mentioning about other basics of life we dont have like Electricity & the ability to travel
    thanks again Paulking

  • Just some information about why Verizon is not expanding its service to new areas.

    http://consumerist.com/2014/03/12/dont-count-on-verizon-fios-coming-to-your-town-anytime-soon/

    Right, but is FW800 fast enough in the case I place things on an external drive or even an SSD, or will USB 3 be required? In other words, will USB 3 or FW800 outpace the read / write speeds of a harddrive or even an SSD? I'm having trouble figuring out what real world results might be short of spending money for the sake of experimentation. Right now I only own one system, so I honestly do not have much of a problem keeping the catalog and its previews internal.
    In the event that I do upgrade to a newer system, will either a) 8GB (or more) of RAM or b) the Ivy Bridge i5 processor help with anything, and if so, to what extent?

  • Just some clarification about special points...

    ...that is, 20 points for each new member I refer...
    How long I have to wait before seeing these points on my account ?
    Since last week I know that 2/3 persons gave my mail as reference, but, till now, I see nothing !
    Thanks for sharing your experience !
    Bye,
    Roberto

    One week...

  • Student needing some questions answered about Manufacturing Scheduling software

    Greetings;
    I am a undergraduate senior at Arizona State University majoring in Supply Chain Management. I am currently doing a project about Oracle's Manufacturing Scheduling option and have a few general questions for those of you that have used the software and/or involved with its implementation. Your help is greatly appreciated. If you are uncomfortable releasing your company's name that is fine. If you do not want to post the answers here, I can also be emailed at rmkraus"SAYNOTOSPAMBOTS"@asu.edu. Thank you!!
    The questions I have are:
    What is your experience with the manufacturing scheduling software?
    What is/was your role with the software?(ie buyer, consultant, user, technical support, etc)
    How do you feel about the software's ease of use?
    What training did you recieve or did your company offer?
    How much did implementing the software approxiamately cost?
    What do you feel are the advantages of the software?
    What do you feel are the disadvantages of the software?
    Did your company have any problems during the implementation?
    Has your company experienced cost savings due to the software?
    Have you or your company used any competing software in the past?
    Any other insight that you would like to share?
    Thank you, I greatly appreciate your help.

    Im not sure on 5
    I know it's unusual, but if your project budget is
    good you may have more than one constructor. At least
    that's what I thoughtach.. you poor fellow, you are confused now aren't you.
    i bet taht in the fifth question they are talking about 'constructor methods', not procrammers who are constructing the code (or 'contractors')
    if your budget allws then you may even have three or 87 contractors, but that's not the case here.
    i hope that clarifies things a bit.
    and PS! i don't like when people intentionally give bad solutions to others.

  • My ipod touch(4th gen) just recently had the iOS 5 update.bu for some reason about 80% of my music collection appears with no album artwork and doesnt play any songs.basically it has my music on their but wont let me access it? please help!

    My ipod touch(4th gen) just recently had the iOS 5 update.bu for some reason about 80% of my music collection appears with no album artwork and doesnt play any songs.basically it has my music on their but wont let me access it? please help!

    i have the same problem but i have ios 5.01. how do you unsync? please help, thanks

  • HT5312 Ok look these solutions are super complicated and I tried all of them and they don't work I just wanna buy a song ok just one song and it won't let me cause I don't have my questions and a answer from a robot is not going to help me so a real  pers

    Ok look these solutions are super complicated and I tried all of them and they don't work I just wanna buy a song ok just one song and it won't let me cause I don't have my questions and a answer from a robot is not going to help me so a real  person plz

    There are no robots here. Everyone here is a "real person", a user just like you. How about telling us what the problem is that you are experiencing when you try to buy a song? If you mean that you have forgotten your security questions, go to:
    https://appleid.apple.com/
    Click "Manage My Account", sign in, and go to the Password and Security section. If you've forgotten your answers, there should be a link just under the security questions fields where you can have a reset email sent to your Rescue email address. If the link for the email doesn't appear, as can happen if you didn't set a rescue email address or (apparently) have a .Mac email address, see the user tip created by Kappy, another user here, on how to proceed:
    https://discussions.apple.com/docs/DOC-4551
    Regards.

  • This is not a question just an observation. happy birthday ipod. thank you for the fantastic 10 years, thank you for changing the way we think about music.

    this is not a question just an observation. happy birthday ipod. thank you for the fantastic 10 years, thank you for changing the way we think about music.

    frank,
     every negative experience is an opportinity to learn.   deleting or moderating these experiences would be turning away the chance to learn.   as long as users follow the participation rules, we allow even the most negative posts to remain. 
    as you said, forums are inherently negative by nature as users typically come here to solve a problem.   those of us who try to solve the problems are in the minority.   we certainly appreciate users such as yourself who voluntarily return to the forum to help out, especially those who initially came here to solve a problem themselves.
    thank you as well.
    -erik
    ThinkStation C20
    ThinkPad X1C · X220 · X60T · s30 · 600

  • Question about XML validation against schema

    My question is probably a basic one about XML. I tried PurchaseOrder example from the book "J2EE Web Services" by Richard Monson-Haefel. A simplified version as followings -
    Address.xsd -
    <?xml version="1.0" encoding="UTF-8"?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/Address"
    xmlns:addr="http://xml.netbeans.org/schema/Address"
    elementFormDefault="qualified">
    <element name="address" type="addr:USAddress" />
    <complexType name="USAddress">
    <sequence>
    <element name="name" type="string" />
    <element name="street" type="string" />
    <element name="city" type="string" />
    <element name="state" type="string" />
    <element name="zip" type="string" />
    </sequence>
    </complexType>
    </schema>
    PurchaseOrder.xsd -
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://xml.netbeans.org/schema/PurchaseOrder"
    xmlns:po="http://xml.netbeans.org/schema/PurchaseOrder"
    xmlns:ad="http://xml.netbeans.org/schema/Address"
    elementFormDefault="qualified">
    <import namespace="http://xml.netbeans.org/schema/Address" schemaLocation="Address.xsd" />
    <element name="purchaseOrder" type="po:PurchaseOrder" />
    <complexType name="PurchaseOrder">
    <sequence>
    <element name="accountName" type="string" />
    <element name="accountNumber" type="unsignedShort" />
    <element name="shipAddress" type="ad:USAddress" />
    <element name="total" type="float" />
    </sequence>
    <attribute name="orderDate" type="date" />
    </complexType>
    </schema>
    Then PurchaseOrder.xml is -
    <purchaseOrder orderDate="2007-12-12"
    xmlns='http://xml.netbeans.org/schema/PurchaseOrder'
    xmlns:addr="http://xml.netbeans.org/schema/Address"
    xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xsi:schemaLocation='http://xml.netbeans.org/schema/PurchaseOrder ../xsd/PurchaseOrder.xsd'>
    <accountName>Starwood</accountName>
    <accountNumber>220</accountNumber>
    <shipAddress>
    <name>Data Center</name>
    <street>1501 Washington St.</street>
    <city>Braintree</city>
    <state>MA</state>
    <zip>02148</zip>
    </shipAddress>
    <total>250</total>
    </purchaseOrder>
    Then I did a XML validation but have this error -
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'name'. One of '{"http://xml.netbeans.org/schema/Address":name}' is expected. [19]
    It complains <name> tag in <shipAddrss> needs namespace of "http://xml.netbeans.org/schema/Address". Why?
    Is it possible to change XML so it does not need name space for elements inside <shipAddress>?
    Thanks

    Hi Madhura,
    see here my comparison of the web version against the local file version on my Windows box (which is itself not the fastest): It makes a factor 16 in difference!
    C:\Temp\xsdvalidator>java XsdValidator madhu.xsd madhu.xml
    cvc-pattern-valid: Value 'provamail.it' is not facet-valid with respect to patte
    rn '[^@]+@[^.]+[.].+' for type 'EmailType'.
    NOK - Validation error
    Elapsed time: 16353 ms
    C:\Temp\xsdvalidator>java XsdValidator madhu_local.xsd madhu.xml
    cvc-pattern-valid: Value 'provamail.it' is not facet-valid with respect to patte
    rn '[^@]+@[^.]+[.].+' for type 'EmailType'.
    NOK - Validation error
    Elapsed time: 994 ms
    Obviously, the w3c.org domain that you specified as ressource location is very slow - and, as the FAQ shows, this delay is intentional!
    The W3C servers are slow to return DTDs. Is the delay intentional?
    Yes. Due to various software systems downloading DTDs from our site millions of times a day (despite the caching directives of our servers), we have started to serve DTDs and schema (DTD, XSD, ENT, MOD, etc.) from our site with an artificial delay. Our goals in doing so are to bring more attention to our ongoing issues with excessive DTD traffic, and to protect the stability and response time of the rest of our site. We recommend HTTP caching or catalog files to improve performance.
    --> They don't want to have requests to their site from productive servers all around the world.
    Regards,
    Rüdiger

  • I can't downloamd Things just because I forgot the security questions and I I'm putting the security questions the wrong answers and they blocked me how can I unblock it

    I can't downloamd Things just because I forgot the security questions and I I'm putting the security questions the wrong answers and they blocked me how can I unblock it

    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions

  • I have problem with the security question i forgot it some body tell me they will show down of the question forgot the answering but nothing show help me plz thanks

    I have problem with the security question i forgot it some body tell me they will show down of the question forgot the answering but nothing show help me plz thanks

    The reset link will only show if you have a rescue email address (which is not the same thing as an alternate email address) set up on your account : http://support.apple.com/kb/HT5312
    If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then you will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • HOW  DO YOU GET TO ASK A QUESTION AND GET AN ANSWER ABOUT ADOBE

    HOW DO YOU GET ANSWER ABOUT ADOBE
    MESSING WITH EVERY THING I TRY AND DO ON MY COMPUTER IS THERE AWAY TO SET IT SO IT WILL NOT MESS WITH EVERYTHING I DO ?
    [edited by forum host - you have violated the Community Guidelines on acceptable language]

    Well, the first thing to bear in mind that we are all just folk like you who use Adobe products. And we choose to share our time here helping people.
    So, you need to be
    1. Informative. What EXACTLY happens. Give details, exact messages, screen shots, whatever.
    2. Polite. Because if we don't take to you we just won't help. You should understand that posting in all caps is considered rude, like going into a store SHOUTING. Unlike the store staff we don't have to deal with you, we can just ignore you. I know you explained why you use caps in another message, but seriously, it really hinders your chances of getting help. No wonder you find it FRUSTRATING.

  • I just bought a new iPhone 5 and both the itunes and the App Store apps don't work, can anyone give me some answers?

    I just bought a new iPhone 5 and both the itunes and the App Store apps don't work, can anyone give me some answers?

    Follow the directions here:
    http://support.apple.com/kb/HT2109

Maybe you are looking for

  • Unable to create query for new dataset

    Something weird has happened to our BI Publisher application in production. It was working fine, we could create reports and datasets and templates just fine. Now all of a sudden when we create a new report and a new dataset the Data Set screen is no

  • Internal server error when I try to view my portlet jsp page

    Hi, I am a newbie on Oracle portal and extremely frustrated. Does this technology actually work?? I followed every single step in portlet developer guide and tried several times Java portlet/Oracle PDK portlet but this thing just doesnt work. Lately

  • 8800 SERIES....​NO MSN?

    i just bought my daughter a used 8830 world edition blackberry. She had the 8330 curve but it died. So I call telus and get the phone activated and she can make calls and texts etc... She had the social plan with the curve and they transfered the pla

  • BT can't provide details of extra BB charges

    I've just had my first email regarding extra BB charges, they've advised me that £4 will be added to my next bill. I emailed them and asked for full details of my daily usage for last month and have been told that "BT will not be able to provide you

  • Dreamweaver, Access & ASP

    I'm using Dreamweaver 8 from time ago and some times I had had several problems to visualize asp pages while using Dreamweaver. I solved them enabling read and write permissions of files or folders. In others cases I enabled read and write permission