Sign In
Guoqiang Wu's Blog
Fun in the Office
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Blog Editor
InfoPath
Office
Other
Testing
Word
Archive
Archives
November 2005
(2)
July 2005
(2)
June 2005
(1)
May 2005
(10)
April 2005
(1)
December 2004
(1)
September 2004
(1)
August 2004
(2)
July 2004
(5)
Authoring XML schema (XSD) with InfoPath - Part II
MSDN Blogs
>
Guoqiang Wu's Blog
>
Authoring XML schema (XSD) with InfoPath - Part II
Authoring XML schema (XSD) with InfoPath - Part II
guowu
26 May 2005 7:10 PM
Comments
2
Like I mentioned
earlier
, it is very easy to use InfoPath as an XML schema editor, with very little extra work:
Choose
Design a form…
from the
File
Menu in InfoPath.
In the
Design a new form
task pane, select
New Blank Form
. Note, if you want to derive a schema from existing XML document or data connection, choose one of the
New from
… options and skip to step 4) below.
On the
Design Tasks
pane, click on
Data Source
to show the Data Source Pane. Right click on the
myFields
element, you will see a shortcut menu. Starting there, you can create data source structure that models your need.
Once you are done, go to
File
menu,
Extract form files…
, then quit InfoPath. Go to the folder you just saved extracted form files, you should find
myschema.xsd
is what you want. Note: if you are deriving a schema, the schema you want may not be defined directly inside
myschema.xsd
, but imported there.
(Optional) Open
myschema.xsd
in your favorite XML or text editor, remove the
my
namespace auto-generated by InfoPath or replace it with your desired namespace URI.
And that is it!
Have a nice day and thanks for listening to me murmuring!
2 Comments
InfoPath
Blog - Comment List MSDN TechNet
Comments
Loading...