<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: XML to XSD in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069449#M428305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use StylusStudio (www.StylusStudio.com) or Altova (www.altova.com). Both have free trial versions.&lt;/P&gt;&lt;P&gt;In StylusStudio, open the XML document, choose the Menu XML-&amp;gt; Create Schema from XML Content, and save as a .xsd file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be other editors as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helps you, please remember to award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2005 16:35:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-24T16:35:09Z</dc:date>
    <item>
      <title>XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaq-p/1069448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if exist software to transform an xml file to xsd file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The objective is: When I define a Data type, I generate an xsd, so I can also do the inverse&amp;#133; import an xsd file to define my Data Type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don&amp;#146;t have the structure of my message in xsd format, but in xml&amp;#133; So for do that, I need to convert my xml file in an xsd file. If it is possible is a great helpful, because I don&amp;#146;t need to define field by field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is possible? &amp;#133; Any software which can do something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ricardo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 16:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaq-p/1069448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T16:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069449#M428305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use StylusStudio (www.StylusStudio.com) or Altova (www.altova.com). Both have free trial versions.&lt;/P&gt;&lt;P&gt;In StylusStudio, open the XML document, choose the Menu XML-&amp;gt; Create Schema from XML Content, and save as a .xsd file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There may be other editors as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this helps you, please remember to award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Bhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 16:35:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069449#M428305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T16:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069450#M428306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes is very helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't worry, I don't forget your points &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ricardo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 17:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069450#M428306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T17:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069451#M428307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I allready done the download of Stylos Studio 2006 XML.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like you sad, I opened my xml file and save it as xsd. But when I try to do the upload to XI Data Type I receive this error: "Schema to be handled does not contain a definition of type CONTABILIZACAO". CONTABILIZACAO is the name of the first element of my xml file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The xml was generated by XMLspy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do something wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ricardo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 18:44:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069451#M428307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T18:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069452#M428308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;the Datatype editor is intended to model Datatypes from scratch according to the modelling rules defined by the Integration Repository. These modelling rules are much more restrictive then the rules defined by XSD.&lt;/P&gt;&lt;P&gt;The upload functionality in the Datatype editor checks whether these restricted rules are obeyed and refuses to upload when they are not fulfilled. For this reason this function is only of limited use.&lt;/P&gt;&lt;P&gt;In fact the intension is to use External Definitions for type declarations that have been defined externally and are now used inside XI. For External Definitions the rules are much less restrictive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, the integration Builder does not provide a possibility to build types partially with an external tool and partially with the built in Datatype editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;         Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2005 09:05:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069452#M428308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-25T09:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069453#M428309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if I have 100 fields for my DataType, I need to define one by one? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another "easy" way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ricardo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2005 10:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069453#M428309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-25T10:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069454#M428310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer will be Yes if you dont have an XSD to be loaded in XI then you have 2 options. &lt;/P&gt;&lt;P&gt;1) You create your data type (field by field) in XI and you are done.&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;2) you create the XSD in XMY SPY or Stylus and after that you make the generated XSD valid for XI. How do you that? Adding any required tags for XI or removing any conflicts in the generated XSD definition. You try and try until XI is satisfied with the XSD you are provinding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to have a quick solution, go for 1 otherwise if you choose for more flexibility then go for option 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Roberto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Roberto Viana&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Nov 2005 10:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069454#M428310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-25T10:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069455#M428311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I once had the same problem as you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I hacked a small, dirty Java programm that extracts all data types of a given XSD and creates XI-compliant XSD files for each data type. You can import these XSDs first and then import your own XSD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send me an email and I will send the program to you. Unfortunately it's not possible to attach it to this message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully it will also work for your XSD... (no guarantee!!!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Nov 2005 17:06:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069455#M428311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-28T17:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: XML to XSD</title>
      <link>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069456#M428312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi tobias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can be helpfully if you load it to some public server (gigabox?) and share the link for the forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fede&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Feb 2007 19:16:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/xml-to-xsd/qaa-p/1069456#M428312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-15T19:16:46Z</dc:date>
    </item>
  </channel>
</rss>

