Mutli-user Update of XML Resources

I have succeeded in creating a locally registered schema and defining XML documents based on this schema. Now I wish to enable WEBDAV users (other than the schema owner) to update folder content (resources). By default, because of the bootstrap ACL, users other than the schema owner only have read access to resources. Hopefully I can do this with locally (as opposed to globally) registered schemas.
So far I have attempted to apply my own ACL to my resource content by first creating an ACL resource ('/home/cu/acls/update_acl.xml') and then setting this as the resources ACL:
BEGIN
DBMS_XDB.setAcl('/home/cu/Courses/2004/C3A.xml', '/home/cu/acls/update_acl.xml');
END;
Whenever I examine the ACL against the resource:
SELECT DBMS_XDB.getAclDocument('/home/cu/Courses/2004/C3A.xml').getClobVal() FROM dual;
all I see is the bootstrap ACL and not my update_acl.xml that I have applied.
Anyone have any ideas about establishing ACLs to enable update of resource content.

You can post your question at:
XML DB
You can get help there.

Similar Messages

  • Resource account password set during User Update process.

    Hi friends,
    I added to the Update WF a step to initialize an account password when, during the update of the user, IDM creates the new resource account.
    This is an initial password (known).
    This event basically happens in two User's Update cases:
    A. when the account was (accidentally) removed from the resource
    B. when a new Role requires to add a new resource account to the user
    In both cases IDM (re)creates the user account on the resource.
    In order to set this account initial password, I check (in the Update WF) the value of 'user.update.toCreate': if it contains the resource name, then I set the pw after the account has been provisioned.
    This method fails during case B. only when, for some reason, the resource account already exists BEFORE the update starts: even if the account is already there, IDM sets 'user.update.toCreate', leading my step to reset the account password to the initial value.
    What could I check in order to avoid it? (I don't want to reset account passwords when linking existing accounts)
    The only way I see at the moment would be to query the resource at the beginning of the Update WF to check if the account is already there...
    MTIA

    Hi,
    Have you found a resolution to this problem?
    Thanks
    Edited by: sun_to_Orcl on Jan 31, 2010 8:28 PM

  • User Updates sent to Revoked Resources

    I use a GTC to provision to an email system. Today, I noticed something unusual.
    UserA had this email resource revoked, and the account was deleted. If the OIM user is modified, a modify event is sent to this revoked resource. The email system generates and error because UserA does not exist in this resource.
    I guess I have assumed that OIM would not send transactions to revoked resources by default. Is this true?
    Mike

    That's a DB Level thing, you would not want to it. GTC during configuration does all these things so that during revoke operation the Inserted Tasks gets canceled and the object status gets set to 'Revoked'.
    By the way, Is it just happening with 1 resource instance or with all those GTC instances ? ? ?

  • Loading users into a new resource

    Hi All,
    My customer is already having sun identity management system in place with five resources configured.Almost 15000 users are there.
    Now they want to add an XML Resource. This XML resource is a new resource and empty resource.
    Please suggest me the different way of loading this 15000 users in this new resource.
    Thanks
    R

    What exactly do you plan to do with the resource - reconcile, activesync, get/list users?I plan to provision / de-provision users, get users etc. All of this is working fine.
    Why does reconcile fail? Custom adapters do not differ from that provided by Sun, so you may make them do all the things the built-in adapters do.When I run re-concile for a small batch of users, I see that re-concile completes successfully but it randomly misses some users. I am trying to debug this issue as well in parallel.
    Thanks for the help so far!

  • Updating an XML file inside the Jar executable

    Hello all!
    I would like to ask how can i update an XML file that is packaged inside my jar file?
    For intstance:
    I have a Java Application in NetBeans
    Inside a package i have constructed a custom .xml file.
    I can read from this file using
    .....getClass().getResourceAsStream("/.../file.xml")and after that using XPath for querying and works fine.
    I want to update an entry in my xml file so the jar contains now the newly updated file.
    Thanks everyone who spends his time to read this. Hope someone can help me.

    Even if it were possible, it would be a bad idea. A jar file is something you deploy. It can be really hard to manage ongoing maintenance if the thing you deploy changes after you've deployed it.
    Just create a file, in an appropriate place given the user's OS, to hold data that changes after the jar has been deployed. Your application will still be in a single jar; it's just that the application will happen to create additional content outside the jar.

  • XML Resource Renderer presentation issue!

    Hi All
    I have created an XML form with 2 display RenderListItem's they are called UserView and EditorView, then I have created 2 XML Resource Renderers to state the XML Forms Transformation and they display but they look nothing like what the form created.
    Can any one help me solve this problem?
    I am sure it is something I have overlooked - I am running EP7 SP8
    Thanks all for your time!

    This is the exact problem I am having; however, the unusual thing is that I didn't have this problem in the past.  Right now, we're using an iView with the AppAnnouncementExplorer layout set (which utilizes the NewsExplorer resource renderer).  We use it because the folder that this iView displays has five subfolders in which the news items are categorized, but the user doesn't need to click on a folder name to display its contents: the contents of these subfolders are displayed on the iView (news title, author, date, and description) and all the user must do is click on the title of the news item they are interested in.  One of the folder contains Word documents instead of News items, but the links to the documents have always shown up correctly in the past using the AppAnnouncementExplorer layout set.
    However, yesterday I began developing custom XML forms using the XML Forms Builder, and now I get an XMLResourceRenderer error when this old iView tries to display the contents of the folder that contains the Word documents.  According to your instructions, this is a correct error... but I'm wondering why it worked in the past?  I even disabled my new form to that KM folder.  And is there a resource renderer that will display the contents of news/announcement items that reside in subfolders, but will still display other documents as links instead of giving an error?
    We're running EP6 SP11.  Thank you very much for any assistance.

  • Error trying to update web.xml

    I'm trying to update  web.xml via these instructions:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0eb8120-b66c-2910-5795-894f384fc054
    The upload fails, and I see this excetpion in the log:
    Caused by: java.rmi.RemoteException: Error occurred during single file update of
           application sap.com/irj. Reason: Updating the security information in the
           deployment descriptors is not allowed in this operation.; nested exception is:
         com.sap.engine.services.servlets_jsp.server.exceptions.WebDeploymentException:
           Updating the security information in the deployment descriptors is not
           allowed in this operation.
    Ideas?  I'm signing in as Administrator, so why would the operation not be allowed?
    This is a 7.0 system, and the instructions are for a nw2004 system.  We've successfully uploaded the web.xml file before, so I'm thinking that something has changed in 7.0 that's preventing the upload.

    This page of the documentation indicates that the technique is the correct case:
    http://help.sap.com/saphelp_nw70/helpdata/en/6e/8590f1d6d349c9adc34c6a8085189b/frameset.htm
    So, one of two things has happened:
    1. The documentation is in error, or
    2. A bug has been introduced.
    I'm hoping it's #2....

  • Multiple users updates the same data - RowInconsistentException

    Hi,
    I'm using JDeveloper 11.1.2.1
    Locking mode: optimistic
    Scenario:
    - Have 2 users (user 1 & user 2) running application x
    - Both users updates the same record
    - user 1 hits save first (and hence no error)
    - user 2 hits save after user 1, and gets RowInconsistentException
    I have managed to trap the exception in the EntityImpl class:
    public void lock() {
    try {
    super.lock();
    catch (RowInconsistentException ex) {
    this.refresh(REFRESH_UNDO_CHANGES);
    super.lock();
    But what this does is that it just refreshed the entities and removed user 2's work without notification, which isn't acceptable.
    Instead of this, is it possible to display an error message in user 2's UI (instead of the stack error) , refresh the entities, but keep user's 2 work, and possibly recommit?
    Thank You
    Regards,
    Andi

    Andi,
    , is it possible to display an error message in user 2's UI (instead of the stack error)You can customise the error handling, yes, to display a different message if you like (check out the Fusion Developer's Guide to find out how)
    refresh the entities, but keep user's 2 workNot sure what you mean there
    By default (at least it used to be this way, haven't checked recently), if you commit again after receiving the "row inconsistent" error, it will save user 2's changes (potentially overwriting user 1's changes)
    John

  • How to find out if a user has no more resource accounts?

    I want to check to see if a user has no more resource accounts tied to it. The only resource account left is Lighthouse and nothing else.
    Do you know how I do this?
    Thanks

    I was able to find disabled users using the below code. Does anyone know how I can find users who have only Lighthouse account and nothing else? I want to add this to the search criteria.
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='queryObjectNames'/>
    <Argument name='type' value='User'/>
    <Argument name='single' value='false'/>
    <Argument name='attributes'>
    <map>
    <s>lhdis</s>
    <s>true</s>
    </map>
    </Argument>
    </Action>

  • Logged-in user info doesn't display after the user updates their info

    I created 2 pages. Page 1 has a recordset that displays only the users username and password, I did a filter on this recordset as username = session var = MM_Username. when they click update, which is just a link to page 2, they go to page 2 which has a recordset that filters their user info the same way and allows them to update their username and password. I used an update behavior on this page as well. So, when the user updates their info it DOES change the database info and works great.
    The problem: When the user goes back to page 1 to see their updated username and password that they just updated, it is BLANK. no info displays on screen, even when I refresh the page. it's if the MM_Username var is not refreshing while logged-in. Because when the user logs out and logs back in, it DOES display new username and password on page 1.
    Now it DOES work when I take the filter off of page 1's recordset, but this won't do me any good b/c the user should of course only see their info.
    I am running DW CS3, php, and mysql.
    Please Help! thanks.

    PAGE 1
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", 
    $theNotDefinedValue = "")
       $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : 
    $theValue;
       $theValue = function_exists("mysql_real_escape_string") ? 
    mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
       switch ($theType) {
         case "text":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "long":
         case "int":
           $theValue = ($theValue != "") ? intval($theValue) : "NULL";
           break;
         case "double":
           $theValue = ($theValue != "") ? "'" . doubleval($theValue) . 
    "'" : "NULL";
           break;
         case "date":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "defined":
           $theValue = ($theValue != "") ? $theDefinedValue : 
    $theNotDefinedValue;
           break;
       return $theValue;
    $colname_rsUpdateUser = "-1";
    if (isset($_SESSION['MM_Username'])) {
       $colname_rsUpdateUser = $_SESSION['MM_Username'];
    mysql_select_db($database_kh_space, $kh_space);
    $query_rsUpdateUser = sprintf("SELECT username, parentEmail FROM users 
    WHERE username = %s", GetSQLValueString($colname_rsUpdateUser, "text"));
    $rsUpdateUser = mysql_query($query_rsUpdateUser, $kh_space) or 
    die(mysql_error());
    $row_rsUpdateUser = mysql_fetch_assoc($rsUpdateUser);
    $totalRows_rsUpdateUser = mysql_num_rows($rsUpdateUser);
    ?>
    PAGE 2
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", 
    $theNotDefinedValue = "")
       $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : 
    $theValue;
       $theValue = function_exists("mysql_real_escape_string") ? 
    mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
       switch ($theType) {
         case "text":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "long":
         case "int":
           $theValue = ($theValue != "") ? intval($theValue) : "NULL";
           break;
         case "double":
           $theValue = ($theValue != "") ? "'" . doubleval($theValue) . 
    "'" : "NULL";
           break;
         case "date":
           $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
           break;
         case "defined":
           $theValue = ($theValue != "") ? $theDefinedValue : 
    $theNotDefinedValue;
           break;
       return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
       $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
       $updateSQL = sprintf("UPDATE users SET username=%s, password=%s 
    WHERE userId=%s",
                            GetSQLValueString($_POST['username'], "text"),
                            GetSQLValueString($_POST['password'], "text"),
                            GetSQLValueString($_POST['userId'], "int"));
       mysql_select_db($database_kh_space, $kh_space);
       $Result1 = mysql_query($updateSQL, $kh_space) or die(mysql_error());
       $updateGoTo = "confirmation.php";
       if (isset($_SERVER['QUERY_STRING'])) {
         $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
         $updateGoTo .= $_SERVER['QUERY_STRING'];
       header(sprintf("Location: %s", $updateGoTo));
    $colname_rsUpdateUser = "-1";
    if (isset($_SESSION['MM_Username'])) {
       $colname_rsUpdateUser = $_SESSION['MM_Username'];
    mysql_select_db($database_kh_space, $kh_space);
    $query_rsUpdateUser = sprintf("SELECT userId, username, password, 
    parentEmail FROM users WHERE username = %s", 
    GetSQLValueString($colname_rsUpdateUser, "text"));
    $rsUpdateUser = mysql_query($query_rsUpdateUser, $kh_space) or 
    die(mysql_error());
    $row_rsUpdateUser = mysql_fetch_assoc($rsUpdateUser);
    $totalRows_rsUpdateUser = mysql_num_rows($rsUpdateUser);
    ?>

  • User can see all resources, not only Permitted for his/her Organization

    Hi,
    I have set three self-serviceable resources as Permitted Resources for a specific organization. So if I click on Permitted Resources for that organization I can see only those three...
    When an user of that organization clicks on Request New Resources, all self-serviceable resources are listed to the user, not only the Permitted Resources. I thought the user could see only the permitted resources...
    If I log as sys admin and Request Resources for an user of this organization, I can see only the three permitted resources.
    I saw the sql statement that OIM run to list the resources:
    select
    obj.obj_key,obj_name,obj.sdk_key,sdk_name, obj_order_for,obj_auto_prepop, obj_type,
    obj_allow_multiple, obj_self_request_allowed,obj_autosave,obj_allowall,
    obj_rowver, obj_note,obj_autolaunch
    from obj obj
    left outer join sdk sdk on obj.sdk_key = sdk.sdk_key
    where obj.obj_key in
    select distinct obj.obj_key from obj obj
    left outer join sdk sdk on obj.sdk_key = sdk.sdk_key
    left outer join acp acp on obj.obj_key = acp.obj_key
    left outer join oba oba on obj.obj_key = oba.obj_key
    where
    obj.obj_self_request_allowed='1' or obj.obj_key in
    select obj_key from acp where act_key in
    select act_key
    from usr
    where usr_key= 5 and acp_self_servicable = '1'
    ) and
    obj.obj_order_for = 'U' and
    (obj.obj_type='Application' or obj.obj_type='Generic') and
    obj.obj_key not in
    select pop.obj_key
    from pop pop, pol pol, pog pog, ugp ugp, usg usg
    where
    pop.pol_key=pol.pol_key and
    pol.pol_key=pog.pol_key and
    pog.ugp_key=ugp.ugp_key and
    ugp.ugp_key=usg.ugp_key and
    usg.usr_key in (5) and
    pop.pop_denial='1'
    ) and
    obj.obj_key not in (
    select distinct obj.obj_key
    from obj obj, obi obi, ost ost, oiu oiu
    left outer join orc orc on oiu.orc_key=orc.orc_key
    where
    oiu.obi_key=obi.obi_key and
    oiu.ost_key=ost.ost_key and
    upper(ost.ost_status) <> 'REVOKED' and
    obi.obj_key=obj.obj_key and
    oiu.usr_key in (5) and
    obj.obj_allow_multiple='0'
    ) and
    obj.obj_key in
    select distinct obj_key
    from pkg
    where pkg_type='Provisioning'
    As you can see in the query above, if I change the snippet below the result is what I expect.
    obj.obj_self_request_allowed='1' AND obj.obj_key in
    Did I miss to set something or doing something wrong?
    Thanks,
    Renato.

    Sorry, but I do not understand your last reply. You mentioned the following:
    for option B, even when option A is unchecked, you can set self-request only for a specific organization when assign permitted resources.
    Isnt this what you wanted? You should set the resource as permitted resources in all the organizations whose users can request that resource. I have implemented this and it works just fine. It works for both types of requests. a) My resources -> request new resources and b) Requests -> Resources -> Grant resources.
    In case of b, depending on the organization to which the selected user belongs, the Resource is displayed. all resources are not displayed.
    So the solution is to uncheck in RO and put the resource under specific organizations permitted resources and make it self-requestable. It should work fine. Let me know your exact issue if it does not work this way.

  • Help with user.update.accounts[Lighthouse].changes[roleInfos].new

    When I access user.update.accounts[Lighthouse].changes[roleInfos].new it returns a list of XMLObjects, which are the new list of roles to be provisioned in IDM. The following is an example:
    <GenericAttribute>
      <Object>
        <Attribute name='attribute'>
          <Object name='Production Server'>
            <Attribute name='directlyAssigned'>
              <Boolean>true</Boolean>
            </Attribute>
            <Attribute name='state' value='assigned'/>
            <Attribute name='type' value='BusinessRole'/>
          </Object>
        </Attribute>
      </Object>
    </GenericAttribute>I would like to execute a specific transition when a specific role is identified within work flow transition from this list. So I thought I could try the following:
    <contains>
      <ref>user.update.accounts[Lighthouse].changes[roleInfos].new</ref>
      <s>Production Server</s>
    </contains>This does not work, but in my workflow debug I see the following:
      Resolved reference user.update.accounts[Lighthouse].changes[roleInfos].new = [Corporate Domain Administrator
      assignedBy = [Information Security Specialist]
      assignmentType = conditional
      state = assigned
      type = ITRole
    , Employee Production
      assignedBy = [Information Security Specialist]
      assignmentType = required
      state = assigned
      type = ITRole
    , IT Organization
      assignedBy = [Information Security Specialist]
      assignmentType = required
      state = assigned
      type = ITRole
    , Information Security
      assignedBy = [Information Security Specialist]
      assignmentType = required
      state = assigned
      type = ITRole
    , Information Security Specialist
      directlyAssigned = true
      state = assigned
      type = BusinessRole
    , MachineEX bzncvs02ex
      assignedBy = [Information Security Specialist]
      assignmentType = conditional
      state = assigned
      type = ApplicationRole
    , MachineEx bznsa02ex
      assignedBy = [Information Security Specialist]
      assignmentType = conditional
      state = assigned
      type = ApplicationRole
    , MachineEx bznwsint01
      assignedBy = [Information Security Specialist]
      assignmentType = conditional
      state = assigned
      type = ApplicationRole
    , Technology Organization
      assignedBy = [Information Security Specialist]
      assignmentType = required
      state = assigned
      type = ITRole
    ]My question is how can I check for something specific in XMLobject list similar to the following or Java code?
    <contains>
      <ref>user.update.accounts[Lighthouse].changes[roleInfos].new</ref>
      <s>Production Server</s>
    </contains>

    I solved my problem and wanted to share the solution with yall
    1. First off the modifications are stored in a task instance, which is passed to the workflow engine
    variables.user.update.accounts[Lighthouse].changes[roleInfos].new2. I created a class to parse the list of changes which are stored as XMLobject in a task definition
    public Boolean roleChangeValidation(List<GenericAttribute> changes, String roleid)
              String type = "MANUAL";
              Boolean returncode = false;
              if (changes != null) {
                   Iterator<GenericAttribute> it = changes.iterator();
                   do {
                        if (!it.hasNext())
                             break;
                        GenericAttribute change = it.next();
                        GenericObject value = change.get();          
                        String name = value.getName();
                        if(this.Debug)
                             System.out.println(type + ":" + name);
                        if(value.containsValue(roleid))
                             if(this.Debug)
                                  System.out.println(name);
                             returncode = true;
                   } while (true);
              return returncode;
         }3. I added the following actions to the update workflow, which passes the Roleid I am looking for and returns true if found.
    <Action id='1' name='Validate Privileged Role'>
      <expression>
        <block>
          <defvar name='zRoleChange'>
            <new class='com.generic.util.zRoleChange'>
              <Boolean>true</Boolean>
            </new>
          </defvar>
          <set name='_tokencheck_'>
            <invoke name='roleChangeValidation'>
              <ref>zRoleChange</ref>
              <ref>user.update.accounts[Lighthouse].changes[roleInfos].new</ref>
              <s>Production Server</s>
            </invoke>
          </set>
        </block>
      </expression>
    </Action>Edited by: OlympicAdmin on Feb 24, 2010 12:39 PM

  • Updating a XML document with a processing instruction

    Greetings Guru's
    I have a fully functional XML database solution for our new system. The only thing left is for me to update a xml document in the database with a processing instruction to find the style sheet (JAXB strips it out when the XML must go back into the database).
    I can update complete nodes and node elements in the xml document using updateXML in a regular update statement, but I do not know how to add the following processing instruction to my documents.
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    [pre]
    Thanks in advance
    Derrick                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmlText := '<Hello>World</Hello>';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> drop table t
      2  /
    drop table t
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> create table t of xmltype
      2  /
    Table created.
    SQL> set long 10000
    SQL> --
    SQL> insert into t values (xmltype(:xmltext))
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    SYS_NC_ROWINFO$
    <Hello>World</Hello>
    SQL> update t set object_value = updateXML
      2                              (
      3                                object_value,
      4                                '/',
      5                                xmlconcat
      6                                (
      7                                  xmlpi("xml-stylesheet",'type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"'),
      8                                  object_value
      9                                )
    10                              )
    11  /
    1 row updated.
    SQL> select * from t
      2  /
    SYS_NC_ROWINFO$
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    <Hello>World</Hello>
    SQL>

  • Need to update the xml clob-pls pls help!

    my xml is stored as blob, i can view,do string manipulation and churn out data etc...but now i have a request where i need to find some particualr node and modify its value.
    here is what i m doing now which works.
    select compressor2.blob_decompress2(xml_data) into l_blob
    from tablename where id=2008890;
    clob_data := utl2.blob2clob(l_blob);
    parser := xmlparser.newParser;
    xmlparser.parseClob(parser, clob_data);
    doc := xmlparser.getDocument(parser);
    nl := xmldom.getElementsByTagName(doc, '*');
    len := xmldom.getLength(nl);
    dbms_output.put_line('Length : ' || len);
    tag_name := 'Node Verson : ' || xmldom.getVersion(doc)|| '<br>';
    for counter in 0..len-1
    loop
    tag_name := '';
    node := xmldom.item(nl, counter);
    parent_node := xmldom.getParentNode(node);
    child_node := xmldom.getfirstchild(node);
    tag_name := 'Parent Name : ' || xmldom.getNodeName(parent_node) || '<br>';
    tag_name := tag_name || 'Node Name : ' || xmldom.getNodeName(node) || '<br>';
    IF xmldom.getNodeType(child_node) = xmldom.TEXT_NODE THEN
    tag_name := tag_name || 'Node Value : ' || xmldom.getNodeValue(child_node)|| '<br>';
    ELSE
    tag_name := tag_name || 'Node Value : Node has child.No Node value.' || '<br>';
    END IF;
    tag_name := tag_name || 'Node Type : '||xmldom.getNodeType(child_node) || '<br>';
    ele_name := xmldom.getDocumentElement(doc);
    child_nl := xmldom.getElementsByTagName(ele_name,'*');
    IF xmldom.isNull(doc) THEN
    htp.p('Document is null');
    ELSE
    htp.p(tag_name);
    END IF;
    end loop;
    b_blob := utl.clob2blob(tag_name);
    select compressor2.blob_compress2(b_blob) into b_blob2 from dual;
    insert into xupdate values (2008890,b_blob2);
    i still need to know how to update the xml clob... i want to know how to find the particular node and then modify the clob with the new value. rest i can update the table.
    pls pls help..on this.

    my oracle version.
    10.2.0.1.0
    i want to update here..
    <?xml version="1.0" encoding="utf-8"?>
    <TestData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <Status>CompletedNormally</TestCompletionStatus>
         <ComputerName>DUILT10</ComputerName>
         <StartTime>2008-03-19T15:12:23</StartTime>
    ---Some more noded----
    <Parameters>
              <RangeMeasured>
                   <Name>PDissBol-5[C]</Name>
                   <Min>1.22</Min>
                   <Max>1.36</Max>
                   <Units>W</Units>
              </RangeMeasured>
              <TextMeasured>
                   <Name>ComputerName</Name>
                   <Value>DUILT10</Value>
              </TextMeasured>
              <RangeMeasured>
                   <Name>TrackError25[C]To-5[C]</Name>
                   <Min>0.031</Min>
                   <Max>0.041</Max>
                   <Units>dB</Units>
              </RangeMeasured>
              <RangeMeasured>
                   <Name>Power-5[C]</Name>
                   <Min>1.988</Min>
                   <Max>1.061</Max>
                   <Units>dBm</Units>
              </RangeMeasured>
    ---some more noded---
    </Parameters>
    </TestData>
    the file is huge.
    what i need to chang==>
    I 1st need to find this PDissBol-5[C] within the <Parameters> Node and then change its <Min> and <Max>
    and then update the table.
    pls pls suggest.

  • How to Create a Button for Reader Users to Save XML Data File?

    The "Submit via Email" tries to launching the local email software, like outlook express. But public computer tends to use internet emails.
    I am thinking of creating a button, allowing the reader users to save xml data filled in the form (same as the "submit via email" produces) somewhere.
    anyone has a clue?
    Thanks a lot!

    You could create the shortcut at one machine, then copy it to the target as part of the logon script. Note also that this line contains an error:
    "C:\Users\%userprofile%\Desktop\Org_chart_test.lnk"
    It should read:
    "%userprofile%\Desktop\Org_chart_test.lnk"

Maybe you are looking for