Regarding Changing the Namespace And Data Type in XSD File

Hi All,
I am Doing File -
IDOC Interface.
I have XSD File For File Sysyetm and IDOC For ECC.
In XSD File I Have Different Name Space And Data Type ,
I Created the Data Type as Same as the XSD File Data type
I Have Namespaces Are Different,
So,I Changed the Namespace in the XSD File with the New Namespace Which I created in IR.
I Changed in Two Places Like this
<b><xsd:schema targetNamespace="http://Sample1.com/xi/file;" xmlns="http://Sample1.com/xi/file;"</b>
But it is giving Error lik this
<b>Cannot load schema with the target namespace http://xxx.com/xi/xx/vamsi/100 to namespace http://Sample1.com/xi/file;</b>
Regards
Vamsi

Hi Vasanth,
Thats what I am Asking
I want to Import XSD File in Data Type
Before I Import the XSD File into Data type  I changed the Namespace in the XSD to My Namespace Which is in IR. And I Created the Data Type Name in IR Which I Have in XSD FIle .
So I Am Getting this Error
Please Let me Know Wat to do
Regards
Vamsi

Similar Messages

  • Ipod touch always changes the time and date when synced

    Since I got my touch, even before any updates etc, every time I sync it the time and date changes, usually back about a week or so. Anyone else got this problem or any solution as its really annoying me. A cutting edge bit of kit that has practically every function that works so well and the clock and calendar cant keep time? weird....

    Not true in all cases, I updated to 2.0 and had 2 problems: One App had a Bug *NOT Apple`s fault*, and the second was another App ( again, not Apples fault ) that went back to home screen after opening. This was solved by a simple reset ( I have the first batch of Touches, 16 gb ). And the battery thing, I haven`t noticed it at all, I have an almost full charge, and have been using it for 4 days, never shut it down, only sleep mode when not in use.

  • How to extract the size and date from a given file

    Hi,
    I want to extract the size and date of a file (it can be either a video, audio or text file) that the user points to the location of. But I am not sure how. Does Java have an api that can do this? If not is there some other way of doing this? Can anyone help? Thanks in advance.

    Have a look at java.io.File, specifically
    public long lastModified()
    This format returned (I find) is nasty, so then use java.util.Date (or java.sql.Date, look the same on the surface to me) to format it.
    Cheers,
    Radish21

  • How do I change the time and date on a specific photo

    I import photos from various cameras in the family.  Not everyone has the date or time correct.  In all older versions of iPhoto I could edit the date and time whenever the info field was available.  In the current version all I can find reference to is the date for an event - not the individual photo or any means to change the time.

    Great  --  and note that you can create a smart album by camera type to make it easy to correct the time info for a camera that was set differently  --  the adjust T/D command changes all selected photos by the same amount of time
    LN

  • Change the Namespace and Root Node Name

    Hi,
    I have following xml :
    <ns2:Students xmlns:ns2="http://MyProject.CommonSchema">
        <ns2:Student>
          <HeaderSegment>
            <FName>AA</FName>
            <LName>AA</LName>
          </HeaderSegment>
        </ns2:Student>
      </ns2:Students>
    Now I want to change the root node name and namespace name.
    I want the following output:
    <ns2:MyStudents xmlns:ns2="http://MyProject.MySchema">
        <ns2:Student>
          <HeaderSegment>
            <FName>AA</FName>
            <LName>AA</LName>
          </HeaderSegment>
        </ns2:Student>
      </ns2:Students>
    I searched on the google but not found any right solution.
    Any kind of help would be appreciated.
    Prakash

    You should have told us that you wanted an XmlDocument. Anyway, you could use a XDocument to create and modify the XML and then return an XmlDocument like this:
    public static XmlDocument CreateXmlDocument(string xml) {
    //load the XML data
    XDocument doc = XDocument.Parse(xml); //or use XDocument.Load to load a file
    //change from old to the new namespace:
    XNamespace newNs = "http://MyProject.MySchema";
    var elemens = doc.Root.Elements();
    foreach (var elem in doc.Root.Elements()) {
    if (elem.Name.Namespace != string.Empty) {
    elem.Name = newNs + elem.Name.LocalName;
    //remove old namespace attribute:
    XAttribute atr = doc.Root.Attributes(XNamespace.Xmlns + "ns2").FirstOrDefault();
    if (atr != null)
    atr.Remove();
    //add the new namespace
    doc.Root.Add(new XAttribute(XNamespace.Xmlns + "ns2", newNs));
    doc.Root.Name = newNs + "Students2";
    string newXml = doc.ToString();
    XmlDocument xmlDocument = new XmlDocument();
    using (var xmlReader = doc.CreateReader()) {
    xmlDocument.Load(xmlReader);
    return xmlDocument;
    Usage:
    string xml = "<ns2:Students xmlns:ns2=\"http://MyProject.CommonSchema\"><ns2:Student><HeaderSegment><FName>AA</FName><LName>AA</LName></HeaderSegment></ns2:Student></ns2:Students>";
    XmLDocument doc = CreateXmlDocument(xml);
    Please remember to close your threads by marking all helpful posts as answer and then start a new thread if you have a new question.

  • Which tables store the domains and data types?

    Hi.
    From what I know, DD01L stores all the domains (both SAP and user-created) in the system. Is this understanding correct?
    As for data types, which table stores them?
    Thanks.

    Hi,
    All abap program stored in the TADIR table and TRDIR
    Z_reports are stored in the table REPOSRC
    TVDIR is the system table(view) maintained by sap.
    in this all Tables are stored.
    TVDIR is a repository of VIEWS.
    The domains are stored in DD01L
    The tables that are created are stored in DD02L
    Fields are stored in DD03L.
    Data Elements are stored in DD04L
    DD06L                          Pool/cluster structures
    DD07L                          R/3 DD: values for the domains
    DD08L                          R/3 DD: relationship definitions
    DD09L                          DD: Technical settings of tables

  • AppleScript to Change the Time and Date a File Was Added

    I've ripped a bunch of TV shows I bought on DVD to watch on my iPhone. However, I imported them all at once, so the order they were added to my library is random, and as a result, choosing to sync the "Least Recently Added" episode doen't mean the first episode of the season.
    Is there any way to write an AppleScript that will incrementally change the date added so that episode 1 was imported before epsiode 2, etc?

    I found a relatively automated way to deal with this issue. Just incase someone comes across this thread down the road, here it is.
    1) Download "Track Names With Incremented Number v1.0" (http://dougscripts.com/itunes/scripts/ss.php?sp=tracknameincnum)
    2) Add an incremental number before each episode ([#] [name]) — Make sure the files are ordered my track or episode number.
    3) Download "Rename Files v1.2.1" (http://dougscripts.com/itunes/scripts/ss.php?sp=renamefiles)
    4) Rename the tracks so they now include the incremental number in front of them.
    5) Delete the tracks from iTunes
    6) From the finder, drag the files back into iTunes and re-import them.
    7) Download "Remove n Characters From Front or Back v3.0" (http://dougscripts.com/itunes/scripts/ss.php?sp=removenchars)
    8) Remove the incremental numbers from the front of the track names.
    9) Run "Rename Files v1.2.1" again to revert the file names back to there original names before adding the incremental number.

  • I can't log into my Game Center because I think someone has changed my password and I can't change it because they have changed the email and date of birth so I can't change it back

    Pease help my because he could be changing my progress

    It sounds to me like your keyboard has been damaged and needs to be repaired or replaced.  Can you try an external keyboard?

  • How do I change the size and pics in this Flash file?

    I need help with the zipped flash file that I have for
    download
    here...
    1 - I only need to use 6 images, how do I get rid of the
    rest?
    2 - How do I actually change out the images with the ones I
    want?
    3 - I need to have this file publish CLEARLY (meaning not
    grainy) at 350x272, how to do this?
    Thanks for anyone's help!!
    Please feel free to email me
    here!

    So i've went to both links. After I place this:
    iweb2 navbar is rendered by javascript widget, therefore you can change navbar font style with javascript; this is an efficient way to change navbar font style.
    Copy and paste the following into your pages using HTML Snippet:
    <script type = 'text/javascript'>
    function changeNavbar() {
    navCSS = parent.document.getElementById('widget0-navbar');
    navCSS.style.fontSize = '0.75em'; // font size, change to less than 1em to change font smaller;
    navCSSbg = parent.document.getElementById('widget0-bg');
    navCSSbg.style.textAlign = 'center'; // navbar list alignment;
    clearInterval(chkNavbar);
    chkNavbar = setInterval('changeNavbar()', 500);
    note: You won't see the changes in iweb, but you will see the change when view the pages online - after publishing.
    into a HTML snippit, what do I do? I just see a box full of coding.

  • Sysgen : How to read the input port data type, width and rate dynamically in a masked subsystem ?

    Hello everybody,
         I am designing a general purpose block in system generator. I pass the user parameters to the block through masking it. Some user parameters can change the block configuration. The input port data type, width and rate can also affect the block configuration.
         The problem is that these values (input port data type, width and rate) are subject to change. So I should read them dynamically, then change the block configuration through programming the "Initialization Commands" field. But unfortunately there is no straight way to read the input port information.
         There are some methods in for example the "Black Box". these are:
    input_width = this_block.port('din').width;
    input_rate = this_block.port('din').rate;
    But these methods are not applicable to a masked subsystem.
    I have tried other ways also. You can find them below. None of them worked.
    Does anybody know how can I solve this problem?
    Other ways I tried:
    1)
    design_name([],[],[],'compile')                                       
    q=get_param(gcb,'PortHandles');
    get_param(q.Inport,'CompiledPortDataType')
    get_param(q.Inport,'CompiledPortWidth')
    get_param(q.Inport,'CompiledPortDimensions')
    design_name([],[],[],'term')
    2)
    ssGetInputPortDataType
    3)
    ts = Simulink.Block.getSampleTimes([gcb '/Input'])
     

    Today we rely on Simulink to perform parameterization of your designs in two ways:
    Parameterizable Subsystems and Blocks : Parameters themselves can be MATLAB expressions that need to be evaluated for which we need the MATLAB interpreter
    The very useful Rate and Type propagation or Simulink compilation that allows us to specify types & rates in one location that gets systematically propagated to all.
    To truly make the HDL Netlist that is generated from SysGen parameterizable, we would have to implement some of this capability in the HDL netlist itself by:
    Using Generics(VHDL) or Parameters(Verilog) - We would have to capture the bit width(type) propagation through levels of hierarchies and finally parameterize the IP itself based on this value
    Since IP itself does not have this capability through generics, we would have to package a separate tcl script that updates the IP parameterization appropriately in response to top level parameters(or GUI parameters)
    Interpreting MATLAB expressions and translating them into VHDL/Verilog expressions (alternatively tcl expressions of IP). In simulink, mask parameters can be passed from one level to the next. Also parameterization of a block can be composed of Matlab expressions using variables from ancestor masks & the MATLAB interpreter – so we will need to somehow capture that as well.
     

  • Change the class and type in javascript or select statement of region

    Application Express 3.2.0.00.27
    I have a manually created tabular form where I need pk to be updatable or not not updateable depending on whether its a new record or not.
    I am attempting this thru 2 different ways.
    1st:
    using decode in select statement of region:
    SELECT decode(c001,NULL,APEX_ITEM.POPUP_FROM_LOV(15,c001,'AUTH_LOV',NULL,NULL,0,NULL,NULL,NULL,'YES','f15_' || '#ROWNUM#'),
    apex_item.display_and_save(15,c001,'f15_'|| '#ROWNUM#')) authid,
    apex_item.hidden(16, c002, NULL,'f16_'|| '#ROWNUM#') empid,
    -- apex_item.display_and_save(16,c002,'f16_'|| '#ROWNUM#') empid,
    apex_item.date_popup(17, rownum, c003, 'DD-MON-YYYY',20,2000,NULL,'f17_' || '#ROWNUM#')deldate,
    apex_item.textarea(18,c004,5,40,NULL,'f18_'|| '#ROWNUM#') "Delegation scope",
    apex_item.textarea(19,c005,5,40,NULL,'f19_'|| '#ROWNUM#')"Delegation limits",
    apex_item.select_list_from_lov(20,c006,'YESNO_LOV',NULL,'NO','N','%','f20_'|| '#ROWNUM#')"ORA Signed",
    apex_item.date_popup(21, rownum, c007, 'DD-MON-YYYY', 20,2000,NULL,'f21_' || '#ROWNUM#') "Del expiry",
    apex_item.date_popup(22, rownum, c008, 'DD-MON-YYYY', 20,2000,NULL,'f22_' || '#ROWNUM#') "Date removed",
    apex_item.textarea(23,c009,5,40,NULL,'f23_'|| '#ROWNUM#') "Delegation comments",
    apex_item.POPUP_FROM_LOV(24,c010,'DELEGATION_LOV',NULL,NULL,0,NULL,NULL,NULL,'YES','f24_' || '#ROWNUM#') "Delegator",
    apex_item.display_and_save(25,c011,'f25_'|| '#ROWNUM#') status,
    -- apex_item.display_and_save(26,seq_id,'f26_'|| '#ROWNUM#') seq_id,
    apex_item.hidden(26, seq_id,NULL,'f26_'|| '#ROWNUM#') ||
    apex_item.checkbox(27, seq_id,NULL,NULL,':','f27_'|| '#ROWNUM#') chkbx
    FROM apex_collections
    WHERE collection_name = 'DELEG_COLL'
    AND c011 IN ('O','N','U','D')
    --order by c001However this approach yields this error when I try to pick a value from the lov:
    Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
    My other approach is to attempt to change the type and class in javascript. I am trying this but I get an error when I attempt to change the class and type like this:
    <script type="text/javascript">
    <!--
    /* Client side validation on the Salary column */
    function changeProp(pCol) {
       var elms = document.getElementsByName(pCol);
       for (i=0; i< elms.length; i++) {
    /*       elms.style.backgroundColor = 'yellow'; */
    if (elms[i].value == null || elms[i].value == '%null%'
    || elms[i].value == '') {
    elms[i].class = 't20data';
    elms[i].type = 'hidden';
    alert('The value is' + elms[i].value);
    //-->
    </script>

    not completely duplicate...here in this thread I am stressing what I am trying to accomplish and asking for help on the javascript side.

  • How can I change the language of the time and date and numbers?

    Hey
    I bought the iPhone 5 and when I setted the settings I chose the country where I live now but the time and date and other numbers because in the language of the country and not in the language that I chose which Is english
    so how can I change them?

    Go to settings >> general and checkout keyboard, international and date &amp; time.

  • I performed a time machine backup without plugging my labtop into a power source. My computer died and all the settings were changed, ie the clock and date were changed back to 2001. So I tried to restore my computer using a previous time machine backup.

    I performed a time machine backup without plugging my labtop into a power source. My computer died and all the settings were changed, ie the clock and date were changed back to 2001. So I tried to restore my computer using a previous time machine backup. (which I now know was wrong). However, when time machine tried to restore it said there was not enough room to do a backup. It seems that it did a half backup because some essential  files such as system profiler are now missing. Can I undo this restore...? What can I do to fix this

    You need to do a full system restore, per Time Machine - Frequently Asked Question #14.
    If that sends a message, please note the exact wording.

  • How to change the font and type in the front panel

    Can you tell me how to change the font and type in the front panel if i want to make it looks more beautiful.
    1110340040

    Hi there,
    You can change the font size and type as shown below:
    - Ee Lim -
    See that button on the left side of this post...
    If you feel my post is helpful, all you need is just (at most) 2 seconds to click that button, to show your appreciation. Thank you~~

  • In the advanced tab of languages and Region the time and date formats will not change

    For a certian Application I am using I need to change the format of the Time and Date. I had no problems in Mountain Lion. In the advanced tab of languages and Region the time and date formats will not change. I need the date format to read as 01/01/14 and time format to read 13:00. As I said this was easily done in Mountain Lion and all previous Apple OS. I suspect it's an issue with in the OS.

    You're right, it has been that way for a long time. I've never bothered reporting it as a bug since it's simple enough to deal with, but reporting it would be a reasonable thing to do.

Maybe you are looking for