How to remove underscore in the xml tag

Hello

I am using xml data in the model and data are retrieved dynamically. This is why the header in the template contains the xml tag with the underscore as "First_Name", "Second_Name".
But it doesn't display the header such as "First name", "Second Name". I want to remove the trait of underscore '_' in the header template.
Can someone help me.

Thanks in advance

Try


sth




Tags: Business Intelligence

Similar Questions

  • How can I find and replace the xml tags?

    Hi, I am using xml in my workflow and want to be able to remove some tags if they contained particular text.

    Here is an example of the xml struct...

    < Entry >

    < name > DEFAULT < / name >

    < such > default < / such >

    DEFAULT < address > < / address >

    < / Entry >

    I use this initial structure to define paragraph styles to follow when you import the xml data.

    This leaves DEFAULT in place everywhere where an entry is not any content of this field.

    I want to be able to import my XML and then run a script that deletes tags that include by DEFAULT, - I need to the xml tag to remove not only the text, if I do a normal find and replace will remove only the text not the tags that is causing problems with style. I also want to remove the end of para/return (^ p) that I placed at the end of the line. So it would be the same opening editor mode and removing content, tags + hard back in there, but I want to automate the process...

    So I think that's what I'm looking for in each case

    "< name > DEFAULT < / name > ^ p.

    and I want to replace it with nothing.

    Is this possible in a script (ideally javascript)?

    I have a little knowledge of javascript, but don't know how to search for and target this kind of string in indesign...

    using indesign cs5

    Thank you very much

    Hello

    Script should do it in two steps:

    1 find all occurrences of that is ' > by DEFAULT.<>

    2 delete the whole paragraph which is a found_text container.

    For example, in this way - JS - (a textFrame filled your text must be selected):

    var mStory = app.selection[0].parentStory;
    app.findTextPreferences =  null;
    app.findTextPreferences.findWhat = ">DEFAULT<";
    var myF = mStory.findText();
    var count = myF.length;
    while (count--)
         myF[count].paragraphs[0].remove();
    

    Rgds

  • Cannot delete the XML tag

    Hi all! Working in InD CS6 in Windows 7.

    I have a XML element in a document that I can't do anything with and who does not appear to be associated with what in the file of the InD. The red line is pointing to it on the Panel Structure in the image below. Note the X through its icon.

    ErrantXMLElement.JPG

    The XML is added to the InD file by mapping tags to styles using the Load... button on the dialog box map tags to Styles and 'import' of another document of the InD.

    When right clicking this item in the Structure of Panel and selecting go to point the current selection goes, but then nothing else happens. Or to delete this in the Panel of Structures . I had a similar problem, a bit a go where I somehow finished with elements in the XML file that were not associated with what anyone in the document. Had those text display in the Structure Panel after the name as shown above, but, even once, go at them will not anywhere. I hadn't studied at the time because I could simply remove it from the structure.

    With this element, however, I can't get rid of it without marking not any frame.

    So, I guess I really questions. It's this thing! How the hell he get there? And is there a better way to remove it rather than not tagging any of the frame and have to re - mark all content.

    EDIT: Just found out that using the trash on the pallet Structure to remove the parent of the problematic element, indeed, removes as problematic. Before him, I was just not marking the parent who has transferred only the problem child (like these word games) for the previous parent.

    Thanks for reading this way-too-long-post.

    All the best,

    Ken

    OK (he said with a blush to cheeks) I get noticed something in common, I didn't before posting.

    Page to which cchimi kindly provided a link described icon as a part empty, and it is attached to an empty block. However, it is not only an empty block.

    What happened in our file, is that the script containing the tag with an anchor marker tag xml that InD apparently do not like much. Type of logic, really.

    Now, I may be cracking, but with a single instance of the element of 'bad' I thought THAT I could see the empty element in the story discovers with the anchor to a few characters on. I selected the anchor and dragged back between the start and end code and icon of the item has changed and he returned 'alive', I was able to handle it. For most other troublesome elements, however, sinpy AND marking a marker of the anchor, the XML tag does NOT display in story mode. The element gets the empty icon when you simply tag the anchor marker, in this case it is an anchor for a rule.

    Hope this might help someone, someday.

    Thanks again for reading.

  • regular expression for the xml tags

    Dear smart people of the labview world.

    I have a question about how to match the names of xml text elements.

    The image that I have some xml, for example:

    Peter

    13

    and I want to match all of the names of elements, that is to say: no, son, grandson, age, regardless of any attribute have these items. There is a regular expression, I can loop, that can do this? (Something like "\<.+\> ". "") It is no good because it matches the entire xml string.) I'd really only two different expressions, one for the match start elements, e.g. and one for the correspondence of the elements, for example.

    Thanks for your help in advance!

    Paul.

    The site Of regular Expressions will be very convenient.

    They have some good tutorials on regexp with a demo of the XML tags:

    Here is a small excerpt:

    The regular expression <\i\c*\s*>matches an opening of the XML without the attributes tag corresponds to a closing tag. <\i\c*(\s+\i\c*\s*=\s*("[^"]*"|'[^']*'))*\s*>corresponds to an opening with a number any attributes. Put all together, <(\i\c*(\s+\i\c*\s*=\s*("[^"]*"|'[^']*'))*| i\c*)\s*="">corresponds to an opening with attributes or a closing tag.  (source)

    If you want advanced XML analysis I suggest JKI XML toolkit.

    Tone

  • RE: iOS iPhone 6 s 10 how l remove or disable the slippery camera from outside the locked screen? This feature is a security and threat privacy for me.

    RE: iOS iPhone 6 s 10 how l remove or disable the slippery camera from outside the locked screen? This feature is a security and threat privacy for me.

    You can not. However, I'm not sure why you think it's a privacy or security threat. The only thing that can be accessed without unlocking the phone is the camera to take pictures. No one can access your data already on the phone.

    You can send feedback to Apple here:

    http://www.Apple.com/feedback

  • How to remove or hide the option to remove history, and how to remove Private Browsing entirely.

    How to remove or hide the delete history option, and how to remove Private Browsing entirely?

    See if this addon does what you want.

    https://addons.Mozilla.org/en-us/Firefox/addon/disable-private-browsing/?src=SS

  • Satellite A30 921: how to remove and replace the memory?

    Hi, can someone help me how to remove and replace the memory of satellite A30 921. and also, please give a detailed instruction.

    Thank you in advance.

    Hello

    There is not much to explain. On the low side in the Middle it is placed to cover memory (fixed with two screws). Remove the cover and you will see 2 slots there. I put t know how much memory you here but like Stefan says you can use max 2 GB of RAM (2 x 1024Mo PC2700 - PA3313U-1M1G). How to remove the memory modules, which you can see on http://www.hardwaresecrets.com/article/189/5

    Good bye

  • How to remove applications from the startup folder

    How to remove applications from the startup folder

    Settings > users and groups > Login Items.

  • Laptop HP Touchsmart 15-D020: how to remove and replace the keyboard on laptop HP Touchsmart 15-D020NR

    I spilt a drink on my keyboard and now I can not turn off the caps lock and a number of keys does not work. I need instructions on how to remove and replace the keyboard frame. Thank you.

    On your page of support-look for Maintenance and Service of Guide in the manuals.

    http://support.HP.com/us-en/product/HP-15-D000-TouchSmart-notebook-PC-series/6627588/model/6761859/manuals

  • I sell desktop computer and need to know how to remove all of the pc?

    I sell desktop computer and need to know how to remove all of the pc?

    The most difficult part of the first paragraph is to create the boot floppies - which can be complicated and requires installation of Windows disks.

    Perhaps a third simple but effective alternative is simply to re - install Windows on your computer from the disc that came with your computer or from the recovery partition.  Resettlement will delete all files on the disc and replace them with the New Installation of Windows.  At this point, the fragments of your old files may remain on your hard drive.  So once relocation complete, download and install the freeware 'Eraser' software, run it and you want to specify the "free space" erased on your hard drive.  This will overwrite firmly all the data remains that has not already been overwritten by the Windows Installation.

    Eraser: http://eraser.heidi.ie/download.php>

    HTH,
    JW

  • How to remove programs from the system tray without removing them from the startup?

    How to remove programs from the system tray without removing them from the startup on Windows XP folder?

    Hello

    The first step is to identify the program that represents the icon and decide whether it should be in the system tray (most are not necessary). Hold the cursor of the mouse on the icon to see the name of the program that launches the icon.

    The best bet is to click the icon to see if this opens the box of the program options. If so, look for a selection similar to "remove from the system tray.

    Alternatively, you can hide the icons in the system tray.

    Here's how:

    1. right click on the taskbar and select "Properties".

    2. in the "Notification area" click "Hide inactive icons" if she already unchecked and then click on the button "Customize".

    3. click on the ' column next to each of your current behavior and choose one of the three behaviors for each program icon that appears in the system tray: "Hide when it is idle," "Always hide", or "always show".»

    If you hide an icon, but then see it again the next time that you log on to Windows, you may need to uninstall the program to permanently remove the icon. Uninstall the program permanently removes the program from your computer. For more information, see Uninstall or change a program.

  • How to remove one of the elements of operating system of Windows Start menu?

    Original title: choose an operating system to start, or press Tab to select a tool. _ (use the arrow keys to highlight your choice, then press enter) windows Vista__Microsoft windows Vista __Microsoft

    How to remove 1 of the operating system for each time I start the computer, I dun hv to click on the 1st system?

    Thanks for the help

    Hi the user Noob,

    We recommend that you remove the entry that allows Windows to start successfully. Microsoft Windows Vista (C:\Windows) is the default. You can remove the second entry and check the result (delete if it does not work).

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows Live Movie Maker 2011 - how to remove items from the recent projects list

    Windows Live Movie Maker 2011

    I have duplicates on my list of recent projects.

    How to remove items from the numbered list of recent projects?  What are the (thumb)

    bugs used for?  Thank you.

    Hello

    The question you have posted is related to Windows Live Movie Maker and would be better suited in the Windows Live Solution Center. Please visit the link below to find a community that will provide the best support.

    http://www.windowslivehelp.com/product.aspx?ProductID=5

    Amrita M

    Microsoft Answers Support Engineer

  • How to remove photos from the desktop while maintaining in the Photoshop Elements Organizer?

    How to remove photos from the desktop while maintaining in the Photoshop Elements Organizer?  My office is now crowded with the photos that I can't recycle because they then 'not found."  The image, but not the data is always in the Organizer, but I imagine that it would disappear once I have stop and restart my laptop.  I want to clear my desktop, but keep the photos!

    annab72712181 wrote:

    OK, that's a lot of sense.  But I still don't know what I have to do them down the office without losing them.

    If you move from your Explorer or finder in a given folder, you will not lose them and they will disappear from your desktop.

    If you want to use the Organizer to keep track of your photos in the catalog, use the Organizer, not the Explorer / finder to move them to another folder on the desktop.

  • How to remove and delete the in computer HP recovery Partition.

    Hello

    How to remove and delete the Partition Recovery on HP computer after I installed win 7 (clean install) befor was Vista?

    Thank you


Maybe you are looking for