X ways to modify xmltype

As I can understand xmltype is "readonly" by nature in oracle particularly in respect to "xmltype" tables.
I do-
select value(t) from "xml_table" t,
that's all I can do with "xml_table" in most cases and it's not very middle tier friendly which requires bunch of processing to get exactly the same xml but with "xmlns:xsi" declaration for example.
How I can modify xmltype stored in xmltable before returning to client(replace(string,,,) is not an option for big clob documents)? Something like lightweight DOM support(XSL is not too heavyweight approach IMHO)-add attribute as simpliest case maybe.
Any thoughts,ideas?

You can either remove the PDF/A status from the file by preflighting it in Acrobat X Pro, or disable PDF/A View Mode under your general preferences (Edit / Preferences / Documents). The latter should only be done temporarily, as PDF/A documents are displayed differently than normal files, and the View Mode ensures they work as intended (though the side-effect is a read-only view).
To clear the PDF/A header with Preflight, open the Tools Pane, Print Production panel (if it's not visible, choose it from the corner menu) and click Preflight. Under "PDF/A Compliance" run the "Remove PDF/A information" fixup by clicking "Analyze and fix" and save the file. Nothing else about it will be changed.

Similar Messages

  • Best way to modify built-in components?

    What's the best way to modify the built-in classes? I want to
    have full control over the code, so sub-classing won't work.
    Maybe the best way is to copy the source into my project
    directory, i.e. Button.as if I want to change the default Button?
    But I ran into a problem: Flex Builder cannot find Version.as. I
    tried adding framework/src/mx/controls (the folder than originally
    contains Button.as) to the additional source folders (Properties
    > flex build path) but it still can't find it...
    Thanks a lot for the help.

    Google for "flex monkey patches"!

  • Best way to modify Sequential Process Model for report generation.

    I am using the Sequential Process Model in my application and the TestStand Reference Manual, (Figure A-1), clearly shows the following processing sequence:
    ...<part removed>
        Call the Test Sequence
        Display the UUT results
        Generate a Report
        Log Result to a Database
    ...<more removed>
    I want to generate the report BEFORE displaying the results to the operator, or at a minimum, I want to generate the report in parallel with displaying the results to the operator.  Currently, the problem I have is that when the test is done I have some automated scripts that take the data file and do some statistical processing on it, but the way the Sequential Process Model is set up, the test might finish but until the operator acknowledges the PASS/FAIL results display, the resulting file is never created.  It could be overnight, over the weekend, or several days before an operator comes back and says, "Oh that last test finished, I guess I can press the OK button!", but until they do, I get no data.  So I want the report generated no matter what, and right after the test finishes.
    Any ideas as to how that might be best accomplished?
    Thanks a billion -  Ski (noob)

    Ray,
    Is that new in 4.2 that the engine won't call a callback with nothing in it?  I just did it and it seemed to work fine.  I'm using 4.1.1 though.
    Ski,
    Maybe there is a better solution for what you want.  Are you using the SequentialModel?  What version of TS do you use?  Why does the report have to be written before the pass/fail banner displays?  The pass/fail banner gets displayed in the PostUUT callback.  Like Ray said if you just put that in your client sequence you won't see the banners.  However, I'm assuming there is more to this than just that.  I'm assuming you want to see the report because of your external analyzer that is gathering the statistical data.  And then based on that data you want to allow the user other options.  Is this correct? 
    If so then I would override the PostUUT callback and then use a different callback (possible the ProcessCleanup callback) to displaly the banners.  You could even do this without modifying the process model (which I always try to avoid).  Just override both the PostUUT and ProcessCleanup callbacks.  And then put code in the ProcessCleanup to behave like you need.
    Or if you want you can modify the process model and create a new callback lower in the process model.  Then have that new one do the post report analysis.
    Just some thoughts.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Is there a way of Modifying OptionsList Table

    Hello,
    I am trying to create a metadata field that uses optionlist. Some of the values are longer than 50 varchars, so I wanted to know if there was a way to override the 50 varchars in the OptionsList table. When I try to go to the Configuration Manager and edit the OptionsList table. After allowing me to change the values and clicking ok, I am getting a message saying 'Unable to alter OptionsList table, OptionsList is a system database table'
    Is there another way of fixing this problem? Thank in advance for any help.

    Hi
    One way of doing this would be to go to DB and from there modify the length of the column of the table. Also you may have to change the datatype to one that can accommodates such long field lengths.
    Alternately create a view on the table that you are going to change and then start tampering with the data on the view.
    Thanks
    Srinath

  • Is there a way to modify multiple PO lines in PeopleSoft 9.1?

    Our users may need to modify the Contract on construction POs with 80+ lines. Obviously, doing this line by line is time-consuming. Has anyone developed a way to do this either through on-line or batch?

    what do you mean when you say PO ?
    Santosh
    http://peoplesoftconcept.blogspot.com

  • Way to modify the employee's information (enhanced InfoType) in MSS?

    In MSS General Information/ Related Activity area, the manager can modify the employee's information (Addr. Family Member, etc.), as it is a standard module.
    Now we have an enhanced InfoType in ECC backend, and want to make it can be modified by the manager through MSS like the other information(Addr. Family Member, etc.).
    Is there a way to realize this?
    Thanks very much.
    ps. We don't have the NWDI environment. EP 7.0  SP10.
    Weiming

    General notes
    1. You really should have error checking after most lines
    2. You don't need to get the field ids every time.
    Something is wrong in your implementation or description. Or both.
    You are attempting to get an object from the array. Then you modify the data in it. Then you set it back into the array.
    You don't create a new object anywhere.
    So which is it? Is the array empty or is it populated with objects and you are just setting the data in each? The code suggests both (obviously illogical.)

  • Proper way to modify existing files?

    Hi! I'm writing a small package for my own purposes to install some keyboard options I want to add to X. I am adding some files to /usr/share/X11/xkb/, but I also need to modify /usr/share/X11/xkb/rules/evdev, /usr/share/X11/xkb/rules/evdev.lst, and possibly /usr/share/X11/xkb/rules/evdev.xml. The modifications are small -- two or three lines generally, but I'm not sure what the best way to make these modifications are.
    Based on what I can find on the wiki, I can proceed one of two ways:
    * I can create a patch for the files, apply the patch during build() to the source files, and then put them into the package to replace the existing files.
    * I can add a .install file, which either applies the patches after install, or uses echo ... >> to add the appropriate lines to the files.
    I'm not sure if I'm missing something, or what the best way to apply these changes is? Which of these options is the cleanest to back out of? And how does pacman handle possible interactions with other packages that might want to modify the same files?
    I'm tempted towards the second option because if I use the various hooks it might be easier to back out of the changes?
    Thanks,
    Ricky

    Neither of these are sane ideas. If you want to modify files which are owned by a package (any package) and not part of the backup array, you have a few options:
    1) rebuild the package owning the files with your changes. you'll have to do this for every release.
    2) rebuild the package with those files in the backup array. now you're free to change them and they won't be clobbered on upgrade. But, you'll still need to do this every release.
    3) change the files anyways, and add them to NoUpgrade in /etc/pacman.conf
    package install scriptlets are not meant to be used to arbitrarily modify files.

  • Any way to modify document safely?

    If you extend AbstractDocument (at some level), and you want to write a method that does a whole lot of operations on a document at once...like cutting, pasting, changing attributes, etc.. in one method call, is there ANY way to be able to do this safely (without the chance of another thread changing the document while you're working on it.)
    You can't use readLock() obviously, you also can't use writeLock() since all the lower level methods (that you DEPEND on) also use writeLock() before modifying the document, and calling writeLock() from a thread that already has the lock throws an exception.
    You can't control all edit paths since you don't have access to the undo stuff, otherwise you could add your own level of locks.
    Why in the world was AbstractDocument designed this way? It makes it virtually useless to extend it for functionality since all the functionality is effectively confined in AbstractDocument.

    Why "obviously"? The JavaDoc says:
    @exception IllegalStateException thrown on illegal lock
    attempt. If the document is implemented properly, this can
    only happen if a document listener attempts to mutate the
    document. This situation violates the bean event model
    where order of delivery is not guaranteed and all listeners
    should be notified before further mutations are allowed.
    So if you're getting the exception, you're doing it wrong.

  • [bug tracker issue] Any way to modify the bug detail of mine?

    Greetings,
    I just found i can't modify the bug report  after i reported a new bug in the bug tracker of archlinux.
    it is quite inconvent and weird, since it's quite common that you want to update the bug detail or change something wrong. 
    at least , in my opinion. -_-
    so Is any reason for such restirction?
    and is any way to make me modify my bug report?
    -Roadt
    Last edited by roadt (2009-12-28 06:55:52)

    Just add  your update as a comment.

  • Does anyone know a way to modify "Default Settings" printer preset?

    I use enough different presets that I find that the "Last Used" preset for printing if often what not what I really want.
    (Background: I save a number of different profiles for different types of print jobs, so that I can select "Color Production" as a preset, for example, and get a number of printer settings configured as once, like Color Settings, Quality, Color, and duplexing.  These are set and selected using the "Presets" picker in the Print dialog box.  One can use the picker to save and view settings as well.)
    Am I correct in that there doesn't seem to be a way to change the "Default Settings" preset?  The "Show Presets" pick in Presets doesn't offer the ability to change the presets, and the "Default Settings" preset can't be deleted here, unlike the user set presets; it also isn't possible to save a preset as "Default Settings".
    Ideally, changing the default would let me check the box to always use the default (as default), but this way I would have my own defaults.  Just wondering whether I'm missing something obvious - I've tried the modifier keys trick clicking on things, and also the CUPS subsystem at localhost:631.

    jptrovato wrote:
    Does anyone know a way to make a Dell 3110cn Color Laser Printer fully compatible with a Mac operating system?
    Go to the dell support site and download and install the most current drivers for your pring and operating system.

  • Any Way to modify a users Library / Font as admin?

    The Users account Takes around 25-45 minutes to login...
    Im sure that the user has multiple Corrupt fonts and need to replace all of them with known good fonts.
    After the log in window the Desktop Background Image shows the Blue Spot light icon show up but noting else loads.. for around 25-45 minutes...
    Working at a News Paper the User has 1345 font's under her user account... While we only use around 500 fonts normally..
    using any other account login takes around 15 seconds or so.
    Should I try Safe mode and Nuke her fonts that way.. Or is it possible for me to modify her library font file form my admin account?
    Thanks

    Open the Terminal in the /Applications/Utilities/ folder and run the following:
    sudo mv /path1/ /path2/
    where path1 is the current location of the folder or file targeted and path2 is the desired location of it. This command will prompt for the administrator password, which won't produce anything in the Terminal.
    (35583)

  • What is the best way to modify the closed captioning button to read "FR" instead of "CC"

    I'm considering using Flash to modify the button text for the CC button in one of the playbars.
    Just wanted to know if there is a better way than hacking the playbar fla file.
    And if this is the only way, if there are publishing settings to watch out for with the swf file output.

    Other than hacking it from Flash, you can insert a button (Labelled FR) to appear for your project and user can click on it to toggle the Closed Caption on/off, you can use the cpCmndCC variable, 0/1, Enable/disable closed captioning (CC). You can keep the Closed Caption button unchecked from Skin.
    This should be easier, I guess.
    Alternately, you can learn in depth about customzing Playbars here --
    http://blogs.adobe.com/captivate/2010/11/playbars-demystified.html
    Good luck.
    Thanks,
    Anjaneai

  • Is there a way to modify Incase Mini Car Charger so it will fit into iPhone 5s in a case?

    I should have read the reviews in the Apple Store before buying the Incase Mini Car Charger before I bought it: the material around the lightning connector is much thicker than that in the Apple cable (which broke after not much use) and won't fit into the 5s with the case I have on the phone. Is there a way to "shave" the rubbery material to make this work?

    dumdidadida: Thanks for your reply, but it doesn't address the problem. HSTS is designed to FORCE the use of https, this is a good thing in most cases. However, HSTS is problematic in that it incorrectly assumes that all users trust the default list of CAs and makes the adding of exceptions impossible even by advanced users.
    torprojec.org is just an example, this effects every HSTS site. You can reproduce this problem yourself in version 17 or later if you temporary disable "DigiCert High Assurance EV Root CA" in your certificate store and then visit torproject.org. You will notice the ability to add exceptions has been removed and that the cert_override.txt file found in the user's profile is also ignored.

  • Any way to modify an app to another sort of readable (not from ipod/ipad) document?

    i downloaded an app - it's a shopping guide i wrote - is there any way to change the file type so that i can view it as a pdf or any other sort of readable (not from ipod/ipad) document?

    No, that is not possible. If you wrote the app, though, then you have all the content. You'll need to take that content and assemble it into a document which you can then turn into a PDF. You might want to consider recasting your app as an iBook. With iBooks Author you can create interactive books as well as PDFs of the same content.
    Regards.
    Message was edited by: varjak paw

  • 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

Maybe you are looking for