When exporting XML files, I get forced line breaks before and after my xmltag

hi everybody,
as I said, i do a javascritp that exports xml files. First I clean up my text by removing every invisible characters with app.findpreferences. Nevertheless, my xml files is almost well formed beacause i got before and after each xmltag a forced line break. Somebody could explain to me why ?
I don't use prettyIndent and prettyPrinting .
Best regards
Américo Pinto

hi everybody,
as I said, i do a javascritp that exports xml files. First I clean up my text by removing every invisible characters with app.findpreferences. Nevertheless, my xml files is almost well formed beacause i got before and after each xmltag a forced line break. Somebody could explain to me why ?
I don't use prettyIndent and prettyPrinting .
Best regards
Américo Pinto

Similar Messages

  • Can one get a split image (Before and After) whilst using Color Board?

    The basic way of comparing the effect of a color correction appears to be to step out of the Color Board and switch the correction off and on.
    However, is there any way of displaying 2 screens (or a split screen) showing the original shot and the corrected one? (I seem to vaguely recollect having something like that in FCP 7, though it may not have been in conjunction with color correction  .  .  .  my memory!)

    You could also toggle the correction off and on with a keyboard shortcut Control-1 I think. Indeed how quickly we forget.

  • Export XML file error

    Hello,
    When i try to export xml file, i get next error:
    "ODI-1228: Task P_CREATE_MANUAL_XML (Procedure) fails on the target XML connection XML_BKI.
    Caused By: java.sql.SQLException: ODI-40768: Could not save the file /u01/app/out_files/bki/CRE_HAND_OPERATED.XML because a class java.sql.SQLException occurred and said: java.sql.SQLException: java.sql.SQLException: Closed Connection"
    But when i restart the agent, all becomes good for a while.
    Who knows that problem?

    Michael R wrote:
    The target table will be created when you execute the interface, if you set the option on the flow tab as instructed in step #6 of the "Setting up ODI Constraint on CLIENT Datastore" Section.
    Option     Value
    CREATE_TARG_TABLE      trueHi Michel,
    This was not my required answer.I am sorry that I was unable to clarify my question.Actually
    +This project executed successfully with some warning.Target Table is automatically created in database and also populated with data.But when I right-click Target Datastore(in >Mapping Tab of the Interface), and then select Data to View Data that needs to be inserted in the target table.I get some error like this:-...+This above line is the result of my project my problem is
    when I right-click Target Datastore(in Mapping Tab of the Interface), and then select Data to View Data that already inserted in the target table.Is not shown by the view data operation.
    I meant to say I am facing this error
    At the10(1010 written) step of
    Creating a New ODI Interface to Perform XML File to RDBMS Table Transformation
    wehre it says
    Open the Interface tab. Select Mapping tab, right-click Target Datastore - CLIENT, and then select Data. View Data inserted in the target table. Close Data Editor. Close the tabs...
    In my case when I use my sqldeveloper I can see data successfully inserted in my target table and also in error table (data that can't satisfy the constraint) .But I was unable to check this by following the above mentioned 10 th step and got this error.
    Thanks

  • Problem when exporting to Vimeo I get message "The share operation has failed. Quicktime error: -50" The file only gets to 8% before this happens any idea how to fix I have a movie deadline to meet!

    Hi all,
    Finished editing a short movie.
    Then went to share on vimeo but got this message - see also screenshot when I tried to export to desktop.
    Problem when exporting to Vimeo I get message "The share operation has failed. Quicktime error: -50" The file only gets to 8%.
    Have tried deleting my render files for the project and also another fix mentioned of deleting any black space files on the edit itself but neither work?
    Just upgraded to OS Mavericks could this be causing it? If so how to downgrade?
    thanks
    Louis B

    Thanks for your help both, I called Apple tech support and spoke to a really helpful chap called Andrea who helped me out. Now got my Master file sorted and am trying Vimeo upload again.
    Just to clarify points for people out there with the same issue:
    First steps
    - Ensure background rendering is turned off in preferences
    - Delete project and events render files
    - If upgraded to Mavericks then go to FCPX in finder under applications hit buttons 'CMD' and 'I' together and tick the 'prevent App Nap' box.
    Next Steps
    I had already done all of this when Apple Tech spoke to me so we discussed the message 'Quicktime -50' and what it meant. It wasnt a purely generic error message but was not detailed enough to point to one specific issue. This problem had occurred in previous years (so Mavericks not wholly to blame) and patches were issued over the years by Apple to help resolve some of the problems.
    The message essentially is indicating that there is a problem somewhere with the media in some way shape or form.
    My export went to 8% then failed. Apple's answer was that the project settings were corrupted in some way.
    So what they suggested (so simple I could kick myself) was to select all the media files by 'CMD + A' then copy them 'CMD + C' then create and open a new project timeline, and then paste in 'CMD + V'.
    Then we tried export again this time to a master file with some settings detailed by Apple.
    The difference now was it got to 40% then failed but due to a different reason 'error -1 frame 10124 error'
    At last we get past the project issues and into the event media issues, it seems that when I loaded the compact flash last night, the iMac kept ejecting the reader so had to copy files over quickly and seems that some of the file clip I used although showed on the viewer, didn't seem to have loaded all the correct media, so selecting this clip frame 10124 on the viewer I found that it showed as red on the frame row which implied an issue. So I simply bladed it off and deleted it.
    Then I reran the export to Master file and it worked, though jumping from 40% to 100% complete was a shock to me!
    Now am trying the export to Vimeo - hope this helps some of you out there. Worst case pick up the phone to Apple and speak to the Final Cut Pro guys they can help.
    best wishes,
    Louis B

  • Getting error when reading xml file from a remote connection

    Hi all,
    I want to read an xml file from a remote connection, not from my local machine.So when i am creating the data server i am giving the host name(that is the ip of the machine where the xml file is located), giving the proper username and password and giving the path of the xml file. When i am testing the connection the error that is coming:- "Connection failed and the xml file could not be created, verify that you have write permission in the directory"...
    but read write and execute permissions have been given on the directory as well as to the file...
    Regards,
    Sourav

    Hi Sutirtha,
    Initially I have started the agent.sh giving the agent name <agent name>and port number 20910 and defined it in the topology manager it is showing that the agent test is succesful. Then I tested a particular Data server against that agent and the test was successful.
    After this we had stopped the agent and restarted it.
    However now suddenly the testing against the remote agent is failing with the following excep:
    java.lang.Exception:
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    PS: do i have to modify any file after or before starting the odi agent
    Thnks and Rgds,
    Sourav
    Edited by: user13263578 on Mar 15, 2011 9:35 PM
    Edited by: user13263578 on Mar 15, 2011 9:48 PM

  • Mixed fonts when exporting ePub file from InDesign

    I am an ePubs newbie and have been watching some of the training videos on Lynda.com and  tried creating my first ePub document today.
    I am having problems with mixed fonts when exporting the file and viewing on iBooks on an iPhone.
    I have a document with paragraphs of text to be in a regular weight and certain words within the paragraphs are to be picked out in bold. So I've used a Paragraph Style for the main text and then used a Character Style to pick out the bold words. Simple enough!!
    On export I am not embedding any fonts as I have unchecked that option on the export dailaogue. I have used the same font family in InDesign, but I cannot work out why I am getting both Serif and Sans Serif fonts displaying when viewing it on the iPhone. The main body appears in the Sans Serif font, but I have the bold character styles, subheads and even the numbers in the numbered lists are all displaying in a Serif Font.
    In iBooks I can change the display font (I have the choices: Georgia, Iowan, Palatino, Seravek and Times New Roman) and this affects the fonts which are displaying as Serif, but the main body font remains constant as a Sans Serif (looks like Helvetica).
    I would ideally like all the fonts in the document to display as Sans Serif with certain words, plus the headings and subheadings to be in the bold weight version of the same font family.
    I've tried this in CS5.5 and CS6 with the same results.
    Can anyone offer any suggestions please.

    Hi Steve,
    Yes, you are correct. It is Anne-Marie Concepcion's videos that I've been watching.
    I understand what you are saying about testing in other readers and I will be looking into that further. However our main task is to get some of our client's manuals and documents into a digital version that can be read on  Apple devices, as these are what are being used by their sales force.
    We have already produced some documents for use on the iPad and have used iBooks Author for that with some success. They have now asked about getting something onto iPhones, so we are now looking into the ePub format to do that. I realise that ePubs can also be used on iPads, but we would still be pushing the iBooks Author files for use on iPads as there is more interactive widgets that can be included. But the main ePub reader that will be used is going to be iBooks, so we are looking to get something to work in that App. Other formats may follow, but we are starting with getting something to work on iBooks first.
    I have tried viewing the file in Adobe Digital Editions as you have suggested and have to say that this displays the file in a way that is certainly more appealing, as the fonts are at least consistent. However, I understand from Anne-Marie's videos that ADE is rather basic and is only intended as a rough proofing device. Which is why I transferred my ePub to my iPhone and iPad to view in iBooks.
    As I have mentioned, I am a total ePub newbie. I come from a mainly print background and my knowledge of CSS and HTML is very basic. I have an understanding of the concepts, but I would always rely on developers to produce websites that I may have designed.
    You seem to be implying that it may be in iBooks where the issues lie and from viewing the file in ADE this would certainly look that way. So I am simply trying to establish what I would need to do to make it work in iBooks in a more satisfactory way.
    I have included some screen grabs below to illustrate my problems...
    ePub viewing in ADE
    If it looked like this on the iPhone I would be relatively happy!!!
    ePub on iPhone
    The main body copy is displaying in a sans serif font (Helvetica?) yet the heading, subheadings, numbers of the numbered lists, address, URL and legal line are all displaying as a serif font. All the style sheets are assigned to the same font family in InDesign (Helvetica). I have managed to get the bold text to appear in the sans serif font, by mapping the character style to the "strong" tag in the Export Tagging dialogue. All other paragraph styles are left as "Automatic".
    I can change the font in iBooks and this affects the displaying of all styles apart from the main body, which stays consistently in the "Helvetica" font.
    iPhone Fonts
    iPad Fonts
    On the iPad I'm also getting some elements coming in justified which looks awfull (see the main heading above). This image also shows how changing to an alternative font changes the heading and subheadings, but does not affect the main body!!!
    Any suggestions???
    Thanks

  • EXPORT.XML file used during Java export?

    Hi all !!!
    I'm doing an export of a Solution Manager 7.01 system. This system also has a CPS (redwood) installation in thev database java schema.
    What happened was that not all tables listed in the EXPORT.XML existed, so I got a failure.
    I then "undeployed" CPS, and deleted all CPS files from the database (JCS_). However, when I restarted (or started from the beginning) I got the same error. The EXPORT.XML (in the export java directory) still have all the JCS_ tables listed.
    This file is recreated during every restart, so I tested to create a script which override this file with one without the JCS_* tables all the time (more than 100 times a minute). But the export still has the JCS_* tables in the list during export.
    So is the EXPORT.XML even used during export, or does it keep the values in memory already when the file is created.
    And a second question is: From where does the input to the EXPORT.XML file come from? It's not from the database since there is not a trace of any JCS_* tables in the database however ju list information from the DB2 dictionary (DB2 9.5.2)
    So can anyone tell me how to skip these tables from the export?
    // Claes

    Hello Claes,
    is this system (CPS) a copy or migration of other system ? it happens sometimes that old schema tables remains in the system.
    regards, Javier

  • When opening DIR files I get a long delay while Director "Builds True Type Fonts"

    Running 11.5 on a Mac OSX 10.6.8
    When opening DIR files I get a long delay while Director "Builds True Type Fonts"
    Anyone know how to work around this?
    I've got all the fonts in my library and embedded in Director.  (Do I need to dump them from my DIR? Dump and reinstall?)

    Two bits of advice:
    1) Pare down your code to no more than 30-50 lines. Enough to compile and show the problem, but not so much as to make our eyes bleed, and for no one to want to read your post or help you.
    2) You would be wise not to state that your problem is "urgent". Even if it is urgent to you, realize that it is not urgent to us. Many here take offense to this as it implies to them that a) the poster thinks that his post is more important than everyone else's, and b) that the poster wants to put pressure on the volunteers who come here to help on their own free time. Just a friendly word of advice.
    I'll be happy to help when you've posted a reasonable amount of code. Good luck!

  • In Mail when deleting a file i get this response 68615.emlx" couldn't be copied to "Messages

    in Mail when deleting a file i get this response 68615.emlx” couldn’t be copied to “Messages
    Donnie
    <Edited By Host>

    HT2500 Error when deleting email: Apple Support Communities

  • Slow processing when Parsing  XML files

    Hi
    I have written a utility in Java (using JAXP) which parses an .xml file. This xml file
    contains references to n number of other xml files. From here I direct the parser to each of these individual xml files where it searches for elements with a particular tag name, lets say 'node'. As in,
    <node name= "Parent A">
    <entry key="type" value="car"/>....
    </node>
    <node name= "Parent B">
    <entry key="type" value="Truck"/>
    </node>
    I am collecting all the 'nodes' from these n xml files and then finally building a single xml file which will contain only the 'node' and its attribute 'name' value. As in,
    <node name="Parent A"/>
    <node name="Parent B"/>
    In most cases n is a number greater than 100. Each of these n xml file have LOC exceeding 2 to 3000.
    NOW the issue is, the xml parser takes more than an hr to go through just 10 - 15 xml files , collects the 'node', and building a new DOM object which I finally get published using Xml Transformer.
    In effect , it beats the whole purpose of writing this utility as no programmer will stick around for an hr to to watch it happen/finish.
    Apart from maybe further fine tuning my logic, which I've almost exhusted, is there any 'faster' way of doing the whole thing.
    Please reply. Any comment would be greatly appreciated.
    I am using JAXP 1.3 specs to parse and build the DOM.

    DOM is slow.
    Do it yourself using a simple SAX-parser. For all startElement - check if it is a "node", and then write your output!
    Xerces is faster than the built in Crimoson SAX-parser in Java.
    Parsing with Xerces a 2GHz machine takes manages about 5-6 MB/s of XML files.
    Or use STX with Joost - although it's not THAT much faster
    http://www.xml.com/pub/a/2003/02/26/stx.html
    http://joost.sourceforge.net/
    Gil

  • When exporting from Imovie I get the following error? OSStatus error -2009

    when exporting from Imovie I get the following error? OSStatus error -2009

    Hi
    Apple Support pages says.
    Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on)
    If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore. If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore. If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above. If the issue persists, it may be related to conflicting security software.
    Yours Bengt W

  • LR4beta shuts down when exporting .cr2 files

    LR4beta shuts down when exporting .cr2 files..exporting them too .jpgs while only changing the size?

    There have been a few reports of folks with iPhoto 09 being unable to export on 10.9. No solution apart from upgrading to iPhoto 11 (which requires a purchase) as this time.

  • How Export XML file to Adobe After effects

    how export XML file from FCP X and how i open in adobe aftereffects and also export from AF and how it will oper in Final cut pro X

    Premiere and AE use Dynamic Link to interact.
    After Effects Help | Dynamic Link and After Effects

  • Clear or Override Forced Line Breaks?

    This is probably really simple, but I searched the help file and didn't find it.
    - How do you clear all forced line breaks in a paragraph?
    I'm editing text that we thought was fairly final, and I usually work in Preview mode as it's cleaner and easier to see what's going on. But I'm fearful of any forced line breaks that I may not know about that could mess up the paragraph flow after I make changes. The text is fully justified.
    I know I can work in Normal mode and turn on 'View Hidden Characters' to see them. But even with that, they can sometimes be small and hard to see depending on the complexity of the type and how zoomed-in I am.
    - Isn't there a simple key command to override forced line breaks?
    THANKS!

    OK. Thanks. I knew that would be an option, I just think I confused a couple other features with what I was hoping to do.
    I may have been confusing 'Clear Local Overrides' when updating a paragraph style, and the ability to have certain things highlighted (custom tracking/kerning, glyphs, etc.), with an ability to clear forced line breaks with a simple key-command or palette menu item.
    Thanks, though.

  • How to get a line break

    Hi All,
    How do I get a line break within a particular field?
    My DB structure is that I have 4 columns address_line_1, address_line_2 and so on. I cannot select them as different fields because all of them can be null, in which case i pick it from internal_address_line column.
    I use:
    SELECT DECODE(address_line_1, NULL, internal_address_line, address_line_1 || ', ' || Address_Line_2) as ADDRESS
    But instead of th comma separating the 2 address lines I want a line break so that 2 address lines come in 2 separate lines in the output.
    It doesn't allow me to use chr(10) as a line break and gives an error
    I'm using Reports 2.5
    TIA
    Naveen

    Yes, true.
    How about setting up the sections as:
    Section 1 Introduction ('Section num space introduction' in this example - tab may be better)
    Then generate the Contents.
    Then do a GREP find/change on the document after the contents:
    This will add a forced line break and tab after each section number... You might want to specify a para style in the Find Format box too, so that references to Section xx in body text are not altered.
    If you update Contents after this, you will get the line break and tab in the Contents too.

Maybe you are looking for

  • External Harddrive won't work on iMac

    I have an external harddrive that I previously used on my PC. It only has generic JPG files saved to it. When I plug it in to my iMac it is read only and will not allow me to save things to the disk. In the information menu it shows that it is read o

  • Colour Correcting lots of clips in a Multicam Sequence

    I have a problem with Premier CS6, I have a timeline with a Multicam camera sequence, 2 camera's only and i want to reveal a camera in a sequence like in FCP7 so that i can apply a color correction to only 1 of the cameras, i am aware of selecting th

  • AV Component Cables

    HI All. I have teh Apple AV Component Cables, and i have a Panasonic Viera LCD HDTV in the bedroom, what id like to know is why even after selecting TV out on the ipod touch, that i can get sound but no picture ? ive been through every setting on the

  • Preparing Connect meeting

    I need time to setup my connect meeting with content. I do not expect to be charged for setting up my pods and arranging them prior to the meeting. My question: How do I prevent from being charged for preparing my presentation? I expect to be charged

  • Connect by help needed

    Hello I am using an hierarchy query using a "connect by prior" and it working great. According to the start with it give me the list of "trees" I need. Can I add a where statement that check if the type_id of one of the elements in the tree is equal