<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Reading data source(xsd) from infopath</title><link>https://www.infopathdev.com:443/forums/thread/8180.aspx</link><pubDate>Tue, 08 Nov 2005 07:36:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8180</guid><dc:creator>franck</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8180.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8180</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Here is some C# to do it.  VB conversion should be the easy part...&lt;br /&gt;&lt;br /&gt;IXMLDOMDocument2 templateDom = (IXMLDOMDocument2)thisXDocument.CreateDOM();&lt;br /&gt;templateDom.async = false;&lt;br /&gt;templateDom.validateOnParse = false;&lt;br /&gt;templateDom.load("myschema.xsd");&lt;br /&gt;templateDom.setProperty("SelectionNamespaces", "xmlns:my='http://schemas.microsoft.com/office/infopath/2003/myXSD/2005-10-13T18-45-15' xmlns:xsd='http://www.w3.org/2001/XMLSchema'");&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Franck Dauché</description></item><item><title>Reading data source(xsd) from infopath</title><link>https://www.infopathdev.com:443/forums/thread/5082.aspx</link><pubDate>Tue, 08 Nov 2005 07:32:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5082</guid><dc:creator>e_rajasekar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5082</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;We use xsd annotation/documentation tags to describe each input field in our xml document. I would like to read this documentation tags in my datasource schema file (.xsd) and display them in infopath form.&lt;br /&gt;I can access xml document using XDocument object, but not the schema.&lt;br /&gt;&lt;br /&gt;Can anyone tell me how to read xsd schema programatically? I am using .net toolkit (vb.net) for infopath progamming.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;E. Rajasekar.</description></item></channel></rss>