<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Annotations from the XML-schema in the form</title><link>https://www.infopathdev.com:443/forums/thread/2962.aspx</link><pubDate>Wed, 09 Aug 2006 17:36:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2962</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2962</wfw:commentRss><description>Annotations are not directly supported within InfoPath forms--however, you can use code to load the schema into a DOM and then pull the annotations out via selectSingleNode(), etc., and do things with them that way.</description></item><item><title>Annotations from the XML-schema in the form</title><link>https://www.infopathdev.com:443/forums/thread/1484.aspx</link><pubDate>Wed, 09 Aug 2006 06:40:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1484</guid><dc:creator>dr-jay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1484.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1484</wfw:commentRss><description>I#%92ve build a Infopath 2003 form from a XML-schema. In the schema I have annotations to a set of list values, I would like these annotations to been show in the form. Se below for the XML-schema:&lt;br /&gt;&lt;br /&gt;&amp;lt;xs:simpleType name="_datatypeType"&amp;gt;&lt;br /&gt;&amp;lt;xs:restriction base="xs:string"&amp;gt;&lt;br /&gt;&amp;lt;xs:enumeration value="NUM_001"&amp;gt;&lt;br /&gt;		&amp;lt;xs:annotation&amp;gt;&lt;br /&gt;		&amp;lt;xs:documentation&amp;gt;Explanation of the enumeration value ” &amp;lt;/xs:documentation&amp;gt;&amp;lt;/xs:annotation&amp;gt;&lt;br /&gt;		[...]&lt;br /&gt;		&amp;lt;/xs:enumeration&amp;gt;&lt;br /&gt;		&amp;lt;/xs:restriction&amp;gt;&lt;br /&gt;	&amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;&lt;br /&gt;How do I get the form to show the value of the annotation documentation field? When I direct to the data source in Infopath I can only get the enumerations e.g. as a drop down list, but no way to see the accompanying annotations.&lt;br /&gt;&lt;br /&gt;Is there any way to show both?&lt;br /&gt;&lt;br /&gt;I've allready installed SP2.&lt;br /&gt;&lt;br /&gt;Hope that I#%92ve come to the right place for expert answers ;)&lt;br /&gt;&lt;br /&gt;Yours sincerely&lt;br /&gt;Jeppe Christensen&lt;br /&gt;System developer&lt;br /&gt;Danish National Archive&lt;br /&gt;</description></item></channel></rss>