Results 1 to 29 of 29

Creating an XML file with a specific schema

Threaded View

papusale Creating an XML file with a... 05-15-2015, 05:32 AM
Naveed Raza Re: Creating an XML file with... 05-15-2015, 06:25 AM
papusale Re: Creating an XML file with... 05-15-2015, 06:29 AM
Naveed Raza Re: Creating an XML file with... 05-15-2015, 06:33 AM
papusale Re: Creating an XML file with... 05-15-2015, 06:34 AM
papusale Re: Creating an XML file with... 05-16-2015, 09:39 AM
Naveed Raza Re: Creating an XML file with... 05-18-2015, 02:48 AM
papusale Re: Creating an XML file with... 05-18-2015, 05:56 AM
Naveed Raza Re: Creating an XML file with... 05-18-2015, 07:19 AM
papusale Re: Creating an XML file with... 05-18-2015, 08:38 AM
Naveed Raza Re: Creating an XML file with... 05-18-2015, 09:39 AM
Naveed Raza Re: Creating an XML file with... 05-18-2015, 09:45 AM
papusale Re: Creating an XML file with... 05-18-2015, 10:24 AM
Naveed Raza Re: Creating an XML file with... 05-19-2015, 06:47 AM
papusale Re: Creating an XML file with... 05-19-2015, 07:01 AM
Naveed Raza Re: Creating an XML file with... 05-19-2015, 07:53 AM
papusale Re: Creating an XML file with... 05-19-2015, 08:01 AM
papusale Re: Creating an XML file with... 05-28-2015, 10:03 AM
Naveed Raza Re: Creating an XML file with... 05-30-2015, 05:10 AM
papusale Re: Creating an XML file with... 05-30-2015, 08:27 AM
regresss Re: Creating an XML file with... 05-30-2015, 08:08 AM
papusale Re: Creating an XML file with... 05-30-2015, 08:15 AM
regresss Re: Creating an XML file with... 05-30-2015, 08:18 AM
papusale Re: Creating an XML file with... 05-30-2015, 08:51 AM
papusale Re: Creating an XML file with... 05-30-2015, 09:08 AM
regresss Re: Creating an XML file with... 05-30-2015, 09:43 AM
papusale Re: Creating an XML file with... 05-30-2015, 10:04 AM
regresss Re: Creating an XML file with... 05-30-2015, 10:32 AM
papusale Re: Creating an XML file with... 05-30-2015, 10:41 AM
  1. #26
    Registered User
    Join Date
    05-29-2015
    Location
    Germany
    MS-Off Ver
    2010
    Posts
    27

    Re: Creating an XML file with a specific schema

    Quote Originally Posted by papusale View Post
    Thanks regress! This actually worked, and it also supports special characters!

    One slight thing though;
    at the very beginning of my XML schema it says: <?xml version="1.0"?>, and under it <unapproved xmlns:sql="urn:schemas-microsoft-com:xml-sql">
    at the very beginning of excel XML file it says: <?xml version="1.0" encoding="UTF-8" standalone="true"?>

    Is there a way to change it to exactly correspond to my XML schema?
    Open the xml file in notepad and simply replace the lines (or even better, insert the lines in your xsd).


    Quote Originally Posted by papusale View Post
    Also regress,
    The map.xsd has "NewsItemRow" and "NewsItemTable" instead of "Products".
    When I tried to change them to "Products", it gave me an error while trying to load the map in Excel: "Cannot load the specified XML or schema source".
    Download an XML editor and modify the name of NewsItemRow element in definition, meaning the change will be applied on the whole document (NewsItemTable can be amended similarly or as described above, in notepad, since those are only two lines).

    Technically, you should be able to use Product and Producs in the xsd file, but it somehow doesn't work with the definition from http://bitwizards.com/blog/november-...rksheet-to-xml. I have an xsd at my workplace with which it works, but I don't have access to it right now. If you google other definitions, you will surely come across a solution. As I said above though, you can amend it in every XML editor as well.
    Last edited by regresss; 05-30-2015 at 09:57 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Problem in Creating an XML Mapping Schema using Excel 2010
    By Alain-79 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2013, 01:29 AM
  2. XMLl file - Mapping / Schema questions
    By Scott K in forum Excel General
    Replies: 0
    Last Post: 07-19-2013, 07:46 PM
  3. Creating sequential numbers & save to specific file location
    By ajaaay in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2012, 06:19 PM
  4. Can not set up schema.ini file correctly...
    By ajocius1 in forum Excel General
    Replies: 0
    Last Post: 05-12-2009, 01:54 PM
  5. Replies: 0
    Last Post: 02-15-2005, 11:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1