Help creating a form on xmltype

Howdy,
I would like to create a form on an xmltype column and be able to update the tags.
I have a view with the tags extracted from a clob column.
CREATE OR REPLACE VIEW CONFIGURATION_V AS
SELECT ROWNUM AS ROWNUMBER,
EXTRACTVALUE(xmltype(data),'//@value[../@key="FIX_CON_CLASSNAME"]')AS FIX_CON_CLASSNAME,
EXTRACTVALUE(xmltype(data),'//@value[../@key="FIX_HOST"]') AS FIX_HOST,
EXTRACTVALUE(xmltype(data),'//@value[../@key="FIX_PORT"]') AS FIX_PORT,
EXTRACTVALUE(xmltype(data),'//@value[../@key="FLAT_FILE_DB"]') AS FLAT_FILE_DB,
EXTRACTVALUE(xmltype(data),'//@value[../@key="FLAT_FILE_DIR"]') AS FLAT_FILE_DIR,
EXTRACTVALUE(xmltype(data),'//@value[../@key="FLAT_FILE_POLL_DUR"]') AS FLAT_FILE_POLL_DUR,
EXTRACTVALUE(xmltype(data),'//@value[../@key="HEALTH_MONITOR_CRITICAL_DISK_SPACE"]') AS HEALTH_MON_CRITICAL_DISK_SPACE,
EXTRACTVALUE(xmltype(data),'//@value[../@key="HEALTH_MONITOR_PERIOD"]') AS HEALTH_MONITOR_PERIOD,
EXTRACTVALUE(xmltype(data),'//@value[../@key="HEALTH_MONITOR_WARNING_DISK_SPACE"]') AS HEALTH_MONI_WARN_DISK_SPACE,
EXTRACTVALUE(xmltype(data),'//@value[../@key="JMS_JDBC"]') AS JMS_JDBC,
EXTRACTVALUE(xmltype(data),'//@value[../@key="JMS_JDBC_ID"]') AS JMS_JDBC_ID,
EXTRACTVALUE(xmltype(data),'//@value[../@key="LiveTradeSession"]') AS LiveTradeSession,
EXTRACTVALUE(xmltype(data),'//@value[../@key="LOG_LEVEL"]') AS LOG_LEVEL,
EXTRACTVALUE(xmltype(data),'//@value[../@key="Root"]') AS Root,
EXTRACTVALUE(xmltype(data),'//@value[../@key="Save"]') AS Save,
EXTRACTVALUE(xmltype(data),'//@value[../@key="SAVEINCOMING"]') AS SAVEIMCOMING,
EXTRACTVALUE(xmltype(data),'//@value[../@key="Side"]') AS Side,
EXTRACTVALUE(xmltype(data),'//@value[../@key="STDOUT"]') AS STDOUT,
EXTRACTVALUE(xmltype(data),'//@value[../@key="SubID"]') AS SubID,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TM_HOST"]') AS TM_HOST,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TM_PORT"]') AS TM_PORT,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TM_PORT2"]') AS TM_PORT2,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TradeDB"]') AS TradeDB,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TradeDBDriver"]') AS TradeDBDriver,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TradeDBPwd"]') AS TradeDBPwd,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TradeDBSession"]') AS TradeDBSession,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TradeDBUsr"]') AS TradeDBUser,
EXTRACTVALUE(xmltype(data),'//@value[../@key="TRADEMONITOR"]') AS TRADEMONITOR,
EXTRACTVALUE(xmltype(data),'//@value[../@key="UserDB"]') AS UserDB,
EXTRACTVALUE(xmltype(data),'//@value[../@key="UserDBDriver"]') AS UserDBDriver,
EXTRACTVALUE(xmltype(data),'//@value[../@key="UserDBPwd"]') AS UserDBpwd,
EXTRACTVALUE(xmltype(data),'//@value[../@key="UserDBUsr"]') AS UserDBUsr,
EXTRACTVALUE(xmltype(data),'//@value[../@key="UserSession"]') AS UserSession
from config
I know i will need an instead of trigger on the config table to update from a view.
Is it feasible to to build a form xml tags in APEX?
Thank you.
-chris

