Creating XSD file for given XML

Hi All,
I have requirement to create XML Schema file (XSD) for any given XML.
The minimum information that I want to include in the XSD is the dataType of the elemnt.
I should be able to dpecify some DEFAULT data type so if I don't specify any data type the API will use that DEFAULT data type for the element.
However I need not to verfy the XML file against this XSD but still the generated XSD should contain minimum information so that Parser does not fail.
I have to do these all programatically.
Can anyone tell me which JAVA API best suited to my requirement.

Please don't cross post

Similar Messages

  • How do you create an xsd file for an xml schema in BI Publisher?

    Helllo.
    I hope this is a really daft question for somebody..
    How I create an xsd file to be used as an xml schema to attach to a Data Definition that Ive created? I've obv. got the xml and rtf files ready and attached. I've looked through the relevant docs (XML Publisher Report Designer's Guide.pdf & XML Publisher Administration and Developer's Guide.pdf) but can't find where..
    Once this has been done then I can run the template via ORACLE Financials for the reports I've converted.
    many thanks..
    Steven

    I don't think you need to have an XSD it's an optional field. If you really want to create one use this site: http://www.hitsw.com/xml_utilites/
    I believe I answered your question, don't forget to give me the points.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • How to generate XSD file for XML schema adobe form

    Hi,
    I want to generate XSD file for XML schema interfaces adobe forms. How can I do it. Where I can do it..or who will provide this file..
    Thanks
    Ram
    Edited by: Ramesh ram on Feb 23, 2010 6:33 PM

    Aaaaah, my mistake, sorry for that. Of course you should use the XML interface and I forgot it is not described in this tutorial. You can easily find another one where the XML based interface is used. But... you won´t need any tutorial. just create a WD context. Place a Interactive form element on your WD app screen, in the attributes you need to maintain the form template name. If you write a name suitable for you which no existing forms uses, the system will offer you to generate a XML based interface and right after that it will "send" you to the SFP transaction. That means you can like skipi the step defining the interface because it it is generated automatically and you only draw the layout for this generated interface.
    You should use XMl based interface for your WD app, because when using the ABAP dic based, some features are not available (I am not sure, but ABAP based works only for print form or something).
    Hope it is all clear now,
    have a nice day,
    Otto

  • How to create xsd's for each table in repository instead of entire repos

    Hi Gurus,
    Is there any way i could create xsd's for each table in the repository separately instead of creating single xsd file from "Export repository schema" option which creates a single xml file for the entire repository.I need to create xsd for each table in repository...
    Any Help greatly appreciated
    Thanks
    Aravind

    Open the Lookup table you want the XSD for, in Data manger
    Export it to access.( You can select all the fields you want to export to access and then check option "open Access after export")
    Now in Access, again right click the table and export it to XML.
    Provided you have .NET frame work installed on the machine where you are doing this export, you can do the following:
    Use XSD.exe from command prompt and get the XSD.
    Use the following link as a reference for XSD stuff.
    http://msdn.microsoft.com/en-us/library/x6c1kb0s(VS.71).aspx
    (OR)
    Get the whole XML of the repository and distill the whole structure for Lookups and create XSD using any standard XML editor.

  • How to Use or Create XSD files in Crystal Reports XI R2 designer

    Hi,
    I have a crystal reports  application which was developed using  .Net crystal report designer, where XSD is used .
    now we have to develop the same application using Crystal Reports XI R2 designer , here i could not find any option for creating or using  XSD files , can you give any suggestions on that
    regards,
    kathyaini

    Hi Kathayini,
    Thanks for your prompt reply.
    We can use the existing XSD which are present in .Net
    But with current versions of crystal we doesn't have the feature to create XSD files at crystal designer level.
    So, it is suggested to use the XSD files which are present in .Net and  can also create new  XSD files.
    Let me know if you have any further queries.
    Regards,
    Naveen.

  • Create .SCA file for MII project

    Please let me know the steps in creating .SCA file for deploying MII projects developed using WorkBench with login page. I think that after creating the .SCA file we can deploy it using Eclipse under the menu Deploy View Console or using JSPM. After deploying we should be able to login using the credentials and should be redirected based on roles to appropriate pages.
    I had deployed the intial .SCA file named (XMII08_0-20004625.SCA) using JSPM. MII version used is 12.1.8 and Netweaver version is NW CE 7.1 EHP1 SP5.
    How we can set up the development environment in Eclipse or NetWeaver Developer Studio for MII project development so that we can directly create MII SCA file from the tool itself. Please share documents if any.

    I need to modify the default login page in MII and redirect it to different URLs based on roles.
    I am able to change the images in the default Menu.jsp in the NetWeaver login to Authentication page and inside properties tab. There I am able to change the images like branding-image.jpg, SAP NetWeaver image, SAP Image. But this is reflected in both the URLs
    http://servername:50000/nwa  and http://servername:50000/XMII/Menu.jsp
    Then I changed the web.xml inside war file (tcsecumelogonui.war) which is in the path InstanceDirectory:\usr\sap\CE1\J00\j2ee\cluster\apps\sap.com\com.sap.security.core.logon\servlet_jsp\logon_ui_resources with the new Login.jsp file instead of Menu.jsp for the servlet tags but still when I access the new Login.jsp page from the URL http://servername:50000/XMII/Login.jsp it is still showing Menu.jsp. But when I tried to login using the Menu.jsp page then it is redirected to my new Login.jsp page.
    Please let me know how I will be able to change and deploy a new login page in MII 12.1.8 and with NetWeaver CE 7.1 EHP1 SP5.

  • Reg xsd file for Vendor

    Hi ,
         I am loooking out for a standard xsd file for Vendor (for MDM repository). Where should i look it for ?
    Inputs are welcome
    Thanks in advance !

    Arumugam,
    Goto transaction WE60 in R/3 (SAP R/3 Enterprise Version), Enter Basic type  "CREMDM04". Then select Documentation --> XML Schema..
    On next pop-up select "Yes"..it will generate XSD for Vendor Master (MDM).
    You can download this file by..XML->Download.
    Nilesh

  • Contact.php file for my XML, Flash based contact form

    I am trying to create a contact.php file for my XML, Flash based contact form.
    Anybody know some good tutorials Please introduce me !
    Amanda Nguyen

    I think that I should post the 2 .xml files here:
    structure.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <contactFormStructure>
    <formItems>
      <item id="1" label="Name" required="true" />
    <item id="2" label="E-mail" required="true">
      <validator>EmailValidator</validator>
    </item>
      <item id="3" label="Message" required="true" />
    </formItems>
      </contactFormStructure>
    configuration.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <contactFormConfiguration>
    <emailTo>[email protected]</emailTo>
    <serverProcessorType>php</serverProcessorType>
    <serverProcessorFileName>contact</serverProcessorFileName>
    <validateRequiredOnly>false</validateRequiredOnly>
    <submitFormOnEnter>true</submitFormOnEnter>
    <messageSentText>Thank you for your message.</messageSentText>
    <messageSentFailedText>The form is not submitted.</messageSentFailedText>
    <formProcessingText>processing...</formProcessingText> 
    <plainText>false</plainText>
    <emailFromSource>2</emailFromSource>
    <subjectSource>Contact Form from your site</subjectSource>
    <validationErrorMessages>
    <message type="fieldIsRequired">{LABEL} is required.</message>
    <message type="emailNotValid">{LABEL} - is not valid email address.</message>
    <message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less
    than a required minimum.</message>
    <message type="reqExpError">{LABEL} - The specified string does not match with the regular
    expression.</message>
    <message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable
    biggest number for this field.</message>
    <message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable
    lowest number for this field.</message>
    <message type="notANumberError">{LABEL} - The data is not a number.</message>
    <message type="negativeError">{LABEL} - The specified number must not be negative.</message>
    <message type="minRequirementError">{LABEL} - The minimum number of variants is not
    selected</message>
    <message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the
    maximum</message>
    <message type="shouldBeEqualError">{LABEL} - values do not match</message>
    <message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
    </validationErrorMessages>
    </contactFormConfiguration>
    I am working and learning and I would like to create the contact.php for my contact form.
    Please help !
    Amanda

  • Creating .desktop files for XFCE's menu

    I'm trying to create .desktop files for things I want in the XFCE menu, but I can't seem to get anything to work.  I've tried to replicate the files in ~/.local/share/applications and modify them to my needs, but it doesn't do anything.  Any good way to do this?
    Why is it so hard to edit the menu in XFCE?

    Looking good!
    However, I can't get my file to make an entry in the menu.  Here's what I put:
    [Desktop Entry]
    Encoding=UTF-8
    Type=Application
    NoDisplay=true
    Name=xmahjongg
    Exec=xmahjongg
    I saved it as xmahjongg.xml.  I don't know what to use for the MimeType field, it's a video game.  Is it even necessary?

  • I am getting error while creating Control file for a fla file upoad in HANA

    Hi Experts,
    I am getting the following error when I try to create crtrol file for a flat file extraction in SAP HANA.
    Could not execute 'import data into table P935718."COPATBL" from 'COPATBL.csv' record delimited by '\n' fields ...'
    SAP DBTech JDBC: [257] (at 14): sql syntax error: incorrect syntax near "into": line 2 col 1 (at pos 14)
    Here is the code I have used to create control file after I creating the table.
    import data
    into table P935718."COPATBL"
    from 'COPATBL.csv'
        record delimited by '\n'
        fields delimited by ','
        optionally enclosed by '"'
    error log 'P935718.COPATBL.err'
    p935718 is my user ID, COPATBL is my table created, COPABL.CSV is a flat file.
    Please help me in this regard.
    Thanks,
    Guna

    Hello,
    guessing from the error message it looks that you are trying to execute "import data" as SQL command.
    Please note that import data is NOT SQL command but it is syntax for control file. You need to create file with this syntax on server and then use command: IMPORT FROM '/<path>/<filename>.ctl'
    In a shortcut:
    1.- create comma separated CSV file with your data - <source cvs>.csv
    2.- upload CVS file to HANA server
    3.- create the control file <filename>.ctl:
    import data
    into table <schema>."<table name>"
    from '<source cvs>.csv'
    record delimited by '
    fields delimited by ','
    optionally enclosed by '"'
    error log '<file name>.err'
    4.- execute command:
    IMPORT FROM '/<path>/<filename>.ctl'
    Please check following threads:
    How to load CSV files into HANA
    Will HANA supports Bulkload
    Tomas

  • I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway inst

    I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway installing PSE-10 or uninstalling it. If I send the  PDF file that has been automatically converted to a PSE-10 the person I send the file to can not open it because they do not have PSE-10. What can I do to stop PSE-10 from converting my PDF files? Don't tell me to upgrade PSE-10 I tried their on-line program and  it is too advance for a hobby photographer like myself and their Help Desk is impossible to reach.

    Hi,
    Can you please share the logs?
    You can use the Adobe  Log Collector tool (Log Collector Tool) and share the corresponding zip file @ [email protected]
    Thanks,
    Shikha

  • Creating setup file for java

    Somebody tell me how to create setup file for the software which is made by using java programming. We can create jar file for that purpose but I want to create setup file or exe file.

    open source
    - izpack (windows, linux, macos) www.izforge.com or org
    - nsis.sf.net (winblows only)
    commercial
    - www.zerog.com 's InstallAnywhere

  • Can i create different file for my movies

    I need to create diferent file for movies, but i don't know how to do it

    i want to creat like a play list but for movies, can i do that

  • Creating UNIX file for RFBIBL00

    Hi All,
    I am creating the file for the RFBIBL00 program to use.
    I am filling in structures
    BGR00 - SESSION
    BBKPF - HEADER
    BBSEG - DOCUMENT
    so in my I am planning for my file to contain
    1 session rec
    1 header rec
    multiple document recs
    is there any specific way to format the file? like spacing between variables? I see that the "/" is used for special chars.
    I am just wondering what is the correct way to setup this file so the RFBIBL00 will process it?
    thanks
    Keith

    here is the documentation on the strucures:
    << Please do not post copyrighted material here >>
    Edited by: Rob Burbank on Jun 19, 2009 2:15 PM

  • How to create xpi file for my own extension?

    I have created my own extension and directly added profile extension folder in my system.its working fine. but while installing extension using .xpi file its produce error "Install script not found
    -204".Please explian me how to create .xpi file for my extension folder.
    I hope you can help this issues.
    Thanks in advance.
    Regards
    vasanthi

    See this:
    https://developer.mozilla.org/en/Building_an_Extension

