Replacing original xml

I have a page that I would like to replace in the mds repository.
But when I give an import command it is automatically put in another folder called customizations in the mds repository.
Is there anyway to overwrite the standard page deifnition in MDS.
thanks

I was mistakes, the customization folder only contains personalizations.
This is the import statement
C:\jdevhome\jdevhome\jdev\myprojects\oracle\apps\csf\portal\dashboard\webui\CsfDashBoardPG.xml -rootdir C:\jdevhome\jdevhome\jdev\myprojects
userId 1 –rootPackage /oracle/apps/csf/portal/dashboard/webui -mmddir "C:\jdevhome\jdevbin\jdev\lib\ext\jrad\config\mmd" -username "apps" -password "apps" -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=*****) (PORT=1542))(CONNECT_DATA=(SID=****)))" -includeSubpackages -jdk13
(hostname etc i got from TNSNAMES)
Also I looked at XMLImporter syntax, should we give this under jdevbin/jdev/bin in the local command prompt?

Similar Messages

  • Why doesn't this replace the XML in my file?

    I am trying to write some code that replaces some XML in a file. The first part works (opening the file, locating the XML, replacing it). When I save the file, it contains the original XML not the modified XML.
    I used the Get XML method to retrieve the text I wanted to change, Setting the Value property of the node doesn't seem to work but I don't know what else to try - I need the equivalent of a 'Set XML' invoke node but I haven't found it.
    Any ideas? Am I even close?
    (I'm new to XML and manipulating it in LabVIEW and I'm glazing over now so ideas which don't involve reading another 20 documents would be really appreciated, thank you  )
    Attachments:
    Replace XML in file snippet.png ‏70 KB

    Well, Darin was first and I had same idea with XPath... So I'll post it anyway, just for the sake of effort taken
    Actually, using XPath does not require "20 documents", it is quite easy, so I'd recommend you to take a look at it if you're going to use XML.

  • Replacing web.xml values with a deployment plan.  Not working on WL 10.3.2

    Hi All-
    I am trying to replace a value from web.xml with one in a weblogic deployment plan. I deployed the application on WL 10.3.2 and used the deployment plan below. No matter what I do it doesn't seem to want to take the value.
    web.xml:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <context-param>
    <param-name>TokenGroup</param-name>
    <param-value>oldvalue</param-value>
    </context-param>
    </web-app>
    Deployment Plan:
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd"
    global-variables="false">
    <application-name>APPName</application-name>
    <variable-definition>
    <variable>
    <name>TokenGroup</name>
    <value>Key123456</value>
    </variable>
    </variable-definition>
    <module-override>
    <module-name>APPName.war</module-name>
    <module-type>war</module-type>
    <module-descriptor external="false">
    <root-element>web-app</root-element>
    <uri>WEB-INF/web.xml</uri>
    <variable-assignment>
    <name>TokenGroup</name>
    <xpath>/web-app/context-param/[param-name="TokenGroup"]/param-value</xpath>
    <operation>replace</operation>
    </variable-assignment>
    </module-descriptor>
    </module-override>
    </deployment-plan>
    I've also tried other formats for the xpath such as:
    /web-app/context-param/{param-name="TokenGroup"}/param-value
    /web-app/context-param[param-name="TokenGroup"]/param-value
    Any ideas why this doesnt work?
    Thanks,
    Joe

    "web.xml"
    <?xml version='1.0' encoding='WINDOWS-1252'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <context-param>
    <param-name>name</param-name>
    <param-value>Joe</param-value>
    </context-param>
    <context-param>
    <param-name>password</param-name>
    <param-value>password</param-value>
    </context-param>
    <servlet>
    <servlet-name>ParameterServlet</servlet-name>
    <servlet-class>ParameterServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>ParameterServlet</servlet-name>
    <url-pattern>/ParameterServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    ParameterServlet
    import java.io.IOException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class ParameterServlet extends HttpServlet {
    private String dbName = "";
    private String dbPassword = "";
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    ServletContext context = getServletContext();
    dbName = context.getInitParameter("name");
    dbPassword = context.getInitParameter("password");
    public void doGet(HttpServletRequest req, HttpServletResponse res)
    throws IOException {
    ServletOutputStream out = res.getOutputStream();
    res.setContentType("text/html");
    out.println("<html><head><title>Basic Servlet</title></head>");
    out.println("<body>Database username is <b>" + dbName);
    out.println("</b><br>Database password is <b>" + dbPassword + "</b>");
    out.println("</body></html>");
    "Plan.xml"
    <?xml version='1.0' encoding='UTF-8'?>
    <deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
    <application-name>virtual</application-name>
    <variable-definition>
    <variable>
         <name>name</name>
         <value>akshay1</value>
         </variable>
         <variable>
         <name>password</name>
         <value>koul1</value>
         </variable>
    </variable-definition>
    <module-override>
    <module-name>virtual</module-name>
    <module-type>war</module-type>
    <module-descriptor external="false">
    <root-element>web-app</root-element>
    <uri>WEB-INF/web.xml</uri>
         <variable-assignment>
              <name>name</name>
              <xpath>/web-app/context-param/[param-name="name"]/param-value</xpath>
              <operation>replace</operation>
         </variable-assignment>
         <variable-assignment>
              <name>password</name>
              <xpath>/web-app/context-param/[param-name="password"]/param-value</xpath>
              <operation>replace</operation>
         </variable-assignment>
    </module-descriptor>
    </module-override>
    <config-root>C:\DOCUME~1\user\LOCALS~1\Temp\user\.\config\deployments\virtual\plan</config-root>
    </deployment-plan>
    It works for me... I think your "web.xml" is causing the issue.
    Try replacing
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    with
    <?xml version='1.0' encoding='WINDOWS-1252'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    Hope this helps.
    -Akshay

  • Hide or Import Original XML?

    I have an original XML file that is being imported into InDesign and transformed with XSL and I want the original structure to be included (it is required for export and re-ingestion into a CMS) but I want to only show the XSL transformed data while retaining the original XML. Is there a way to hide XML tags or reimport the orginal XML file at export (maybe scripting?) in InDesign?
    As an example, I have an XML file that looks like this (actual XML will contain many more fields, this is an example):
    <Object>
    <id>3425</id>
    <name>Title of object</name>
    <description>A description</description>
    <extraTag1>Some extra tag not needed in InDesign but required for re-importing</extraTag1>
    <extraTag2>Some extra tag not needed in InDesign but required for re-importing</extraTag2>
    <Content>
    <Content>Some body text required</Content>
    <relatedObjects>
    <relatedObject id="234" />
    <relatedObject id="244" />
    </relatedObject>
    </Content>
    </Object>
    that will be transformed into something like this (with an XSL file on import):
    <Object>
    <id>3425</id>
    <title1>Title of object&#13;<title2>A description</title2></title1>
    {* Combination of name and description tags from original XML above *}
    <body>Some body text required</body>
    {* Pulled from Content/Content path of original XML above *}
    </Object>
    When I export the XML data from InDesign I need the original XML structure to be exported (using the data above re-mapped to the original structure). That is why I need to know if there is a way to hide tags (so I would stuff the original XML into a hidden tag that would be ignored by InDesign except for export). Or perhaps is there a way, programattically or does InDesign pass parameters to the XSL file, that allow for importing the original XML file on export through JavaScript or XSL?
    Put simply, I either need to hide the orginal XML in the transformed XML upon import or be able to have a path to the original XML passed to the export XSL file so I can restructure the data the way it came in... any ideas?

    You don't say whether you intend to make changes to the XML that's imported into InDesign. Presumably you are, otherwise there's no need to get it back out, correct?
    If you are doing an XSLT transform on the XML imported into InDesign, you'll have to do the "reverse" transformation via XSLT on export. This unless you aren't modifying the XML data in any way.
    "Hiding" isn't possible because two XML entities can't refer to the same InDesign element. Importing both the transformed and original XML is useless for the same reason: InDesign will update one but not the other.
    Are you certain that you need to transform the XML to use it in InDesign?
    HTH, Charles

  • How can we find the original XML Name of a Field

    Hi All,
    Just like the Reports To Field has XML Name as *[<ManagerFullName>]*
    Can anyone tell me how I can find the Original XML Name for the "Reports To (Alias)" User field?.
    Thanks in advance,
    Royston

    My scenario is that,
    When a user saves a new campaign I want to change the owner of this campaign to the user he reports to i.e(Manager Alias) Since the Owner field takes the Alias Name.
    To achieve this I have created a workflow to assign that Campaign to the Manager.
    Here is the Code snippet
    The triggering event is : Before modified record is saved.
    action is Update Field Owner with UserValue('<ManagerAlias>')
    Unfortunately its not accepting the ManagerAlias field....I have tried a similar scenario with the <ManagerFullName> field and its working fine.
    Thanks,
    -Royston
    Edited by: Royston Goveia on May 12, 2009 9:59 PM

  • Elements 9-cant edit, save and replace original like i used to. Setting issue?

    I have had Elements 9 for a few years and ive always been able to edit and save and replace original if I wanted.... now when I save, my organizer shows the same file # twice. (example:  DSC325)
    but one is the orginal and one is the edited version.
    If I delete the orginal picture, it now also deletes my edited version.
    The only way to avoid is to "save as" on EVERY picture and then go back and delete the orginal unedited version.
    Did I accidentally change a setting????

    Yes I have 9.03
    I use Fix... Full Photo Edit
    I used to be able to hit SAVE... reaplce photo?  Yes... and then the orginal was gone and the newly edited picture was now named the original file #.  But now when I do that I get two pictures named THE SAME.  So I have to do SAVE AS , change file name, and then go and delete the orginal photo.
    Here are settings when SAVING.
    Here is what DSC_0523 now looks like in organizer:  it shows 2 of the edited picutre with the same name... instead of replacing it and showing only ONE file. 

  • Append an element to the original xml file

    Guys,
    I have the original xml file.
    Can i add some element, i mean child node, to that file?
    if so could anyone tell me please.
    currently i'm using JDOM to process XML thing.
    Many Thanks :)
    Ty

    Im having trouble with writting to the actuall file too. I can scan xml and find nodes and attributes that I want to change, I change them, and it seems to work because if I get them with like element.getAttribute I can see the value I just set, but the file hasent changed a bit. Good luck with the solution, if you find one can you post it here, I'd be so gratefull...Cheers.

  • Original xml from child nodes

    I need to be able to get a String with the original xml for all the child nodes once I traverse a DOM tree and find a particular node.

    Use the method suggested above, but unless you've done it before it might not be obvious how to get it into a string.
    Here's the trick:
    // Create a StringWriter
    StringWriter sw = new StringWriter();
    // Wrap the StringWriter with a PrintWriter
    PrintWriter pw = new PrintWriter(sw);
    // Print the node, passing the printwriter
    yourNode.print(pw);
    // Retrieve the string result from the underlying stringwriter
    String theXMLText = sw.toString();

  • Does Apple replace original iPad batteries anymore?

    Does Apple replace original iPad batteries anymore?

    I'm not sure I recall that there were any problems with the battery. Had there been Apple would have issued a recall or reduced price replacement.
    They will give you a refurb if one is available. Otherwise, their policy is to issue a refurb that is the next model.
    They aren't going to charge you a fee then not provide the service. If there is nothing they can do, then they will tell you outright.

  • How much if replace original battery iphone 5S?

    My iphone battery suddenly decrease from 100% to 90% in 2-3 minutes. So how much if i do replacement original battery at Authorised Service Provider. Please assist me..

    Your 5s is still under warranty.  Take it to Apple or authorized service center, in the same country in which the phone was purchased new, and they will exchange it free, it they can verify the problem.
    https://locate.apple.com/country

  • Replace original document

    Hello
    I started a new form convertet from a word document. I have then put in lots of text boxes with tool tip text etc (lots of work). I now see that i have to make changes to the original word document but i dont want to start all over. Is there a way for the Livecycle designer to replace the old with the new document and still keep all the text boxes etc that i have added allready?

    Hello Paul
    Thx m8, that helps alot. At least i dont have to make it all over again. I think there should be such a update solution, dont you?.
    Another question while i got you "hooked"
    When the user returns the form i only get xml as a return option. Is there another solution, such as the user pressing submit form and i get it back in a normal pdf form (only filled out)
    Thanks in advanced :)

  • MacBook hard drive is full again. Replaced original hard drive with a Samsung SSD 840 Pro Series 256GB hard drive about 18 mo. ago, but my MacBook is now already saying that my hard drive is full again.  13in. Alum. Late 2008 MacBook

    My MacBook hard drive is full again. I have a 13in. Aluminum, Late 2008 MacBook, and about 18 months ago (in October 2013), I replaced the original hard drive with a Samsung SSD 840 Pro Series 256GB hard drive. However, my MacBook is now already saying that my hard drive is full again.  When I check "System Information," under "Storage," it states the following:  Audio 52.02 GB; Movies 33.68GB; Photos 43.13GB; Apps 14.76 GB; Backups 174.4 MB; and Other 96.39GB.
    Also, at home, I have an Apple Time Capsule 4th Generation 2TB that I use as my wireless router, and I also use it for automatic backup via Time Machine.  And when I first purchased Time Capsule, the first time I connected Time Capsule, Time Machine asked if I would like to use it to back up my files, and I clicked, "Use as Backup Disk."  And that's really all I've ever done with Time Capsule.
    In addition, I also have a LaCie Porsche Design P'9223 1TB external hard drive.  I have copied my MacBook's hard drive onto my LaCie external hard drive.
    Does anyone have any suggestions?  Obviously the Audio, Movies, Photos, and Apps are taking up a lot of space... Any suggestions re: what I can do with Audio, Movies, Photos, and Apps?  And what about the Other?  Other is taking up 96.39 GB. What is Other, and what can I do about it? 
    And what about partitioning my hard drive... Is that something I should do?  Should I partition, or configure, my MacBook's internal hard drive differently?  And should I partition, or configure, my external hard drive?  And if I need to partition, or configure, my MacBook's internal hard drive differently, how do I setup Time Machine to backup per any such changes?  Same thing for my external hard drive?   
    13in. Aluminum, Late 2008 MacBook, 250 GB (with upgraded Samsung SSD 840 Pro Series 256GB hard drive)
    Processor 2.4 GHz Intel Core 2 Duo
    Memory 2 GB 1067 MHz DDR3
    OS X 10.9.5
    plus
    Apple Time Capsule 4th Generation 2TB
    LaCie Porsche Design P'9223 1TB external hard drive
    Thank you for your help.

    Partitioning makes no sense. You have a drawer full of stuff. Split it into two smaller drawers and you have two smaller drawers full of stuff.
    Decide what you can store on external storage - your iPhoto/Aperture/Lightroom libraries can all be stored on externals, as can your iTunes Libraries and so on. Do you need to carry 30 gigs of movies with you all the time? You  can get portable drives the size of an iPhone these days.

  • Replace the XML Tags which are in binary format in 4.6C Version

    Hi Experts,
    I have an issue. I am working on 4.6 c version of sap. I have a requirement to send  ftp of an xml file. I created an internal table which has components of table type too ( For Line items ). After appending a record of sales order into the table I am using   SDIXML_DATA_TO_DOM ( To attach the to the document ) and SDIXML_DOM_TO_XML ( To convert the document contents into XML ( Binary Format ).
           CLASS cl_ixml DEFINITION LOAD.
          g_ixml = cl_ixml=>create( ).
          CHECK NOT g_ixml IS INITIAL.
          m_document = g_ixml->create_document( ).
          CHECK NOT m_document IS INITIAL.
          CALL FUNCTION 'SDIXML_DATA_TO_DOM'
            EXPORTING
              NAME               = 'xmldata'   " data in character format
              DATAOBJECT         = xmldata[]
           IMPORTING
             DATA_AS_DOM        = l_dom
           CHANGING
             DOCUMENT           = m_document
           EXCEPTIONS
             ILLEGAL_NAME       = 1
             OTHERS             = 2
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CHECK NOT l_dom IS INITIAL.
          w_rc = m_document->append_child( new_child = l_dom ).
          IF w_rc IS INITIAL.
          WRITE 'OK'.
          ELSE.
          WRITE: 'ERR ='.
          ENDIF.
          CALL FUNCTION 'SDIXML_DOM_TO_XML'
            EXPORTING
              DOCUMENT            = m_document
            PRETTY_PRINT        = ' '
            IMPORTING
              XML_AS_STRING       = w_string
              SIZE                = w_size
            TABLES
              XML_AS_TABLE        = it_xml   " Final XML data ( with xml tags ( xml tags are the field names of internal table ) ) in bin
            EXCEPTIONS
              NO_DOCUMENT         = 1
              OTHERS              = 2
          IF SY-SUBRC = 0.
          WRITE 'OK'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
          WRITE: 'ERR =',
          sy-subrc.
          ENDIF.
    So, it_xml has the binary format of XML data.
    Now the requirement is that I need to get rid of some XML tags in the final internal table XML data. Because by default, at the start of the the table row the <item> and </item> tags are inserted. This is automatically done in the Function module
    SDIXML_DOM_TO_XML.
    I want to find out the binary string of <item> and </item> and replace them by null binary string. I know how to replace the character strings but not for binary strings in 4.6 C.
    It is little bit urget. I would appreciate the quicker answer.

    Hi,
    check this program , I think this will help you
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
    data(256) TYPE x,
    END OF xml_line.
    data : itab like catsdb occurs 100 with header line.
    data : file_location type STRING.
    data : file_name like sy-datum.
    data : file_create type STRING.
    file_name = sy-datum .
    file_location = 'C:\xml\'.
    concatenate file_location file_name into file_create.
    concatenate file_create '.XML' into file_create.
    DATA: l_xml_table TYPE TABLE OF xml_line,
    l_xml_size TYPE i,
    l_rc TYPE i.
    select * from catsdb into table itab.
    append itab .
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER =
    I_FILENAME =
    I_APPL_KEEP = ' '
    I_XML_DOC_NAME =
    IMPORTING
    PE_BIN_FILESIZE = l_xml_size
    TABLES
    i_tab_sap_data = itab
    CHANGING
    I_TAB_CONVERTED_DATA = l_xml_table
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 24
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
    bin_filesize = l_xml_size
    filename = file_create
    filetype = 'BIN'
    CHANGING
    data_tab = l_xml_table
    EXCEPTIONS
    OTHERS = 24.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
    Thanks.

  • Links within PDF document open linked PDF documents, but seem to replace original document rather than as additional documents.

    Hello good people of the Adobe Community!  I have a user of Adobe Reader XI that is having the following problem:
    She is viewing, what we will call, the "main document," and this document has many links to other PDF documents.  When she clicks on one of the links, the main document gets replaced by the new document.  She then needs to re-open the main document to view it again.  This happens with every link she clicks.  I worked with the document in Reader XI and am able to open every link as an additional document, thus allowing me to immediately view both the main document and the new document.
    My questions are:
    Is there some setting in her Reader that I do not have turned on/off, which is why she is having this issue and I am not?
    If not, then why is the user experiencing this "replacement" of the main document?
    How do I help her resolve this issue?
    Thank you for your time and attention.
    Ben

    I don't know if there is any way to configure this in the Reader preferences.
    However, it can be decided in the document itself.  I just created a test document (using Acrobat DC) with two links:
    one to open in the same window
    on the open in a new window
    Both links do what I selected:
    one opened in the same Reader window (replacing the original document)
    the other one opened a new Reader window
    When creating the links there was actually a third option: Window set by user preferences.  However, I cannot seem to find such a user preference in Adobe Acrobat Reader.  The default (in my case) seems to be to open in the same Reader window.

  • Delete or replace "original" photos in iPhoto '08?

    Once I've completed all edits that I want to do on a particular picture in iPhoto '08, is there a way to replace the original photo so that I am not storing two versions on the hard drive? (Mostly to save space.) I don't care to ever revert back to the original once I'm satisfied.
    Thanks!

    Export the photos, delete them in iphoto, empty the iPhoto trash and import the photos you exported
    There is no other way to do it safely
    LN

Maybe you are looking for

  • IPod Touch 4th gen will not charge, or sync to iTunes

    Hello, I have a 2 year old iPod 4th gen 32 gb.  About a week ago a realized that when a charged it the charging screen did not appear.  I made no big deal about it since it still charged, but then I tried to connect it to my cpu to see if anything ch

  • How can I change from JDBC to flat files

    I have an application setup that runs on MySQL using JDBC. But, I'm having problem with the database(ConnectorJ to be exact). I just want check the functionality of this application. Can I use a flat file as opposed to the DB? How can I possibly do t

  • API for search profile options-R12.

    Is there any API for searching profile options? (R12) Using ibe_customer as the default responsibility.How to filter profile option search using organization , responsibility and different access level? Edited by: Ep on Aug 29, 2012 11:57 PM Edited b

  • Slow photoshop cs5, mac os x

    Hello. My photoshop CS5 is not working well recently. It is extremely slow, so slow It is not possible to work on. I have all the Design Premium, and photoshop is the only one making this problem. I uninstall all the CS5 Design Premium from my comput

  • Make facebook stop replacing contacts photo ?

    Hello When i use facebook on my n8 it replace my contacts photo with very low quality pictures from facebook, how i make it stop ? I have to re change more than 100 pictures all the time it's a hell...