FRAMEMAKER AND THE DTD

I am trying to open an SGML
file it says can't find the dtd. The file is in the same
folder with the sgml file?

Carl,
It is not enough that both files are in the same folder. FrameMaker looks inside the SGML file and tries to find the DTD at the place it is referenced.
- Michael
Edit: To be precise, it is not FrameMaker but the SGML parser that  is looking for the DTD.

Similar Messages

  • FrameMaker and ArborText

    Can two groups within the same company, one using FrameMaker and the other using ArborText, open and edit each other's documents and then bring them back into the original program?
    Thanks!
    Lisa

    Hi Lisa,
    I'm currently investigating this very situation.
    Historically, the big issue has more to do with the XML parser: some parsers are lax where others are strict when interpreting the spec in gray areas. You need to know where those gray areas are if you're mixing applications. This is true for lots of other programming languages as well and not unique to XML parsers (ask any software development team why they choose a single compiler to standardize their work on).
    As to the other issue, Scott's right. Pretty printing can also cause problems. For the record: Arbortext does not pretty print, but it does wrap at 80 characters (historical reasons). However, when it does so, it always wraps on XML-whitespace-irrelavant places (i.e., between attribute values) or at existing whitespace nodes (space between words). 
    The key thing is to be aware of how different applications treat the underlying files and make sure that any post-processing code that you write isn't depending on let's call it application-specific behavior. (InDesign has a heavy dependence on whitespace.)
    I also agree with Scott: I wouldn't try this with anything other than the latest FrameMaker. Adobe has done some amazing work to make it really XML friendly.
    Liz

  • How to modify the dtd in framemaker?

    HI,
    I am new recruit for using structured framemaker.
    I have a problem need your help.  I have a dtd which dose not create from FM. now i want to modify this dtd and then it can be used for FM. how can I get my answer? i will very appreciate if you can show step by step.
    thanks a lot!

    Hi,
    DTD is maintained outside of Framemaker. DTD's counterpart in Framemaker is EDD (Element Definition Document), EDD defines the DTD's element structure and attributes from "Framemaker's point of view", so to say. Framemaker is a non-native SGML/XML editor and it does not directly work with SGML/XML-data. EDD, together with Framemaker template document, also defines the formatting of the SGML/XML document
    Mapping between DTD and EDD happens through read/write rules. These rules tell Framemaker things like "element xyz is graphic" etc.
    Basic EDD
    Take a look into online documents "Structure_Dev_Guide.pdf" and "Structure_Dev_Reference.pdf".
    Hope this helps,
    Martti

  • Does Framemaker 8 and the arabian word version work together?

    Hi,
    my client in arabian country works with Framemaker 8 and tries to copy and paste from word into Framemaker and it doesn`t work. Does anybody know, if the arabian word version is supported by Framemaker?
    Thank for helping our project getting started!

    Thank you very much for your help!
    With kind regards!
    Am 31.01.2011 um 15:18 schrieb Be.eM:
    I have no experience with the arabic Word version (but quite a lot 
    with Arabic documents in general), but I'm pretty sure it should 
    work. However, there are options/preferences you can set for Copy/
    Paste in the Maker .ini, which may lead to different results or even 
    failures. I don't recall the default order, but AFAIK the "OLE 2" 
    entry is pretty much at the beginning, which generally is a bad 
    choice.
    >
    I've changed this sort order in my *.ini file to:
    >
    ClipboardFormatsPriorities=UNICODE TEXT, TEXT, MIF, RTF, FILE, OLE 
    2, EMF, META, DIB, BMP, MIFW
    >
    Note the "UNICODE TEXT" entry at the beginning, which makes it the 
    preferred format for pasting text from other applications. Maybe 
    this is also the solution for the collaboration between FM and the 
    arabic Word version.
    >
    Bernd
    >

  • Framemaker and S1000D

    Hi,
    does anyone in this forum have experience with structured authoring using the S1000D specification? I'd like to you a few questions.
    Advice appreciated.
    Thanks
    Carl

    Hello Ian,
    thanks for the info. It has helped me (I didn't know about the EntityCatalogFile element) but also thrown up more errors. Here is the application from my structapps file:
    Application name: S1000D v2.2 Descriptive
    Read/write rules: S:\FrameMaker\s1000d.rw.fm
    Template: S:\Framemaker\templates\s1000d.desc.template.fm
    DTD: S:\Framemaker\dm\dtd\descript.dtd
    SGML declaration: S:\FrameMaker\dcl\s1000dv18.dcl
    DOCTYPE: dmodule
    Entity locations
    Entity catalog file
    S:\FrameMaker\dm\catalog
    Entity search paths
    S:\FrameMaker\
    where S: is a network drive.
    This is the first page of 6 of error messages from the parser:
    Open DTD Log
    March 23, 2009 1:25 pm
    Source Document: S:\FrameMaker\dm\dtd\descript.dtd
    SGML Parser Messages (Document Prolog)
    S:\FrameMaker\dm\dtd\common.net; line 336
    Number of names or name tokens in group exceeded the GRPCNT limit; definition (CLASS) ignored.
    S:\FrameMaker\dm\dtd\common.net; line 337
    Invalid character(s) ignored; attempting to resume DOCTYPE subset.
    S:\FrameMaker\dm\dtd\common.net; line 369
    Incorrect character in markup; markup terminated.
    S:\FrameMaker\dm\dtd\common.net; line 369
    Number of names or name tokens in group exceeded the GRPCNT limit; definition (ACROTYPE) ignored.
    S:\FrameMaker\dm\dtd\common.net; line 370
    Invalid character(s) ignored; attempting to resume DOCTYPE subset.
    S:\FrameMaker\dm\dtd\common.net; line 373
    Invalid character(s) ignored; attempting to resume DOCTYPE subset.
    S:\FrameMaker\dm\dtd\common.net; line 489
    Number of names or name tokens in group exceeded the GRPCNT limit; definition (EMPH) ignored.
    I've tried working through the error messages to isolate the problem but the FM+SGML Error Messages only confuses me more. I don't believe the problem is in the DTD (otherwise other S1000D users would've complained) so I can only think I've left something out. I've checked my file paths and they look good to me. What have I done wrong?
    Your advice is appreciated.
    Cheers
    Carl

  • CS4- JS : How to change the DTD Option - Reg.

    Dear All,
    I'm struggle to not getting the answer for change the DTD options though Script.
    Here I can Load the DTD using script and Validate then Its showing so many Errors, It means the root element is wrong [DOCTYPE] so the way I can change as per the XML Root Element.
    Root Element : Chapter
    Load DTD -> DOCTYPE name is  : text
    //================ Start Coding =================================//
    app.doScript(File("D:/program files/Adobe InDesign CS4/Scripts/XML Rules/glue code.jsx"));
    var myDoc = app.documents.item(0);
    var Store = new  Array();
    var count=0;
    myDTDPath = "C:\\Program Files\\Adobe\\Adobe InDesign CS4\\Executables\\Parser\\Macmil.dtd";
    myDoc.importDtd(File(myDTDPath));
    main();
    function main()
      if (app.documents.length != 0)
        var myDocument = app.documents.item(0);
        //This rule set contains a single rule.
        var DTDTitle  = new Array (new DTDRootTitle);
       with(myDocument)
         var elements = xmlElements;
         __processRuleSet(elements.item(0), DTDTitle);
      else
        alert("No open document");
      //Adds a return character at the end of every XML element.
        function DTDRootTitle()
          this.name = "DTDValidation";
          //XPath will match on every XML element in the XML structure.
          this.xpath = "//chapter";
          // Define the apply function.
           this.apply = function(elm, myRuleProcessor)
                with(elm)
                   Store[count] = elm.validate();
                   count+=1;
              return true;// Succeeded
            } //End of apply function
       for(var k=0; k<Store.length; k++)
            var test = Store[k];
             for(var m=0; m<test.length; m++)
              if(test[m].isValid == true)
              $.writeln(test[m].element.markupTag.name);
              $.writeln(test[m].errorMessage);
    //========================== End of the coding ==========================//
    Question : 1
    Manually I can load the DTD & change the DTD Options as per the Root Element of the XML.
    After Validate using Root Element Itself, Its working fine. Zero Errors.
    Mean while I can Load DTD though Script but I can't change the DTD Options, through Script.
    So Please any one can give me the solution for change the DTD Options using script.
    Please any one can give the solution, Really I can appriciate for this...
    Hope I'm waiting the result for this query....
    Thanks & Regards
    T.R.Hairhara Sudhan

    hello  T.R.Hairhara Sudhan
    i don't know whether this is write answer or not .
    do one thing from active doc get reference of Dtd and from dtd set rootTag = "root tag"
    e.g
    var dtd =  app.activeDocument.dtds[0];
    dtd.rootTag = xmlElement.markupTag;
    here xmlElement is value for "Validate from" in DTD option
    Regards
    tahir1987.

  • How to register the .DTD file in Oracle Apps

    Hi,
    I am getting below error while generating XML file by concurrent program:
    Attaching XML file and .DTD file.
    Do I need to register this .DTD file somewhere?
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    System error: -2146697210. Error processing resource 'http://mbci-ebsdev.itciss.com/OA_CGI/label.dtd'.
    Below is the stored procedure I created to generate the XML file
    create or replace
    PROCEDURE Demo_XML_Publisher (errbuf VARCHAR2,retcode NUMBER,v_customer_id VARCHAR2)
    AS
    /*Cursor to fetch Customer Records*/
    CURSOR xml_parent
    is
    SELECT header_id,ordered_item
    FROM oe_order_lines_all
    WHERE header_id = v_customer_id;
    /*Cursor to fetch customer invoice records*/
    CURSOR xml_detail(p_customer_id NUMBER)
    is
    select a.order_number,a.header_id,a.order_type_id
    from oe_order_headers_all a,oe_order_lines_all b
    where a.HEADER_ID = B.HEADER_ID
    and a.header_id = p_customer_id
    AND ROWNUM<4;
    BEGIN
    /*First line of XML data should be <?xml version=”1.0??>*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8"?>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<!DOCTYPE labels SYSTEM "label.dtd">');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<labels FORMAT="order.btw" PRINTERNAME="KIMBALL1872A" _QUANTITY="1">' );
    FOR v_customer IN xml_parent
    LOOP
    /*For each record create a group tag <P_CUSTOMER> at the start*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<label>');
    /*Embed data between XML tags for ex:- <CUSTOMER_NAME>ABCD</CUSTOMER_NAME>*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<HEADER_ID>' || V_CUSTOMER.header_id
    || '</HEADER_ID>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<ORDERED_ITEM>' || v_customer.ordered_item ||
    '</ORDERED_ITEM>');
    FOR v_details IN xml_detail(v_customer.header_id)
    LOOP
    /*For customer invoices create a group tag <P_INVOICES> at the
    start*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<P_INVOICES>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<variable name= "Order_no">' ||
    V_DETAILS.ORDER_NUMBER || '</variable>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<variable name= "Headr_Id">' ||
    V_DETAILS.HEADER_ID || '</variable>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<variable name= "Order_Type_Id">'||
    v_details.order_type_id||'</variable>');
    /*Close the group tag </P_INVOICES> at the end of customer invoices*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</P_INVOICES>');
    END LOOP;
    /*Close the group tag </P_CUSTOMER> at the end of customer record*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</label>');
    END LOOP;
    /*Finally Close the starting Report tag*/
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</labels>');
    exception when others then
    FND_FILE.PUT_LINE(FND_FILE.log,'Entered into exception');
    END Demo_XML_Publisher;
    Below is the Label.dtd file structure m using:
    <!ELEMENT labels (label)*>
    <!ATTLIST labels _FORMAT CDATA #IMPLIED>
    <!ATTLIST labels _JOBNAME CDATA #IMPLIED>
    <!ATTLIST labels _QUANTITY CDATA #IMPLIED>
    <!ATTLIST labels _PRINTERNAME CDATA #IMPLIED>
    <!ELEMENT label (variable)*>
    <!ATTLIST label _FORMAT CDATA #IMPLIED>
    <!ATTLIST label _JOBNAME CDATA #IMPLIED>
    <!ATTLIST label _QUANTITY CDATA #IMPLIED>
    <!ATTLIST label _PRINTERNAME CDATA #IMPLIED>
    <!ELEMENT variable (#PCDATA)>
    <!ATTLIST variable name CDATA #IMPLIED>
    Thanks in Advance

    In any case, the dtd is incorrect and that may be why. The element structure is at least look like this.
    <!ELEMENT labels (label*)>
    <!ELEMENT label (CUSTOMER_NAME?, HEADER_ID, ORDERED_ITEM, P_INVOICES*)>
    <!ELEMENT P_INVOICES (variable, variable, variable)>If you want to keep some flexibility on variable's cardinality, you can simply it like this.
    <!ELEMENT labels (label*)>
    <!ELEMENT label (CUSTOMER_NAME?, HEADER_ID, ORDERED_ITEM, P_INVOICES*)>
    <!ELEMENT P_INVOICES (variable+)>Then you add the appropriate ATTLIST for the elements.

  • Can I run two copies of FrameMaker at the same time?

    I am trying to learn Structured FrameMaker. Is it possible/legal/safe to start two copies of FrameMaker on my PC at the same time?
    Specifically I want to have one copy open in Structured FM to experiment and the other copy in Unstructured to take notes on what I am learning. I am trying to see if I understand the concepts by writing up a tutorial but I do not want to be locked into structured mode when do not have a template which covers all of my needs ( I am still figuring them out) and I do not yet really understand what the structured templates do.
    Will the documents save by the rules of the window they are in? What other problems will/could I encounter?
    Thanks,
    Marjorie

    Marjorie,<p>If your machine has sufficient disk space and memory, yes, you can run multiple copies of FrameMaker at once. To run the different user interfaces at the same time, you'd have to start both copies. Then, change the user interface in one copy. Since the change doesn't take affect until you restart FrameMaker, shut down that copy and start a new one (leaving the first user interface in effect in the other original copy.<p>All that said, I suspect you can do the testing you want in one copy of FrameMaker, using the Structured FrameMaker user interface. The structured user interface simply means you can work with structured documents; you can also work with unstructured documents. Each document is independently structured or unstructured; in fact, each flow is independently structured or unstructured. You might therefore consider using the structured user interface and opening one structured and one unstructured document in a single copy of FrameMaker. Or create a single document with side-by-side flows and put structured content in one and unstructured content in the other.<p>Just remember that some of the dialog boxes are slightly different in the two user interfaces. For example, the marker, anchored frame, insert table, and cross-reference dialog boxes all let you select an element tag. Since there are no element tags in an unstructured flow, the element tag text boxes in these dialog boxes shows <Unstructured>. If you are willing to ignore these differences, I recommend you do your experimentation in a single copy of FrameMaker.<p>--Lynne

  • Why the oracle XML parser "parses" the DTD comments?

    Hi all,
    I always use the header
    <?xml version = '1.0' encoding='ISO-8859-1' ?>
    to be able to use foreign characters in the XML documents.
    The oracle xml parser handles this correctly.
    My problem is, when I write comments inside the DTD, the
    parser reports "Invalid UTF8 encoding".
    Why the parser "parse" the comments? (protected by <!-- and -->)
    How do I say that the DTD encoding is different from UTF, like
    ISO-8859-1?
    Example of a correct DTD and corresponding XML, reporting
    problems, related to the 2nd comment in the DTD specification,
    written with ISO-8859-1 characters.
    The DTD:
    <!-- valid.dtd -->
    <!ELEMENT valid ( B, C ) >
    <!-- valid represents the concept "Identificagco" -->
    <!ELEMENT B (#PCDATA) >
    <!ELEMENT C (#PCDATA) >
    The XML:
    <?xml version = '1.0' encoding='ISO-8859-1' ?>
    <!DOCTYPE valid SYSTEM 'valid.dtd'>
    <valid>
    <B>How are you, Conceigco</B>
    <C>I'm fine, thank you.</C>
    </valid>
    The parser output:
    [jgr@frontera test-dtd]$ java oracle.xml.parser.v2.oraxml -v
    valid.xml
    Error while parsing input sourcevalid.xml(Invalid UTF8 encoding.)
    Thank you for any help.
    Jorge Gustavo Rocha

    I was wrong in saying that the attributes are not added to the element.My main aim is to add a array of elements to the root node.
    Is there a efficient manner in adding the elements , rather than adding them individually with the help of appendChild method.
    Thanks in advance.
    null

  • Help with working on Word files that were created in Framemaker and saved as PDF

    Please help. I was given a pdf from a vendor that they created in Framemaker. The pdf was 2+MB. I saved it as a Word doc so I could delete sections that I don't need for our folks but the file is saving at over 20MB (after I deleted a lot of pages from it). It is so large that I cannot even email it. I've tried to zip it and also convert it back to a pdf and in both cases the file only decreases by a few hundred KB while still leaving it over 20+MB. Any idea how I can work this file to take the sections I need without it creating such a large file size? Thank you. Brian

    The contractual requirements between the vendor and your company may be the key. The contract may or may not discuss whether the vendor's permission to modify the material includes an obligation to make the documents usable. "Usable" may be construed to mean providing original files. If the vendor is required to provide originals, they may or may not be required to provide them in a common format, like MS Word, rather than the proprietary FrameMaker format they use. Their providing a PDF may completely satisfy their obligation; your lawyers may be helpful here.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    bmr0330 wrote:
    I did ask them for the source file but they haven't been forthcoming with that. I may look into the evaluation copy of FM anyway but considering the price ($868 USD through our catalogue supplier) I doubt I would be able to get a licensed copy once the evaluation runs out. I do appreciate the suggestion though. Thank you. Brian

  • FrameMaker and LCD Monitors

    Hello,
    Just wanted to get your thoughts/opinion(s) as writers in using FrameMaker on LCD monitors. Specifically, I've used word processing and desktop publishing programs on CRT monitors for years. I've never had any problems whatsoever. Recently, my employer provided me with a 20 inch widescreen LCD monitor. I'm now having a difficult time with it because of the higher resolution (e.g., headaches and the like). As you all know, a lower resolution only distorts or stretches desk on LCD monitors (which is why I guess I've avoided these monitors for so long). Please note, I have bad eyesight and wanted to see if others may have ideas to address this issue. I've given the monitor two weeks and things haven't improved. I'm just concerned/frustrated because I know the world is going in the direction of LCD monitors.
    For a solution, I've thought about a square like LCD monitor; maybe at 17 inches to address the problem. But I'm wondering if I'll still be at the mercy of the native resolution. Just to let you know, I've tried all the display scenarios to address the problem (i.e., appearance, settings, dpi) without success. Just miss the 800/600 resolution I had in the past due to my bad eyesight.
    Any ideas or thoughts are most appreciated. Thank you very much for your time.
    Paul

    Paul...
    Here are some ramblingthoughts on your issue. They expand on the good advice you've already received, and thus do not dispute what others have said.
    Make certain your drivers for the graphics card are the latest and greatest. This is the first step you should take. You probably have already done that. If not, go do it. But check the next paragraph first.
    If your graphics card has a DVI output, by all means use it. If it doesn't, opt for a different graphics card, preferably one with two DVI outputs, known as a dual-head graphics card. I address this again below.
    Life is too short to drink cheap wine. It's also too short to spend a professional career working with inadequate computing resources, especially when you consider the cost of the capital outlay versus the salaries and the wasted time fooling around trying to make things right. If your employer has artificial limits on spending, go make a business case for better gear.
    You already seem to understand the concept of the monitor's native resolution. High resolution monitors are best for image processing, when programs like Photoshop are used to edit photographic images. For text-based work, they're the wrong way to go, as you've discovered. Part of the problem is that many web pages and all operating systems seem to be stuck with a one-size-fits-all set of icons, menus, page sizes and the like. With Windows, you get two choices of text size, but those choices don't apply to all text instances and only in the operating system, not in the applications that run on top of the application. So driving a high resolution monitor at its native resolution results in tiny text, icons and the like. I get some email messages that I cannot read because the very popular marketing company that creates them uses what must be 4 point typefaces.
    I have dual 20.5" Samgung monitors with 1600x1200 native resolution on two of my workstations. They're beautiful monitors, but I would trade even-up for the same monitor with 1280x960 native resolution. One thing that's nice about LCDs, by the way, is this. If you get ones that pivot clock- or counter-clockwise, and many do, you can easily run them in portrait mode by rotating them and changing the settings for the driver. My FrameMaker workstation has one monitor set to landscape orientation and the other to portrait mode. Try setting a 17" CRT on its sidegood luck!
    LCD monitors will ONLY look their best when the image is displayed at their native resolution, or perhaps in some cases, at a submultiple of the native resolution. For example, a 1600x1200 monitor might look OK when the graphics card is set to 800x600. In my case, that makes the icons and windows appear too large, though. Something in-between is best for me. I doubt, however, that you have a 840x525 choice, but if you do, try it.
    Sheila asks about your video cable. An LCD monitor *should* be driven by a graphics card with a DVI (digital) output. Otherwise, the signal must be converted to analog (VGA) and back to digital for display purposes. Since the image is inherently digital to begin with, converting to analog video and then back to digital has its obvious drawbacks. I'm not sure if a modern graphics card can properly identify the connected monitor though a VGA cableit's been so long since I used a CRT and a VGA card that I've forgotten.
    A CRT monitor also has a "native resolution" based on the pitch of the phosphor triads and the shadow mask in the tube. Because that was an analog interfaced world, and CRTs are relatively "soft" compared to LCDs, the effects of non-native scan rates and resolution settings were not as troublesome or as obvious as they are for LCD screens. Once you get the settings right on your LCD display, though, you will NEVER consider going back to a CRT display.
    It's probably too late to lobby for this, but if I were you, I would strive to get a "dual-head" graphics card, one with two DVI outputs, and put two identical monitors side-by-side. Once you've experienced a dual-monitor setup, you will never be happy with just one screen.
    Setting the graphics card resolution for a 16:10 aspect ratio in any other than the native resolution of the monitor will result in "aliasing" artifacts, which may be what you mean by "distortion." The simplistic way to describe the aliasing effect is that some elements of a character inevitably fall in the "cracks" between pixels. When the image resolution setting matches the native resolution, the video data from the card "lines up" perfectly with the pixels, giving the most accurate representation. The other type of distortion that you may be referring to is due to a mismatch of the aspect ration associated with an image resolution setting versus the aspect ratio of the screen. In such situations, a "truly" round circle would appear elliptical on the screen. This is what Winifred is describing. You cannot expect acceptable results with any graphics card setting whose resolution aspect ratio is , relative to the display, mismatched. You must use a setting that corresponds to the 16:10 ratio.
    Another way to understand the artifacts associated with aliasing is to imagine viewing a checkerboard through a piece of wire fencing with a square pattern laid on top of it. When the size of the squares in the fencing material are the same as the checkboard squares, you can make things line up and see all of the checkerboard. If the screen wire is a different size, then there's no way to place the wire over the checkerboard without covering some of the squares with wirethat is, unless the pattern in the fence is twice the size of the square, ot four times, and so on.

  • Is it possible to modify the tag structure tree and the role map via scripting?

    We use unstructured FrameMaker to produce training materials which we distribute as tagged PDF to meet accessibility requirements.
    When FrameMaker creates a tagged PDF, it does a fairly good job of populating the structure based on the PDF setup information for the paragraph formats in the FrameMaker documents. However, there are some limitations in the support that FrameMaker provides. For example, almost all paragraphs are assigned to the P role even if they are headings and should be mapped to H1-H6.
    We want to be able to easily post-process a PDF that has been generated from FrameMaker to fix some of the tag structure issues (including tag names and the role map) so that the PDF will provide the optimum experience for a user of the JAWS screen reader.
    I spent some time reading the SDK documentation but didn't find much information about manipulating a tagged PDF via the API, especially via scripting.
    Does anyone have any examples or references which explain how to do it?

    AFAIK, it's not possible with a script. You might want to ask in the SDK forum, as it could be possible with a plugin.

  • Overriding the DTD reference in XML

    Hi
    I have an xml file which references a dtd within the DOCType tag. The problem I have is that currently the reference is as follows:
    file:///D:/castor/castor-0.9.3.21/castor-0.9.3.21/doc/mapping.dtd
    which makes it specific to my machine. This file along with many others is packaged into a jar and deployed on a application server. Does anyone know how to make the dtd referrence more generic. i.e how can i reference a dtd which is in the jar file which is deployed to the server.
    Currently i think weblogic does this in the deployment descriptors because it references a dtd on the web but gets one locally.
    Has anybody got any ideas
    All helpis greatly appreciated
    Thanks

    i dunno if there is a generic way of writing a SYSTEM uri that would look into a jar, so:
    * using DOM, I would create my own EntityResolver that would point the parser to the DTD located in the jar.
    * using SAX, I would do the same in the resolveEntity() method of my handler.

  • How to ignore the DTD in an XML file

    I am using XMLReader as
    XMLReader parser = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    to parse an xml document. The XML has a <!DOCTYPE ....> in it which specifies a dtd file. If I do not have the dtd file on my local machine, the parser will fail. How can I tell the parser to ignore the <!DOCTYPE..> line, since I do not want it to validate against the dtd anyway?
    Thanks.

    just comment out the <!DOCTYPE> element and you will not have any problem and moreover the default behaviour of xerces is not to validate but see the well formedness .If you want to validate the xml document then do this
    parser.setFeature("http://xml.org/sax/features/validation" ,true);
    this will validate.
    hope this will help you

  • FrameMaker and Scripting?

    Hi,
    I need to make a batch process to import and format some text files. I am able to do this with InDesign javascript, but not sure about Frame. I'm not finding alot for scripting or plug-in development for FrameMaker. Does FrameMaker even allow for custom Scripts? If so, anyone know where to find a scripting guide?
    Thank you!
    Rich

    Rich,
    As a slight variation to Peter’s statement: For versions 6 through 10 of FrameMaker at the moment FrameScript IS the tool. It is 12+ years in the market and has a huge user base.
    All FrameMaker versions support API programming in C using the FDK.
    ExtendScript for FrameMaker 10 looks very promising and is currently an option for folks with experience in FDK programming as there is no documentation available at the moment that does not require you to look up certain things in the FDK documentation. I have heard Adobe is working on ExtendScript documentation.
    Bottom line: As you did not specify which version of FrameMaker you want to use, we all wrote far too much text.
    - Michael
    PS: Whatever solution you use, expect it to be completely different from the InDesign approach.

Maybe you are looking for

  • Animated gif in powerpoint

    I don't know if this is the right forum for my question, but anyway ... Does anyone know if animated gif's are (or, rather, shold be) animated in powerpoint during presentation? If so, does anyone have an idea why it doesn't work for me? Best regards

  • OES CIFS abends periodically

    Hello, Thanks in advance if anybody has an idea about the issue bellow. CIFS Log : Jul 15 00:00:33 hec1 CIFS[6637]: ERROR: CODIR: File Handle list is empty in cache entry for file: share.png Jul 15 00:00:33 hec1 CIFS[6637]: ERROR: CODIR: File Handle

  • Bug in  FABridge.as

    Hello there, While working on my project (http://code.google.com/p/gwt4air/) i ve found a bug in the FABridge.as class. I decided to post it here hoping that someone at Adobe will see this and forward it to the right folks. Here is the problem (aroun

  • Problem editing events

    I can't edit events for which I am the organizer. It gives a solution for this problem in Help--it says I most likely accessed my calendar from another email address, I need to check my address card, etc...But I have done nothing of the sort, and I d

  • Poor PDF results from FreeHand MX v.11

    When I export to PDF using Shift-Command-R, the resulting effects (glows, drop shadows, etc.) don't render as they do within FreeHand - they appear in the PDF as un-graduated transluscent color blocks (everything else in the export, including placed