Maybe you are looking for

  • PC Gamer Looking To Get 23" Cinema Display

    I'm a hardcore PC gamer, that built a Nvidia SLI box for just gaming and nothing else. Finding a awesome high-end 24" sized LCD for 1900X1200 gaming is not a easy task. So this road as led me to Apple, a lot of people in the PC world are saying the 2

  • Import problem: Duplicate Files

    Like several others I have been fighting the problem of duplicate file creation when importing photos. After following and interacting with several discussions I decided to run a series of controlled tests, and may have some helpful information. The

  • How to increase the number of samples in my fft?

    Hi, In my Labview environment I receive sampled data of a sinus function where one period consists of 4096 samples. How can I increase or control the number of samples which the fft spectrum is using for calculating its results? Best regards Jonny

  • MM MIRO Invoice Parking calc due date from PO not working

    When I Park and invoice linked to a purchase order (PO) using MIRO/ MIR7 the invoice due date is not calculating using either the Vendor or PO terms code. We do not see the same issue with FB60 and both work fine when the invoice is Posted and not pa

  • LENOVO FLEX 20 WI-DI

    Hi, I just received my Lenovo Flex 20 today and i was very dissapointed to find out that wireless display was not supported. I thought it will be compatible as i checked the Graphics card and processor prior of buying it but unfortunately it doesnt h