<?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: My - Namespace</title><link>https://www.infopathdev.com:443/forums/thread/30728.aspx</link><pubDate>Wed, 23 Jul 2008 12:45:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30728</guid><dc:creator>horchstein</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30728</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;i have created&amp;nbsp;a &amp;quot;infopath-&amp;quot; input mask with a lot of input fields. Many of these fields (and so the tags in the xml-file) can be empty - the user must not fill them out. &lt;br /&gt;When i export the the mask to a xml-file the empty fields are also exported to empty tags. I know that this is allowed in xml - but it is not very nice because the xml-file is thus bloated. Can i say anywhere in Infopath: don´t export empty tags? Only export filled out tags.&lt;/p&gt;
&lt;p&gt;The Oracle-link is really very good. Thank you for it.&lt;/p&gt;
&lt;p&gt;Many thanky&lt;br /&gt;Best regards&lt;br /&gt;Tom&lt;/p&gt;</description></item><item><title>Re: My - Namespace</title><link>https://www.infopathdev.com:443/forums/thread/30604.aspx</link><pubDate>Sat, 19 Jul 2008 10:25:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30604</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30604</wfw:commentRss><description>&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;Hello,&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;We can’t change the namespace defined in xml or schema. We can able to change the prefix of the namespace. Go through this link you will more information on namespace:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;a href="http://www.oracle.com/technology/pub/articles/srivastava_namespaces.html"&gt;http://www.oracle.com/technology/pub/articles/srivastava_namespaces.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0in 0in 10pt;"&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;I am clear about ‘Empty elements and attributes are exported’? Are you trying to xml file to Export the data or something else?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: My - Namespace</title><link>https://www.infopathdev.com:443/forums/thread/30454.aspx</link><pubDate>Tue, 15 Jul 2008 16:07:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30454</guid><dc:creator>horchstein</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30454</wfw:commentRss><description>&lt;p&gt;No one can´t help? Please...&lt;/p&gt;
&lt;p&gt;Is it possible that i have &amp;quot;variables (elements, attributes...)&amp;quot; but these variables are not exported to XML. E.g. i need some variables to calculate&amp;nbsp;an&amp;nbsp;index.&lt;/p&gt;
&lt;p&gt;Empty elements and attributes are exported, too. How can i avoid this - or can´t i do this?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Tom&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: My - Namespace</title><link>https://www.infopathdev.com:443/forums/thread/30325.aspx</link><pubDate>Fri, 11 Jul 2008 09:01:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30325</guid><dc:creator>horchstein</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30325.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30325</wfw:commentRss><description>&lt;p&gt;Hmmm - that sounds not very comfortabel. If the schema is changing then i get a lot of problems...&lt;/p&gt;
&lt;p&gt;Can you or someone else can please help me with the other question:&lt;br /&gt;Is it possible that i have &amp;quot;variables (elements, attributes...)&amp;quot; but these variables are not exported to XML. E.g. i need some variables to calculate&amp;nbsp;an&amp;nbsp;index.&lt;/p&gt;
&lt;p&gt;Empty elements and attributes are exported, too. How can i avoid this - or can´t i do this?&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Tom&lt;/p&gt;</description></item><item><title>Re: My - Namespace</title><link>https://www.infopathdev.com:443/forums/thread/30314.aspx</link><pubDate>Fri, 11 Jul 2008 04:03:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30314</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30314</wfw:commentRss><description>&lt;p&gt;Unfortunately, it seems there may be no easy way to do this, though you may want to have a look at these links:&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;font color="#810081"&gt;&lt;a href="http://safari.ibmpressbooks.com/0735619522/ch04lev1sec7#ch04lev2sec21"&gt;http://safari.ibmpressbooks.com/0735619522/ch04lev1sec7#ch04lev2sec21&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://safari.ibmpressbooks.com/0735619522/ch04lev1sec10"&gt;http://safari.ibmpressbooks.com/0735619522/ch04lev1sec10&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The simplest way to have a form that outputs xml with the format namespaces you want is to create a sample XML file ahead of time, and base the form off of that.&amp;nbsp; However, even if you do that, any additional nodes you add in InfoPath will yet again be in the my: namespace.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>My - Namespace</title><link>https://www.infopathdev.com:443/forums/thread/30288.aspx</link><pubDate>Thu, 10 Jul 2008 15:51:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30288</guid><dc:creator>horchstein</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=30288</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;i´ve made my first little Form with IP (manually add fields - not xsd-schema-based). After the exporting there is a &amp;quot;Microsoft&amp;quot;-namespace in the top of the XML-File. Something like that:&lt;/p&gt;
&lt;p&gt;&amp;lt;my:codeBook xmlns:xsi=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot; xmlns:my=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-07-05T21:32:27"&gt;http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-07-05T21:32:27&lt;/a&gt;&amp;quot; xmlns:xd=&amp;quot;&lt;a href="http://schemas.microsoft.com/office/infopath/2003"&gt;http://schemas.microsoft.com/office/infopath/2003&lt;/a&gt;&amp;quot; xml:lang=&amp;quot;de&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;And in the whole XML-File there is a prefix &amp;quot;my:&amp;quot; in front of the tags.&lt;/p&gt;
&lt;p&gt;How can i delete the automatic generatetd namespaces (and consequently&amp;nbsp;the prefixes) or better how can i define my own namespaces?&lt;/p&gt;
&lt;p&gt;I need something like this:&lt;/p&gt;
&lt;p&gt;&amp;lt;codeBook xmlns=&amp;quot;&lt;a href="http://www.icpsr.umich.edu/DDI"&gt;http://www.icpsr.umich.edu/DDI&lt;/a&gt;&amp;quot; xmlns:xsi=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/a&gt;&amp;quot; xsi:schemaLocation=&amp;quot;&lt;a href="http://www.icpsr.umich.edu/DDI"&gt;http://www.icpsr.umich.edu/DDI&lt;/a&gt; Version2-1_oAnnotations.xsd&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;Another question:&lt;br /&gt;Is it possible that i have &amp;quot;variables (elements, attributes...)&amp;quot; but these variables are not exported to XML. E.g. i need some variables to calculate&amp;nbsp;an&amp;nbsp;index.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;cu&lt;br /&gt;Tom&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>