How to remove the xml with indesign file attributes.

Dear friends,

I need to remove attributes xml ('ul' element), I try to underside of coding and joint screenshot also, but I made a mistake. I'm not that I lack the coding below.

Screen Shot 2016-02-22 at 12.57.49 PM.png

My coding in the below.

var elements = app.activeDocument.xmlElements[0].xmlAttributes.item["@new_class"] = "list-style-type:none";
    alert(elements.length);
    delete elements["@new_class"];

Please suggest friends,

Thank you in advance,

Hello

Try this...

var doc = app.activeDocument;

removeAttributes(doc,'ul','style','list-style-type:none');

function removeAttributes(source,element,attributename,attributevalue){
    for (var i = 0; i < source.xmlElements.length; i++){
            try{
                for(j=0; j 
         

Tags: InDesign

Similar Questions

  • How to remove the easy transfer of files from computer vista.

    Title of the Moose: to find the file for easy transfer to vista to remove

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: How can I find and delete files on Vista transfer tool to remove.

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem
    Hi Heighes,
     
    1. what exactly are you trying to accomplish on your computer?
     
    To completely remove the Windows Easy Transfer files and restore the 'normal' hard drive icons, try the following steps:
     
    a. open the computer, select Tools > Folder Options to open the Folder Options window
    b. in the view tab, select Show hidden files and folders
    c. right click on each of the icons (in my case - disc vista & W7 drive) hard drive and select Explorer
    d. find Windows easy transfer.exe and windowseasytrasfer autorun.inf folder and delete them from the root of the two readers
    e. restart your computer and check if the problem is resolved.
     
    Check out this link forum provided for more information below.
     
    See also:

    How to use Windows Easy Transfer to migrate files and settings from one Windows computer to another Windows Vista-based computer

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

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

  • How to remove the security of all files?

    Hello

    Actually for security reason, that I have applied security measures on my D drive, I just requested that no one can access D drive on my PC, but this security has been applied to all folders, subfolders and files all separately in my D drive, now I am unable to remove it... If I try to remove it, its really laborious ' coz I have to remove each file separately and I have thousands of files... Please help me out... .any one operation which may remove the security of all files?

    You can try this on the D partition / drive or all personally created folder/s

    http://www.SevenForums.com/tutorials/1911-take-ownership-shortcut.html

  • How to remove the comments of several files with the Action Wizard, without losing the OCR?

    Hey everybody,

    With the help of Acrobat DC Pro.

    I used Action Wizard previously to remove comments (or more specifically, highlight) documents.  I created a custom command using 'Delete hidden information' and not selected everything but 'delete comments '. However, my files keep losing OCR, I did after I do this.

    I also tried to use the 'Sanitize' tool to delete comments, and it's the same thing.

    Is it possible to automate this process in a way that maintains the OCR?

    Thank you!

    This JavaScript code will remove all the strengths of a file and will not affect anything else in it:

    this.syncAnnotScan();
    var annots = this.getAnnots();
    if (annots!=null) {
        for (var i=annots.length-1; i>=0; i--) {
            if (annots[i].type=="Highlight")
                annots[i].destroy();
        }
    }
    
  • How to remove the folder with name

    Hi all

    I had created a folder with a name, using ALT + 0160, but now iam not able to delete or rename it.pls tell me how to remove it.

    You get an error message when you try to delete it?

    Boot into safe mode and see if it will remove. If this is not the case, try this tool.

    Unlocker File Remover

    Download it from FileHippo
    http://filehippo.com/download_unlocker/

    Download from CNET
    http://download.CNET.com/WOT/3000-2378_4-75011499.html

  • How to remove the XML prologue in Oracle?

    Our system works as follows:

    1. place a piece of XML code in the database as a CLOB
    2 database converts this value to XMLTYPE (stored as a CLOB (you can skip this, Marco * {;-)))))
    3. a request then reads XML from the database and inserts it into another bit of XML
    4. the application continues his treatment based on this new composite XML.

    So far, the XML that is loaded into the database in step 1 (for various systems) has never contained a prologue. However, a new system came along and is now passing in a prologue. There are problems of application in step 3.

    Apart from trying to get the new system do not spend in the prologue, is there a way to remove it of in Oracle?

    I came up with two solutions are not elegant:

    1. use XMLTABLE to retrieve the main root node (which might be different, depending on the system sent in the data and could change)
    2 convert the prologue in a commentary, using REPLACE the product, before converting the CLOB in an XMLTYPE.

    If I was forced to use one of the following methods, I would go with 2, but I really, really hope that there is a better way to do it.

    Someone at - it any other suggestions, please?

    PS. We are currently on 10.2.0.4 and are about to move to 11.2.0.3, but the solution is to work on both versions, for more fun and excitement!

    It's error, the application gives: "error obtaining Exception of SAX for additional information: no processing instruction begins with"xml"" who says that the app dev is due to the presence of the prologue in the middle of xml, the app has build up.

    So, basically, the app just "glue" XML in the middle of the other regardless of the structure? What kind of design is?
    IMO, the application needs to be fixed, not the XML input.

    A lot about how to add the prologue, nothing on how to remove it!

    You can use the XMLQuery function to get the root element:

    SQL> create table tmp_xml3 of xmltype
      2  xmltype store as basicfile clob;
    
    Table created
    
    SQL> insert into tmp_xml3 values (xmltype(''));
    
    1 row inserted
    
    SQL> select * from tmp_xml3;
    
    SYS_NC_ROWINFO$
    --------------------------------------------------------------------------------
    
    
    SQL>
    SQL> select xmlquery('*' passing object_value returning content)
      2  from tmp_xml3;
    
    XMLQUERY('*'PASSINGOBJECT_VALU
    --------------------------------------------------------------------------------
    
     
    

    Published by: odie_63 on August 22, 2012 15:26

  • How to hide the sidebar with other files of Notes?

    OS X El Capitan (10.11.3)

    I am trying to read a PDF Acrobat Pro and take notes with Notes in my mac, side by side.

    I would like to know how to hide the sidebar on the left of Notes, where are the names of the other file.

    I don't want the files, I already went to 'View' and you click "hide files".

    I can just see the writing of the Notes area while sharing the screen with the document I read in Acrobat Pro.

    Looks like a basic feature which Apple or Adobe Acrobat Pro should have, but I can't seem to find it.

    Looked for other solutions to the App Store, but what I've found is a bit expensive.

    I appreciate any assistance.

    I asked that your thread moved to the El Capitan forum.

  • How to remove the old Hello msi file

    make the misstake of trying to download the new itunes to message delete old Hello computer msi keep can someone help? PS also tried using itunes help they say that I'm not on the internet

    It really helps to have the full error message.  It's not like if you pay by the letter questions posted in these forums.

    Based on the almost total absence of information in your message, my guess is that your old iTunes installation has become corrupted, or partially deleted, and as a result, you cannot install the new version.

    The simplest thing to do is just clean things, and then try again.

    Used to have a tool just to do this, called the Windows Installer Microsoft Cleanup utility.  Apparently, however, when this tool has been used (I think with MS Office), removes sometimes more he was supposed to, and that's why Microsoft has removed the tool of its download servers.

    The Windows Installer Cleanup utility is always available from http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html , or you can use the free Revo Uninstaller.  Before using or the other of these tools, create a restore point from the system, backup the registry with C:\WINDOWS\ERUNT, or (if you can afford) creates a full disk image or a clone - just in case.

    Here are the usual directions to perform a "clean installation" of iTunes, based on Support of Apple HT1926 article.

    Go to control panel > Add/Remove programs
    Remove these applications:
    1 Apple Software Update
    2. Apple Mobile Device Support
    3 Hello
    4 iPod for Windows (this may or may not exist, be it, it is not necessary, then we can remove it)
    5 iTunes
    6 QuickTime

    Open my computer > C: > Program Files
    Delete this files (if present)
    1 iPod
    2 iTunes
    3 QuickTime

    Empty your temp directory:
    Open my computer > C: > Documents & Settings > username > Local Settings and delete the contents of the folder called "Temp".

    If you don't see the local settings, enable hidden files:
    Tools > Folder Options > view tab
    Select Show Hidden Files & folder, and then click OK

    Once this file is empty, restart the computer

    [See note above regarding cleanup utility]
    Download & install the Windows Installer Cleanup utility:
    http://support.Microsoft.com/kb/290301/
    Launch the utility: start > programs > Windows Installer Clean Up
    Select one of the applications mentioned above and click on remove

    Restart the computer
    Download & reinstall iTunes from here: http://www.apple.com/itunes/download/

  • How to extract the XML with namespace?

    Hi all

    Here's the XML I:

    <? XML version = "1.0" encoding = "UTF-8"? >
    -< transaction xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns = "http://schemas.test.com/Support/Services/test1/2012" xsi: schemaLocation = "http://schemas.test.com/Support/Services/test1/2012 Support.test1.v1.xsd" >
    -< application >
    < > 10 Sam < / Sam >
    < > 32 Actid < / Actid >
    < Pax > 3 < / Pax >
    < > 10 - DEC - 2012 Flt < / Flt >
    < user name > WebUserNameTest < / name >
    < / request >
    < application >
    < Sam > 1 < / Sam >
    < Actid > 3 < / Actid >
    < > 2 Pax < / Pax >
    < Flt > 2012 - dec - 12 < / Flt >
    < user name > WebUserNameTest < / name >
    < / request >
    < / transaction >

    I need to extract the item values:

    The code below will help me when I have no namespace, what needs to be done in order to work with the value of the element namespace and etract

    v_string_xml: =.
    ' / / Query [' |] To_char (counter_xml) | '] / Sam / text () ';
    v_ssp_table (v_ssp_table. COUNTY) .memid: =.
    p_xml_in. EXTRACT (v_string_xml) .getnumberval ();


    v_string_xml: =.
    ' / / Query [' |] To_char (counter_xml) | '] / Actid / text () ';
    v_ssp_table (v_ssp_table. COUNTY) .actid: =.
    p_xml_in. EXTRACT (v_string_xml) .getnumberval ();

    v_string_xml: =.
    ' / / Query [']
    || To_char (counter_xml)
    || '] / Pax / text () ';
    v_ssp_table (v_ssp_table..) Pax COUNT): =.
    p_xml_in. EXTRACT (v_string_xml) .getnumberval ();

    v_string_xml: =.
    ' / / Query [' |] To_char (counter_xml) | '] / Flt / text () ';
    v_ssp_table (v_ssp_table..) Flt COUNT): =.
    p_xml_in. EXTRACT (v_string_xml) .getstringval ();

    v_string_xml: =.
    ' / / Query [']
    || To_char (counter_xml)
    || '] / Username / text () ';
    v_ssp_table (v_ssp_table. COUNTY) .username: =.
    p_xml_in. EXTRACT (v_string_xml) .getstringval ();
    declare
      v_xml xmltype := xmltype( '
    
    
    10
    32
    3
    2012-DEC-10
    WebUserNameTest
    
    
    1
    3
    2
    2012-DEC-12
    WebUserNameTest
    
    ' );
    begin
      for r_xml in ( select *
                     from xmltable( xmlnamespaces( default 'http://schemas.test.com/Support/Services/test1/2012' )
                                   , '/Transaction/Request'
                                   passing v_xml
                                     columns memid number path 'Memid'
                                           , actid number path 'Actid'
                                           , pax number path 'Pax'
                                           , flt varchar2(100) path 'Flt'
                                           , username varchar2(100) path 'Username'
                                  )
                   )
      loop
        dbms_output.put_line( r_xml.memid );
        dbms_output.put_line( r_xml.actid );
        dbms_output.put_line( r_xml.pax );
        dbms_output.put_line( r_xml.flt );
        dbms_output.put_line( r_xml.username );
      end loop;
    end;
    
  • Satellite 5205-S505 - how to remove the battery with the damaged battery latch?

    I try to set aside my laptop (satellite 5205-s505) today. But I found that the release latch was damaged somehow. What can I do?

    My seriously damaged lcd. I have method to close the LCD to save energy (just use external moniter)?

    This battery is a very good question. I think you're the first person who asked it.
    If you cannot remove the only way is, I think, to disassemble the entire laptop and somehow free battery.

    When you use the external monitor, you have to use the FN + F5 key combination and switch to an external monitor only. Portable computer's LCD will be OFF.
    You can also check the Advanced display settings. Usually, you can also find settings to define where should be the office.
    Check it out!

  • How to remove the old timemachine/backup files from an old hard drive

    I did not use a hard disk for time machine for several years (replaced by the 3 TB model). I had a few back normal of the files on it and everything just deleted the folder backups.backupdb. All but 7 mb removed. I then filled the hard disk with the other files. Now, I want to remove these 7 MB.

    I said my mac to remove all the locked files, no luck. I changed the permissions of the main folder, open and said the mac to do the same to inclusive all files, no luck. I did the same thing to each folder in the folder backupdb, no luck.

    I even dug deep into the HD/system/library/coreservices records and released the boot.efl and bootx files and no removal of chance.

    A secure boot has not helped.

    Reformatting the drive is not an option that I have thousands of files on that drive.

    Any suggestions?

    Thank you

    Trash - can not empty or move files to the Recycle Bin

    Garbage FAQS

  • Graphic Flex: how to remove the shadow with CSS?

    Hello!

    How can I remove shadow my columns with CSS?

    I know that I could do:

    <mx:seriesFilters>
      <mx:Array />
    </mx:seriesFilters>
    

    But I'd really only my CSS to control all of the visuals.

    Thank you!

    -Dwayne

    Don't think that you can. Since it is an array, you need to fix in the code. Sorry, Flex is like that, it makes you do a lot of things in the code that should be doable in CSS. But on the side of good news, instead of what you have done you can put this argument in your table tag: seriesFilters = "[]".

  • How to remove the old hard drive files. Can not defragment

    Not enough space to defragment.

    I'd be interested to see a report of Disk Defragmenter. Open Disk Defragmenter and click analysis. Select view report, and then click Save as and save. Now find VolumeC.txt in your My Documents folder. Open the file, place the cursor anywhere in the file, select Edition, select all to select all the text and copy and paste into the body of your message. To do this, before you run Disk Defragmenter because it is more informative.

    Select Start, all programs, accessories, System Tools, cleaning disk to emptying your trash, delete temporary Internet files and other selected options. I recommend also you click Other Options, System Restore and delete all but the last system restore point. Run Disk Defragmenter

    Using the system restore option is most appropriate when your system is slow and you need to increase the free disk space on your C partition. If you have errors that could be solved by using the system restore to your system settings back to before that the error occurred initially, do not use this option.

    You can create more free space in C in carrying one of the measures suggested below.

    The default allocation for the restoration of the system is 12% on your C partition is more generous. I have them would be reduced by 700 MB. Make my computer right click on your icon, and select System Restore. Place the cursor on your C drive select settings but this time find the slider and drag it to the left until it shows 700 MB and output. When you get to the settings screen, click on apply and OK and leave.

    A flaw that might be useless which is for temporary internet files, especially if you keep no copies on the disk offline. Setting the default value is 3% of the walk. Depending on your attitude to copies offline, you could bring it to 1% or 2%. In Internet Explorer, select Tools, Internet Options, general, temporary Internet files, settings to make the change. At the same time, look at the number of days, the story stands.

    The default allocation for the basket is 10% of the disk. Change to 5%, which should be enough. In Windows Explorer hover over your Recycle Bin, right click and select Properties, Global and move the slider from 10% to 5%. However, try to let you become so complete that if it is complete and you delete a file by mistake it will bypass the Recycle Bin and have gone forever.

    If your drive is formatted as NTFS another potential gain arises with your operating system on your C drive. In the Windows directory of your C partition you will some uninstall files in your Windows folder in general: $NtServicePackUninstall$ and $NtUninstallKB282010$ etc. These files can be compressed or not compressed. If compressed text the name of the folder appears in blue. If these files are not compressed you can compress. Right-click on each folder and select Properties, general, advanced, and check the box before you compress contents to save disk space. On the general tab, you can see the winning amount by deducting the size on disk size. File compression is only an option on an NTFS formatted disk partition / partition.

  • How to remove the image with a single click?

    Hello friends, I want a help with something simple.

    I want to open my app when displaying an image with data or information and clicking on, get out and show me the menu of the application as usual.

    My picture is this:

    seen in my application, but I can't make it go away

    Solution:

         ImageButton {
                    id: imageView02
    
                    defaultImageSource: "asset:///images/IMG_00000014.png"
                    onClicked: {
                        imageView02.visible = false
                    }
                }
    
  • How to remove the pages of my file?

    How can I delete a page of my PDF?

    Hi rafasells,

    To delete pages from a PDF, you will need to use Acrobat. You can try Acrobat for free for 30 days, if you wish. For more information, see www.adobe.com/products/acrobat.html.

    Best,
    Sara

Maybe you are looking for

  • I have almost 40 000 emails! Help!

    Hello Yes! I have a big problem that I can't solve everything. On my PC, it says I have no unread emails but on my Iphone 5, it says that I have almost 40 000! I use gmail and I had this problem for 2 years and it really does not use a lot of space o

  • Omni 21 HP all-in-one: I need to cut a movie I made for 5 seconds!

    Please someone help me... I admit not very smart when it comes to pc... I made a movie with my camera and downloaded into my computer... I need to cut the last 5 seconds turns off the movie... God bless you and please help!

  • Battery discharge too fast 5 s

    I have submitted my serial number (DNPMTHWEFFDP) for the replacement of battery Apple program, but they said "it was not in the Group of serial or had been replaced. I bought the plan of renovation of Apple nearly 2 years ago because I wanted the hig

  • How can I send attachments with photo captions?

    I recently tried to send a file of images of my "my pictures" and then wait forever abandoned by using the option "send this file" and sent as an attachment.  However, after carefully appoint each image title showed in enamel. How do I do that?

  • Program Files - read-only

    (It's using a Windows Vista computer) I have a game that allows (and encourages) amending providing game scripts that can be modified. However, my computer I cannot save the changes. The properties of the folder of the game continues to be 'Read only