Changing doctype in RH7 files

We need to import a lot of old HTML files (originally produced in XML) into a new project. Our new files have the doctype:
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
This is fine for them but to fix various issues with formatting the old files we want to replace the above with this:
<!doctype HTML public  "-//www.w3.org/TR/html4/loose.dtd">
Making this change and saving a topic fixes all the formatting issues but the doctype quickly reverts to the original one, certainly after saving and reopening the project. Is there a way to turn off use of the Frameset//EN doctype? It does not seem to be essential to use it.
Thanks,
Dean Fenton

We need to import a lot of old HTML files (originally produced in XML) into a new project. Our new files have the doctype:
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
This is fine for them but to fix various issues with formatting the old files we want to replace the above with this:
<!doctype HTML public  "-//www.w3.org/TR/html4/loose.dtd">
Making this change and saving a topic fixes all the formatting issues but the doctype quickly reverts to the original one, certainly after saving and reopening the project. Is there a way to turn off use of the Frameset//EN doctype? It does not seem to be essential to use it.
Thanks,
Dean Fenton

Similar Messages

  • Changing DocType

    Dear All,
    I have an application that is trying to insert a JDOM document into an Oracle DB.
    Prior to do this, I need to change the DTD from
    file:///V:/EURAC/Central_services/ICT_5/KNE/Projects/eldit/Prototype/MakeEldit1/WEB-INF/res/dtds/textNEW.dtd
    to
    /text.dtd
    I wrote a simple function:
    private int setDTDBeforeInsert(org.jdom.Document doc, File fileout) {
    DocType docType;
    docType = new DocType("/text.dtd");
    try {
    doc.setDocType(docType);
    XMLOutputter outputter = new XMLOutputter();
    OutputStream fout = new FileOutputStream(fileout);
    outputter.output(doc, fout);
    return 0;
    } catch (IOException e) {
    System.err.println(e);
    return -1;
    the problem is that the document already have an associated DocType so I receive an excpetion and there is no way to change it and to insert into DB.
    Do ypu have any idea how to do it or any suggestion?
    Stefano Bracco

    It is my experience to avoid this situation by instead of changing the document type itself, changing the task to have a new document type with the desired settings.
    If for some reason the earlier periods are re-consolidated, the new setting are applied as opposed to the old and this has caused problems for me in the past.

  • My adobe reader once installed changes all of my files to pdf files...Why?

    Adobe reader once installed changes all of my files to pdf files...why?

    http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • How to change the default "Safe" files in Safari?

    I would really appreciate if anybody could teach me how to change the default "Safe" files using AppleScripts, Folder Actions or .plist files. I really would like to have some files to open automatically after download, specially .pps files, and safari doesn't recognize such files as "safe". I tried to find out reading the help files but got lost.
    I posted a reply in an old topic for somebody who seemed to know, but it was not related to that topic, so I decided to open a new one.
    I'll be gratefull for any help. Thanks.

    Hi MDRC,
    Have a read of [this topic|http://discussions.apple.com/thread.jspa?threadID=1237961] to see if that helps.

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created?
    null

    Usage: orapwd file=<fname> password=<password> entries=<users>
    where
    file - name of password file (mand),
    password - password for SYS and INTERNAL (mand),
    entries - maximum number of distinct DBA and OPERs (opt),
    There are no spaces around the equal-to (=) character.

  • In R12 how to change concurrent output/log file name prefix?

    how to change concurrent output/log file name prefix?

    but i want to change change concurrent output/log file name prefix?You cannot, and I believe it is not supported for all concurrent requests -- Please log a SR to confirm this with Oracle support.
    Thanks,
    Hussein

  • How we can limit the number of concurrent calls to a WCF service without use the Singleton pattern or without do the change in BizTalk Configuration file?

    How can we send only one message to a WCF service at a time? How we can limit the number of concurrent calls to a WCF service without use the Singleton pattern or without do the change in BizTalk Configuration file? Can we do it by Host throttling?

    Hi Pawan,
    You need to use WCF-Custom adapter and add the ServiceThrottlingBehavior service behavior to a WCF-Custom Locations.
    ServiceThrottlingBehavior.MaxConcurrentCalls - Gets or sets a value that specifies the maximum number of messages actively processing across a ServiceHost. The MaxConcurrentCalls property specifies the maximum number of messages actively
    processing across a ServiceHost object. Each channel can have one pending message that does not count against the value of MaxConcurrentCalls until WCF begins to process it.
    Follow MSDN-
    http://msdn.microsoft.com/en-us/library/ee377035%28BTS.10%29.aspx
    http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentcalls.aspx
    I hope this helps.
    Rachit
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?

    With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?
    For example, in Notes, I have written three notes; however if I click on 'All On My Mac' on the side bar, I see about 10 different versions of each note I make, it saves a version every time I add or delete a sentence.
    I also noticed, that when I write an email, Mail saves about 10 or more draft versions before the final is sent.
    I understand that all this journaling provides a level of security, and prevents data lost; but I was wondering, is there a function to clean up journal logs once in a while?
    Thanks
    Roz

    Are you using Microsoft word?  Microsoft thinks the users are idiots. They put up a lot of pointless messages that annoy & worry users.  I have seen this message from Microsoft word.  It's annoying.
    As BDaqua points out...
    When you copy information via edit > copy,  command + c, edit > cut, or command +x, you place the information on the clipboard. When you paste information, edit > paste or command + v, you copy information from the clipboard to your data file.
    If you edit > cut or command + x and you do not paste the information and you quite Word, you could be loosing information.  Microsoft is very worried about this. When you quite Word, Microsoft checks if there is information on the clipboard & if so, Microsoft puts out this message.
    You should be saving your work more than once a day. I'd save every 5 minutes.  command + s does a save.
    Robert

  • How can I change the insert SWF File, I need to add a few things and make it better?

    How can I change the insert SWF File, I need to add a few things and make it better? Is there an option inside of the dreamweaver menu that I am not looking at. It would make it easier on me if I changed some things around and didn't have to do it all myself each time I used it. Just incase you was needing to remember what swf flash was, It is not a swf video either.
      <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="640" height="480">
        <param name="movie" value="Sonic Kaboom.swf">
        <param name="quality" value="high">
        <param name="wmode" value="opaque">
        <param name="swfversion" value="9.0.115.0">
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="../Scripts/expressInstall.swf">
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="Sonic Kaboom.swf" width="640" height="480">
          <!--<![endif]-->
          <param name="quality" value="high">
          <param name="wmode" value="opaque">
          <param name="swfversion" value="9.0.115.0">
          <param name="expressinstall" value="../Scripts/expressInstall.swf">
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>

    If I understand correctly, Sonic Kaboom.swf needs to be edited in a separate Flash authoring program and then reinserted into your HTML document. 
    As Murray said, Flash is dead.  Nobody uses it anymore.   We use HTML5, CSS3 and JavaScript animations which have universal support from Smartphones, Tablets and other web devices that can't support Flash.   Look at Edge Animate.
    HTML animation | Download free Adobe Edge Animate CC trial
    Nancy O.

  • Programaticly changing the (suggested only) file name in the save prompt when signing a document?

    When you sign a document in Adobe X (or XI), the system says it needs to save the file first.   Is there some way to change the (suggested only) file name to a different value for that save?
    Right now, people open a blank form - lets call it formX.pdf.   They fill it in and sign it.  The suggested file name for the save is FormX.pdf.   I can generate a unique file name which i'd like to put in place of the suggested default...

    AFAIK, you can't do it with code. Your best option might be to use a form field to show a message to the user when they sign the document with that information.

  • Wrong path changes in Itunes XML file

    hi there,
    My Itunes library (9.0.2) is stored locally on my macbook, although actual files are on a network attached storage that I access through AFP. This share is mounted automatically when the mac starts. Everything was working perfectly fine until a few days ago (no major change to the library or mac), when my iphone synchonization started to report impossible to read on the device files.
    After a few more investigations, I pinpointed some of the missing files, which were not missing but were replaced by other files (absolutely not linked to my media files).
    the <key>Location</key> in the xml file was, for example
    <key>Location</key><string>file://localhost/Volumes/David/docs/Me%CC%81dias/src/elodie2.jpg</string>
    where it should have been something like
    <key>Location</key><string>file://localhost/Volumes/David/media/music/albums/Damien%20Rice/9/09%20-%20Accid ental%20Babies.mp3</string>
    Does anyone have a clue about what went wrong and how to circumvent this in the future ?
    Thanks in advance

    Oliver:
    The simple answer is yes. Any changes you make to your RSS feed file (xml file) will eventually be updated by ITMS. Usually ITMS updates feed changes within 24 hours. However, the most recent changes I made in my feed files took almost 8 days before ITMS refreshed my listing.
    One issue is clear. If you make changes to your image file, there is a high probability that when ITMS updates your database record, your listing in ITMS will show the broken link image for awhile. I've changed my image file twice, and each time, my ITMS listing showed the broken link image. Eventually the new image shows up, but it does take a long time for this day and age.
    Good luck!

  • Whenever I close down Photoshop CS5 I get the message: "Could not save Preferences because the file is locked or you do not have the necessary access privileges. Use the get info command in Finder to unlock the file or change permission on the file or enc

    Whenever I close down Photoshop CS5 I get the message: "Could not save Preferences because the file is locked or you do not have the necessary access privileges. Use the get info command in Finder to unlock the file or change permission on the file or enclosing folders." What on earth does it mean? How can I stop this message from appearing?

    See here:
    I cannot save recent images.

  • How do I change the size of file menu's and tool icons in Photoshop' opening page.

    How do I increase or change the size of file menu's and tool icons on the opening page/worksheet of Photoshop? The File Menu drop down commands read properly at a comfortable size. I am not sure how I accomplished this, but everything I have tried has no effect on the other page items.

    Hello, you can change most of Photoshop's interface text by going to preferences>interface>UI font size.
    For the size of the top menus and the whole interface, there is no function to do that for the moment. I suggest to vote on this thread: http://feedback.photoshop.com/photoshop_family/topics/problem_with_hi_res_monitors

  • XML tag  need to  be change in the sorce file (ENCODING)

    Hi
         my source file XML format.. in this file I'm getting as a first tag as  like this..   <b><?xml version="1.0" encoding="ISO-8859-1"?>..</b> but actually in my Message mapping source code i have starting tag is like this...
    <b><?xml version='1.0' encoding = 'UTF-8" ?></b>
    so, som encoding  is    different.. for this how can   solve the problem.. wether i need to change in the source file itself.. or is there any solution to change  that in our scenario itself..
    plz clarryfy this..
    Thanks
    babu

    Hi Babu,
    Check out my answers in this Link
    Re: How to change the incoming xml to a different namespace
    this way you can modify the XML tags which are beyond the reach of mapping
    Regards
    Vishnu

  • How to change the output executable file name(a.prj:(output)--- b.exe)

    LabWindows / CVI: how to change the output executable file name
                For example, I have an A project a.prj, I do not want to compile the output file is a.exe, but b.exe.
    I will try to save as a.prj b.prj, a.cws save as b.cws
    eg:a.prj  ---->(output)--->b.exe
    Solved!
    Go to Solution.

    You can go to Build >> Target Settings menu item, select Release (or Release 64) in the Configuration filed and set the name of the executable to create in Application FIle field, withouyt need to change the prj or cws filename.
    See the complete description of available options here.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • Iphone 5 / iOS 6 IMAP issues

    This is a strange one, however I see many people are reporting similar issues. I just received my iPhone 5 last night and I'm unable to access my primary email accounts on the device via IMAP. After entering and deleting my email account multiple, tr

  • Video from macbook to tv

    i used a mini-dvi to hmdi adapter with a hdmi to hdmi cable to connect my macbook to a tv and it works fine...then i used the same adapter with a hdmi to rca cable and it didn't work...do i need a digital to analog converter? thanks

  • Facing issue in after report trigger in XML publisher

    HI All, I have a XML template in that i am calling a after report trigger like below : <dataTrigger name="afterReport" source="apps.testpkg.testupdate_fun(:HEADER_ID)"/> I am passing the header_id from my header block to the function. My Function loo

  • Wrong platform selected. Want to change order. How?

    Just upgraded my Elemtents 10 to version 13. Accidentally chosen Windows instead of Mac platform. Now I'd like to change my ordered platform. Need help from support team!

  • The link for latest patchset for 11.2.0.3.0 windows 64 bit

    Hi Platform: windows 64 bit Oracle database 11.2.0.3 I successfully upgraded my database from oracle 11.2.0.1.0 to 11.2.0.3.0 and the upgrade worked fine. I installed the 11.2.0.3.0 in a new oracle home. Now my task is to install the latest patchset