You will need something else as well... an XMLTYPE column (instead off a CLOB column), but I guess due to using APEX this isn't an option. If only they already had built it in (XMLType support that is).
Anyway, have a look at the SECOND part of the Oracle XMLDB Forum FAQ - here is a shortcut: Relational Views of XML Content.

Similar Messages

  • Re: Help creating digital forms from paper forms on a mac

    This is a pretty general question but does anyone know of a way to create a digital form from a scanned paper form on a mac? I know that people use software such as Nuance's Omniform on the Windows platforms but I can't seem to find such a program for the mac. Is there someway to pull this off using Adobe PDF files? I would appreciate any help you guys can provide.
    Thanks,
    Stu

    You can use Filemaker Pro and in the Layout section you drag "fields" around to represent any form you wish, draw lines and boxes, place pictures just like a page layout program but it's a database program.
    You can then use these "fields" in any layout you wish, each record in the database will change the associated fields accordingly, name, address, phone etc etc.
    I haven't used it in awhile, so I don't know if you can import a scan of a present paper form or not for a template, but it's rather easy to copy by measuring with a ruler.
    Filemaker Pro so happens to be owned by Apple, but it's a seperate company, so you know it will work well.
    If that's to much money for you, you can check out Appleworks, but I hear Apple isn't putting out any more updates for it, no Mactel version.
    As always, learn to clone that boot dive before disaster strikes
    http://homepage.mac.com/hogfish/Personal11.html

  • Help creating a form in Dreamweaver CS3

    Hello, I am trying to insert a form in order for people to
    fill out their info, submit (and a re-set button for info if
    needed), and for the form to go to a specific email address.
    I have the table created (i just copied and pasted from a
    sample online)
    How can i create this? I am pretty new at this :)
    I am attaching the code to what i copied and pasted.
    Please help, thanks!!

    You can make a form in DW but you need a server-side script
    to process the
    information for you. Suggest you look at one of the
    formmail.php scripts.
    Dont bother with anything old like formmail.cgi.
    http://www.dtheatre.com/scripts/formmail.php
    for example.
    James Loudon
    www.fatgraphics.com
    websites::photography::video
    "jeannette villarreal" <[email protected]>
    wrote in message
    news:[email protected]...
    > Hello, I am trying to insert a form in order for people
    to fill out their
    > info,
    > submit (and a re-set button for info if needed), and for
    the form to go
    > to a
    > specific email address.
    > I have the table created (i just copied and pasted from
    a sample online)
    > How can i create this? I am pretty new at this :)
    > I am attaching the code to what i copied and pasted.
    > Please help, thanks!!
    >
    >
    >
    >
    > Here is what I have copied and pasted so far:
    > <td align="left" height="25" width="175"> Full
    Name:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation" s-display-name="Full
    > Name"
    > b-value-required="TRUE" i-minimum-length="2" -->
    > <input name="Name" size="31" tabindex="1"
    > type="text" />
    > </td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175"> Phone
    > Number</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation" s-display-name="Phone
    > Number" b-value-required="TRUE" i-minimum-length="10"
    -->
    > <input name="Phone" size="28" tabindex="2"
    > type="text" />
    > </td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175"> Address
    > Line
    > 1:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation"
    > s-display-name="Address
    > Line 1" b-value-required="TRUE" -->
    > <input name="Address1" size="36" tabindex="3"
    > type="text" /></td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175"> Address
    > Line
    > 2:</td>
    > <td align="left" height="25" width="475">
    > <input name="Address2" size="36" tabindex="4"
    > type="text" /></td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175">
    City:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation" s-display-name="City"
    > b-value-required="TRUE" -->
    > <input name="City" size="28" tabindex="5"
    > type="text" /></td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175"> State /
    > Province:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation" s-display-name="State"
    > b-value-required="TRUE" -->
    > <input name="State" size="28" tabindex="6"
    > type="text" /></td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175">
    > Country:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation"
    > s-display-name="Country"
    > b-value-required="TRUE" -->
    > <input name="Country" size="28" tabindex="7"
    > type="text" /></td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175"> Zip
    > Code:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation" s-display-name="Zip /
    > Postal Code" b-value-required="TRUE" -->
    > <input name="ZipCode" size="28" tabindex="8"
    > type="text" /></td>
    > </tr>
    > <tr>
    > <td align="left" height="25" width="175"> E-mail
    > address:</td>
    > <td align="left" height="25" width="475">
    > <!--webbot bot="Validation" s-display-name="E-mail
    > Address" b-value-required="TRUE" -->
    > <input name="Email" size="28" tabindex="9"
    > type="text" />
    > </td>
    > </tr>
    > <tr>
    > <td width="175"> </td>
    > <td width="475"><p> <br />
    > <input value="Submit" name="b1"
    > tabindex="10"
    > type="submit" />
    > <input value="Reset" name="B2" tabindex="6"
    > type="reset" />
    > </p></td>
    >

  • Iscripts - Need help creating a form in one

    I am confused about delimiting in iscripts. I need to create the fiollowing form:
    In iscript named IScript1
    in function: buildform
    buildform has these two inputs, firstname and lastname
    the action of the form is also in iscript1 function getinputs
    iscript getinputs will just print out the firstname and lastname
    Could I get some help with this?
    Thanks, Allen Cunningham

    Your site is running on an Apache server, so it definitely doesn't support ASP. Apache frequently supports PHP, but I couldn't tell from the headers sent by your server whether it's supported on your site.
    I suggest that you contact BT Business support to see if they offer a formmail script. Most hosting companies do. The support pages should describe how to set it up.

  • Need help creating a form

    We use forms now that are printed for us and we hand write the information on them.
    They "carbon copy" themselves onto the same form of different color (ie; white copy, yellow copy)
    We would like to develope a form that will "carbon copy" iself to additional copies.
    the "carbon copies" don't have to be different colors we could simply put a separate header on each page for where that copy needed to go.

    FormsCentral does not support this kind of functionality.

  • Need help creating a form using show/hide functionality

    I'm tring to add javascript to a drop down box so that, when a selection has been made in the drop down box, it will display a image/button. I need the drop down box to have a default value that will hide all images/buttons.
    The list in the drop down box is going to be a list of products e.g. product A, B, C, and the default value to be "please select a product..."
    Can this be done in Acrobat Pro X? If so can someone point me in the right direction?
    Cheers

    Your site is running on an Apache server, so it definitely doesn't support ASP. Apache frequently supports PHP, but I couldn't tell from the headers sent by your server whether it's supported on your site.
    I suggest that you contact BT Business support to see if they offer a formmail script. Most hosting companies do. The support pages should describe how to set it up.

  • I want to create a form in IWeb can you help?

    I need to create a form page in Iweb on my website for visitors to complete and submit back to me.
    A Club membership application form.
    Anyone able to help??

    There are online form sites that you can use like JotForm, Wufoo, etc.  Jotform creates some very nice looking forms which you can embed into an iWeb page.  The free package gives you 100 submissions per month and 10 SSL secure submissions per month.  Over those numbers you will need to pay a monthly fee. 
    Here are examples of Jotform and Wufoo forms: Embedding Forms
    Or you can create your own Form Action form which uses the visitor's own email client to send the information. This is not best integrated method to obtain the information.   An example of this type of form is also on the page linked to above.
    OT

  • Created PDF form in Acrobat XI Pro, but HELP fields disappear when I save FCDT file to PDF. Please help. Thanks!

    Created PDF form in Acrobat XI Pro, but HELP fields disappear when I save FCDT file to PDF. Please help. Thanks!

    I am not aware of a field type "Help" within a PDF form. I do not see it as a form field that can be added in the form edit mode.
    Forms Central forms do not support all the features of Acrobat forms.
    Are you talking about the "Tool Tips" or a hidden field that only shows when one enters a field and is hidden upon exiting the field.

  • Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again

    Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
    Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page.

  • Hi, i had created a form on adobe forms central,  but i don't have access to the results now.  any help would be appreciated.

    Hi, i had created a form on adobe forms central,  but i don't have access to the results now.  any help would be appreciated.

    Hi massif76198910,
    I don't see that you had a paid FormsCentral account. Were you using the free account? If so, you should still have access to the form until FormsCentral is retired on July 28 2015,
    Are you able to log in? Or do you get an error when you try to log in to your account? Please try clearing the browser cache, or logging in via a different browser.
    Best,
    Sara

  • Help with creating a FORM Newbie Question

    Hi,
    I have created a FORM which is inserted into the database. I am a little bit confused to acquire the data from database when a user clicks on search button to check if this profile is already in the database.
    Please let me know if there is any TUTORIAL which can help me with this project.
    Thanks in advance to everyone.
    Regards,
    Venkatesha

    Venkatesha,
    I'm not sure I can give you too much help based on this limited information.
    I assume you created an Insert Record form with the Devloper Toolbox's Insert Record Form Wizard. I'm not sure if you are wanting a separeate search page where the user can check if a profile is already there before they try to fill out the form or if you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database.
    If you want a separate search page for checking profiles, you would need to hand code that page with a form to allow the person to check the profile by entering a value and then your code would query the database to see if there was a match. You could probably use the Custom Form Wizard to do some of that.
    If you want the page with the form on it to check and see if a user with that profile exists before it inserts the form info into the database, you would need to create a Custom Trigger on the Insert Record page. This Custom Trigger would need to be set to execute BEFORE the Insert operation. You would need to hand code the Custom Trigger to check the database for matching profiles and throw an error if it finds a matching one.
    Unfortunately, both these options require some hand PHP coding. For info on how to add Custom Triggers with ADDT, read the documentation provided with the ADDT software. Search the forums and tutorial pages for more detailed help.
    Shane

  • Help with validation on a manually created tabbed form

    version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form that I'm having trouble creating validation on.
    The page is a Resource Staffing page where PM's can forecast the Resources that will be needed for various projects. The forecast can be for 12 - 18 months.
    The requirement is to display a message to the user if they are trying to save a row without forecasting any time. It's possible they may not know how may Resources or the length of time needed when the row is created.  If they respond that they want to save the row without time the MRU will create the record. If they answer that they do not want to save the row they are returned to the page without loss of information.
    The month fields on the page are defaulting to 0 (zero).
    I've updated the Save button to Redirect to URL and in the URL Redirect I have: javascript:confirmNoTimeSaved()
    The javascript:
    [code]
    function confirmNoTimeSaved()
        var arr_jan,arr_feb,arr_mar,arr_apr,arr_may,arr_jun,arr_jul,arr_aug,arr_sep,arr_oct,arr_nov,arr_dec = new Array();
            arr_jan = document.wwv_flow.f07;
            arr_feb = document.wwv_flow.f08;
            arr_mar = document.wwv_flow.f09;
            arr_apr = document.wwv_flow.f10;
            arr_may = document.wwv_flow.f11;
            arr_jun = document.wwv_flow.f12;
            arr_jul = document.wwv_flow.f13;
            arr_aug = document.wwv_flow.f14;
            arr_sep = document.wwv_flow.f15;
            arr_oct = document.wwv_flow.f16;
            arr_nov = document.wwv_flow.f17;
            arr_dec = document.wwv_flow.f18;
        for(i = 0; i < arr_jan.length; i++)
            if(arr_jan[i].value == 0 && arr_feb[i].value == 0 && arr_mar[i].value == 0
                && arr_apr[i].value == 0 && arr_may[i].value == 0 && arr_jun[i].value == 0
                && arr_jul[i].value == 0 && arr_aug[i].value == 0 && arr_sep[i].value == 0
                && arr_oct[i].value == 0 && arr_nov[i].value == 0 && arr_dec[i].value == 0)
                txt = 'You have no time assigned to your Forecast. Do you want to save this Forecast without time entered?' + '\n' + '\n' + '"Yes" to save the Forecast.' + '\n' + '"No" to return with no changes.';
                caption = 'Confirm Saving With No Time';
                vbMsg(txt,caption)
                switch (isChoice)
                    case 6:
                        doSubmit('SUBMIT');
                        break;
                    case 7:
                        doSubmit('CANCEL2');
                        break;
            else
                doSubmit('SUBMIT');   
                break;
    </script>
    <script language="VBScript">
    <!--
    //Yes    = 6
    //No     = 7
        Function vbMsg(isTxt,isCaption)
            testVal = MsgBox(isTxt,vbYesNo,isCaption)
            isChoice = testVal
        End Function
    //-->
    </script>
    [/code]
    The 'CANCEL2' is just a Branch I'm using to branch back to the page without clearing Cache. I do have 'Cancel' button on the page and the Branch created for that clears the Cache.
    While debugging the javascript I get into the VB Script on the testVal = MsgBox(isTxt,vbYesNo,isCaption) line and the browser crashes.
    Can someone help with this requirement?
    What additional information can I provide?
    Thanks,
    Joe

    The code above is my attempt at this requirement, however, the browser crashes when it gets to the VBScript on the MsgBox call. I don't have to use this approach. Does someone have an idea how to solve this?
    Thanks,
    Joe

  • I have created a form which needs to be completed once a week for 6 weeks. On completing week 1, weeks 2 - 6 are completed at the same time with week 1 information. please help?

    I have created a form which needs to be completed once a week for 6 weeks. On completing week 1, weeks 2 - 6 are completed at the same time with week 1 information. please help?

    Hello, thanks for replying.
    Yes they just copy to the next page, the fields are the same. The document is an observation to school lessons so it needs to be consistent but with different data on.

  • Need help creating a simple form in Dreamweaver CS3!!

    I'm trying to create a form in Dreamweaver CS3, and while I have the form built I'm confused as to how to make it actually function.  What I'm trying to do is create a form that when the visitor clicks submit, the data is emailed to me.  Can someone help me figure out how to accomplish this?
    Thanks so much!

    Ute's answer is spot on - you need a FormMail script to process the form.  Check with your host (or via the control panel) and see if they supply such a form for free.
    If not, google for "formail script' and you'll find quite a few available - all free to use.
    You just need to add a couple of lines to your html code, change a few things in the formmail script and the form will process.  Sounds complicated but most scripts come with a help file to help you get off the ground.
    Nadia
    Adobe® Community Expert : Dreamweaver
    http://www.perrelink.com.au
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    http://csstemplates.com.au/
    http://twitter.com/nadiap

  • Need help creating form that people have to submit to access a page

    hello,
    I am trying to create a form that people would have to fill out and submit to access a specific page. The info they fill out would have to go to an email address. Does anyone have the simplest solution for this? It wouldn't have to be stored in a database just go to an email. Any help would be appreciated. I'm not to great with the backend of things.

    Thanks for getting back to me. What I have is a pricing page. The feedback form is so we can see who views or is interested in services. We want only people who fill out this form to be able to view it. I have created simple contact forms that are sent to an email and directed to another page. The problem I am having is trying to figure a way to where hopefully if the same person comes back they won't have to fill out the form again. I know if they fill out the form and create a user name/login it could be a possible fix but I am trying to make it simple. I am just starting to learn PHP/XML (which I have copied from another sources) and haven't written my own. Maybe creating a cookie that is checked once the page is loaded? I have no idea how to do that either though... I am a front end "designer" and a lot of this is greek to me.

Maybe you are looking for