Is there a way to modify the schema-mapped XML that is generated by the submit action prior to submission?

I have a form created in LiveCycle ES2. I have mapped some fields to a schema that causes LC to generate XML that adheres to the import format of one of my company's internal databases.
There is one problem: the system's import function looks for a DTD DOCTYPE declaration between the XML declaration and root element. I've tried including the declaration in the schema, but LC does not include it in the mapped values or the export. I've spoken with the vendor about declaring the DTD as part of the import function and they have given a firm "No."
Is there a way to insert one line of markup into the XML that LC generates in the submit action before the XML is attached to the e-mail?

Thanks for pointing me at those. Worked like a charm. My stylesheet ended up looking like this (in case anyone is curious later on):
<?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
        <xsl:template match="/">
            <xsl:text disable-output-escaping="yes">
&lt;!DOCTYPE name SYSTEM "http://location/DTD/name.dtd"[]&gt;
            </xsl:text>
            <xsl:copy-of select="root node"/>
        </xsl:template>
    </xsl:stylesheet>

Similar Messages

  • [CS2 on Windows XP]: Is there a way to modify the JPG compression in an SVG?

    Hello,
    I have got an EPS file.It contains some text, some paths, and a rastered image.
    Saved as a JPG with moderate compression it is 125KB in size. For an EPUB I want to insert is as an SVG. But when I save it as an SVG (text being converted to paths) it is over 600 KB and thus exeeding the 300k limit that exists for files within an EPUB container.
    Is there a way to have the JPG stream in the SVG more compressed? The W3C spec of the SVG format doesn't say anything about a fixed compression level, so I guess the compression can be varied. But Illustrator CS2 doesn't seem to have any appropriate setting.
    Best regards,
    Christian Kirchhoff

    If anyone is interested, I got an answer on StackOverflow
    here.
    Adrian

  • Is there any way to modify the photo book size after I have created the book?

    I created a photo book then realized it was not the correct size. Is there a way to correct the size or do I have to start from scratch?
    I Found the answer after I posted this- CTRL D to duplicate, then choose new theme - Worked like a charm.

    Yes.  First click on the book in the Projects section and type Command +D (duplicate).  Open the book, click on Change Themes and in the next window select the size and type you want.
    The duplicate is to have in case you find any text that was removed in the resizing.  You can cut and past from the duplicate copy to the original.  Also verify that the resized book has all of its text, not text warning indicators and that all photos are there and in the correct order.
    Always create a PDF version of the book according to this Apple doucment, iPhoto, Aperture: Previewing an order in iPhoto or Aperture, to check for any errors, i.e. typos, missing text, etc., before ordering the book.  Keep the pdf file to compare with the printed version when it arrives.
    Opps!  Answered your question from the title without reading the full body of your post. However, the last 2 paragraphs are worth reviewing.
    OT
    Message was edited by: Old Toad

  • Is there a way to change the default action for clicking a "Print" button on a website to open Print Preview instead of the default system printer?

    When I am at a website that contains a button for printing (Gmail, for example), is there a way to change the way that functions, so that when I click "Print", Firefox will open Print Preview instead of taking me to the default system printer?

    You can apply  system-wise "negative" color effect under Settings > General > Accessibility, by toggling the White and Black switch - and, in iCab Mobile (and some other, better browsers / PDF readers), its own "night mode" negative color scheme.
    Otherwise, no, you can't do anything else except for asking third party app authors to add selectable back/froeground (=text) colors to their apps.
    There is an article dedicated to this question: http://www.iphonelife.com/blog/87/do-you-find-your-idevices-screen-be-too-blueis h-or-just-too-harsh-bedtime-reading

  • Is there any way to repeat the last action on a new selection?

    I'm playing with Pages to see if I can use it instead of Word. I'm very expert with Word, just starting with Pages. Like some things, don't like some, but I think it's worth continuing to play with it to see if it will work for me. One problem I've been having is repeating an action. In Word, if you do something (in the particular situation I just had, it was deleting a row in a table), and then click on another place and do command-Y, it repeats what you did. Similarly, if you format a word as bold, say, and then select another word and do command-Y the second word will also be made bold. I realize the latter can be done in pages by selecting "emphasis" style for the second word, but I couldn't figure out any work-around for deleting the table rows (I tried selecting several non-adjacent rows, but "delete row" was greyed out on the actions menu). Any way to do this that I've missed?

    Thanks anyway. I'm sorry that Apple didn't include a "repeat" keyboard shortcut - going to the Inspector and then the actions wheel and then "delete row" time after time wasn't fun.
    I'm afraid I failed to communicate well about outline format - I didn't mean a bulleted or numbered list, I do know how to do that, but rather making a single character (or in my particular interest a symbol, the diamond and heart suit symbols) appear in outline text format. You can do it by going to format->font->outline, but if I want to do it for several occurrences of the same thing (or a few different things), it's not much fun to do it that way. But maybe I can define a character format that's outline and that will work. Still would prefer to have a keyboard shortcut to apply the character format though.
    Incidentally, while I'm talking about diamonds and hearts, is there any way to change the amount of space that gets put in after the diamond and heart symbols if you insert them using Edit->Special Characters? I write a lot of documents that use those symbols and lines end up unevenly spaced because of the large amount of space below each symbol (I've figured out a partial work-around - I defined a style for "body after suit symbol" that is raised enough to get the line spacing right, but that only works when I want to have a hard return at the end of the line with the suit symbols, since if the lines wrap, both lines have to have the same paragraph formatting. This problem isn't really Pages related - I have the same difficult with Word .

  • Is there a way to modify the style sheet so that it transforms an XML document with empty tags as tag / ?

    I have extracted some code from codeproject to
    reindent an XML document. Does anyone know how I can modify the stylesheet to make it so that the transform of an XML file will result in empty tags showing up as <tag /> instead of <tag></tag>?
    // http://www.codeproject.com/Articles/43309/How-to-create-a-simple-XML-file-using-MSXML-in-C
    MSXML2::IXMLDOMDocumentPtr FormatDOMDocument(MSXML2::IXMLDOMDocumentPtr pDoc)
    LPCSTR const static szStyleSheet =
    R"!(<?xml version="1.0" encoding="utf-8"?>)!"
    R"!(<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">)!"
    R"!( <xsl:output method="xml" indent="yes"/>)!"
    R"!( <xsl:template match="@* | node()">)!"
    R"!( <xsl:copy>)!"
    R"!( <xsl:apply-templates select="@* | node()"/>)!"
    R"!( </xsl:copy>)!"
    R"!( </xsl:template>)!"
    R"!(</xsl:stylesheet>)!";
    MSXML2::IXMLDOMDocumentPtr pXmlStyleSheet;
    pXmlStyleSheet.CreateInstance(__uuidof(MSXML2::DOMDocument60));
    pXmlStyleSheet->loadXML(szStyleSheet);
    MSXML2::IXMLDOMDocumentPtr pXmlFormattedDoc;
    pXmlFormattedDoc.CreateInstance(__uuidof(MSXML2::DOMDocument60));
    CComPtr<IDispatch> pDispatch;
    HRESULT hr = pXmlFormattedDoc->QueryInterface(IID_IDispatch, (void**)&pDispatch);
    if (SUCCEEDED(hr))
    _variant_t vtOutObject;
    vtOutObject.vt = VT_DISPATCH;
    vtOutObject.pdispVal = pDispatch;
    vtOutObject.pdispVal->AddRef();
    hr = pDoc->transformNodeToObject(pXmlStyleSheet, vtOutObject);
    //By default it is writing the encoding = UTF-16. Let us change the encoding to UTF-8
    // <?xml version="1.0" encoding="UTF-8"?>
    MSXML2::IXMLDOMNodePtr pXMLFirstChild = pXmlFormattedDoc->GetfirstChild();
    // A map of the a attributes (vesrsion, encoding) values (1.0, UTF-8) pair
    MSXML2::IXMLDOMNamedNodeMapPtr pXMLAttributeMap = pXMLFirstChild->Getattributes();
    MSXML2::IXMLDOMNodePtr pXMLEncodNode = pXMLAttributeMap->getNamedItem(_T("encoding"));
    pXMLEncodNode->PutnodeValue(_T("UTF-8")); //encoding = UTF-8
    return pXmlFormattedDoc;
    Or, if there is some other method for reindenting a MSXML2::IXMLDOMDocumentPtr object where I can specify how I want empty tags to be stored, that would be great too.  However, I don't want it to lose its status of an MSXML2::IXMLDOMDocumentPtr object.
     I.e. I would like to still perform operations on the result as if it was still an MSXML2::IXMLDOMDocumentPtr object.
    Thanks,
    A
    Adrian

    If anyone is interested, I got an answer on StackOverflow
    here.
    Adrian

  • Is there a way to modify the bass levels that are output from the built in iMac speakers?

    For example, in the settings of the iPhone, you can change the EQ to Bass Boost. Is there such an option on the iMac?

    It's here in iTunes 11:

  • Is there a way to get the ImageReady Actions into PS CS4?

    Recently I made the jump from cs2 to cs4 and I miss ImageReady.  I know the animation in built into CS4 but what about the cool actions that i liked so much... zoom in, zoom out and the spinning and such.  Where can I find actions like to use in CS4 animations?....is there a way to get them from ImageReady and install them into CS4?
    Thanks,
    Rick.
    I am sure I will have more questions in the near future

    Adobe wants you to buy another of their applications to do animations, so ImageReady disppeared without trace .
    There are ways of doing animations in CS4 but I doubt that your actions will work any more.

  • Is there a way to have the same action listener for few buttons?

    guys, lets say i have button1, button2 and button3
    how do i add the same action listener for 3 of them. doing 3 different action listener is very tedius! my assignment have almots 100 buttons but I need their action listener to be the same.

    Hi,
    Your class needs an action listener, so add implements ActionListener to you class creation string.
    Then on each button set an action command;
    button1.setActionCommand(BUTTON1);Now add an listener;
    buttons1.addActionListener(this);Finally create a method to perform a task
    public void actionPerformed(ActionEvent e)
       if (e.getActionCommand().equals(BUTTON1))
           xxxx   
      }This should do the trick.
    adelebt

  • Is there a way to modify the name displayed in the Title Bar at the top of the Audition Window?

    It's not uncommon for me to have a copy of Audition versions 1.5, 2.0 and 3.0 all open at the same time if I'm doing some editing for a complex project. 
    It would be handy for me to quickly see which window I have open without having to recognise the icons of the different versions.  At the moment, each Title Bar just displays the Audition icon and the words "Adobe Audition".  I'd like to add the version number to the name, if it's possible.  I'm happy to edit the Windows Registry, if that is what is needed.
    Does anybody know where the Title Bar information is stored?

    I have an answer you might like Howard.
    You could simply export one title to a PRTL file, then duplicate it using an Excel VB macro to change the name of the file based on a list in an excel file. You could type in a couple of dates, then just drag down to the 365th row and all of the dates would be there waiting for the macro to rename the file. Then, if you are really talented, you could find the appropriate text in the XML file and change it to match the name of the title, but without the PRTL extension.
    That way the font and position and style would all be right and the effort would be in a file you could share with the world.
    Hmmm. I might have to try that myself one of these days. Could come in handy. If you are more comfortable with Word than Excel, create the dates in Excel and paste them into a table in Word. Just be careful not to mess up the
    Edit: Oh, and of course, you import the titles back into Premiere Pro.

  • Is there a way to modify the delivery Quantity before Packing takes Place?

    Here is the story.
    ATP is currently allocating partial delivery unit qty's is the Sales order schedule lines. This is causing numerous problems from a business and logistical standpoint and I have yet after weeks of searching found a solution.
    The standard ABAP User exits all make the modifications before the qty is known, or after packing therefore making them not useful. I have debugged the enhancement points and those also seem to not allow for the modification of the delivery qty.
    Has anyone every successfully been able to do this.  Help is dearly needed at this point.
    Thanks in advance for any suggestions.
    Regards,
    Christopher

    Thanks for pointing me at those. Worked like a charm. My stylesheet ended up looking like this (in case anyone is curious later on):
    <?xml version="1.0" encoding="UTF-8"?>
        <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
            <xsl:template match="/">
                <xsl:text disable-output-escaping="yes">
    &lt;!DOCTYPE name SYSTEM "http://location/DTD/name.dtd"[]&gt;
                </xsl:text>
                <xsl:copy-of select="root node"/>
            </xsl:template>
        </xsl:stylesheet>

  • Is there a way to modify the file name when clicking the pdf button to be different

    I wish to have the default name to something like document type_document #.

    Hi,
    Only possible when you export through File--->Export--->PDF. If you directly click PDF icon, system will store with default format.
    Thanks & Regards,
    Nagarajan

  • About iCal - is there a way to changes the fonts in iCal, or to modify the fonts in a single event?

    Is there a way to modify the fonts in iCal. I would particularly like to enlarge specific events to make them more noticeable and to even make some of them a bold font to further call attention to them while using iCal. Any help?

    archaeo,
    Unfortunately there are no user options for using other than the default font in iCal. The only font option available in iCal is the "Make Text Bigger/Smaller" View option, but only if you are using the Lion version of iCal.
    I suggest that you provide iCal Feedback.

  • I need to change the size of the view for easier reading.  Is there a way to make the page view larger without affecting the form?

    Hi Guys, good product beginning however it's not as good as many of the other Adobe product's workspaces.  I cannot change the size of the view during form design work, so it's a visual strain to work in Forms Central.  Is there a way to modify the view (not affecting the width, size or font when presented on website or on paper)?

    In Photoshop CC 2014 (Windows only) it is possible to use a setting of 200% to scale the UI. On some monitors it improves readability and on others it cuts part of the application screen. To give it a try go to:
    Edit >> Preferences >> Experimental Features
    Put a check-mark in the box and click OK
    Then close PS and re-start for the change to take effect.

  • Is there a way to change the Pending warning message

    I am working on an enterprise wiki site collection, and for the versioning setting i defined that the content requires approval, and any user can see the pending pages. so when users add/edit a wiki page they will get the following message at the top of
    the page:-
    so my question is how i can modify the message text, because i defined that any user can read the pending pages, so the default warning text become misleading "Visitiors can not see this page until it is approved.."?.
    so is there a way to modify the warning message ?

    Changing that message would change it everywhere in the farm, which is probably not what you want.  I would suggest creating a short JQuery script that executes on page load and swaps out the message in the DOM to what you want the message
    to say.  That way you can do it only within the context of your Enterprise WIKI.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.
    so is there any helping links to write such a jQuery ? as seems this is a bug in sharePoint , as the warning message will not be consistent with the versioning settings (if we specify to allow all users to see pending contents!!)

Maybe you are looking for

  • Logic Board for 500 in 600 machine?

    Have an ibook 600 mhz with dying logic board. Can I replace with a 500mhz logic board? Actually, I already tried and it doesn't boot, altho the hard drive whirs. Any ideas on whether i've messed up the installation or if it is just incompatible? Than

  • How do I get back to HD when I selected backup HD that won't boot up?

    Bootup from external HD failed.  Now I have a blank screen when I turn my computer on.  How can I return to my internal HD? 

  • Is my AOL screen name too long for AIM on the iPhone?

    My current screen name is 14 characters and for some reason i'm having all types of problems with AIM on the iphone. My buddy list wont load, my friends don't get IM's, i can't save new buddies, etc. I tried logging on with my old screen name from a

  • Illustrator CS6 crashes when GOM Player is on

    Whenever I have an open video file with GOM Player (my vide file player) Illustrator will casually crash upon opening, Illustartor would load completely and then just crash. The same thing would happen if Illustrator is open and I want to open a vide

  • Create automatically Activity (type E-Mail) with BAPI?

    Hello Experts, we have an requirement that we have to create automatically an activity of type E-Mail (for expample transaction type CX03) and then sent this E-Mail to an User which is outside of the company. It will be a contact person of the client