<?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: Cascading list problem</title><link>https://www.infopathdev.com:443/forums/thread/33631.aspx</link><pubDate>Wed, 29 Oct 2008 10:06:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33631</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33631.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33631</wfw:commentRss><description>&lt;p&gt;Ahh, it&amp;#39;s all so clear now - think my head must have been clouded from staring at notepad too long!&lt;/p&gt;
&lt;p&gt;When I looked at both again I realised that in my code I had failed to refer to the actual &amp;quot;Authorised&amp;quot; group, I was able to solve the problem by simply changing it to:&lt;/p&gt;
&lt;p&gt;&amp;lt;Authorisation Funding=&amp;quot;No&amp;quot; ChequeValue=&amp;quot;Under 500&amp;quot; AuthBy=&amp;quot;Adrian Grant&amp;quot;/&amp;gt; &lt;/p&gt;
&lt;p&gt;Thanks again for all your help Hilary - definitely the quickest (and most useable) advice I&amp;#39;ve had from this site :)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Cascading list problem</title><link>https://www.infopathdev.com:443/forums/thread/33601.aspx</link><pubDate>Tue, 28 Oct 2008 18:38:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33601</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33601</wfw:commentRss><description>&lt;p&gt;Well, actually, there is a pretty big difference between yours and the sample. In yours, you have an element called Funding. If you want the element of funding to have the value of &amp;#39;No&amp;#39;, it would look like this:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Funding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;ChequeValue&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Under 500&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;AuthBy&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Adrian Grant&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#000000" size="2"&gt;No&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Funding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;Notice that there is no longer any space between the words &amp;#39;Cheque&amp;#39; and &amp;#39;Value&amp;#39; -- we don&amp;#39;t put spaces in attribute or element names. ChequeValue and AuthBy are now attributes of the Funding element. If we look at the Vehicles sample:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Vehicle&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;year&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;1963&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;make&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Chevrolet&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;model&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Corvette&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;Here we see that there are 3 attributes to the Vehicle, year, make and model. There is no value set in the Vehicle element itself. To do the same with your example, perhaps we&amp;#39;d add an attribute of &amp;#39;Approved&amp;#39; (since that is my best guess of the &amp;#39;No&amp;#39; value for funding... ) like so:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;Funding&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;Approved&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;No&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;ChequeValue&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Under 500&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;&lt;font color="#ff0000" size="2"&gt;AuthBy&lt;/font&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Alison Milner&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;/&amp;gt; &lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Cascading list problem</title><link>https://www.infopathdev.com:443/forums/thread/33600.aspx</link><pubDate>Tue, 28 Oct 2008 18:12:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33600</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33600</wfw:commentRss><description>&lt;p&gt;Hoping you can help me out a little bit more - I&amp;#39;ve used the example file and altered it as necessary to utilise in my form.&amp;nbsp; It&amp;#39;s all been done in notepad and the formatting is identical to the example you sent me but when I&amp;#39;m trying to add the .xml file as a data source I keep getting&amp;nbsp;the below&amp;nbsp;error message :(&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The form contains XML that cannot be parsed:&lt;br /&gt;A name contained an invalid character.&lt;/p&gt;
&lt;p&gt;Line 3, Position 12&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Funding=&amp;quot;No&amp;quot; Cheque Value=&amp;quot;Under 500&amp;quot; AuthBy=&amp;quot;Adrian Grant&amp;quot;/&amp;gt; &lt;/p&gt;
&lt;p&gt;It seems to think the = sign is an invalid character but I can&amp;#39;t see how as it&amp;#39;s used in the example code.&amp;nbsp; I thought it may be something to do with formatting or font but I&amp;#39;ve tried copying the = sign directly from the example code you gave me and still get the error.&amp;nbsp; I&amp;#39;ve attached a copy of the ,xml file, if you wouldn&amp;#39;t mind looking over it to see if you can figure out what I&amp;#39;m doing wrong it would be hugely appreciated!&lt;/p&gt;</description></item><item><title>Re: Cascading list problem</title><link>https://www.infopathdev.com:443/forums/thread/33591.aspx</link><pubDate>Tue, 28 Oct 2008 14:45:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33591</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33591.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33591</wfw:commentRss><description>&lt;p&gt;Yay, it works!&amp;nbsp; Thanks so much Hilary - I knew it would be something simple and had tried pasting in notepad but not saved it with the .xml extension :)&lt;/p&gt;</description></item><item><title>Re: Cascading list problem</title><link>https://www.infopathdev.com:443/forums/thread/33588.aspx</link><pubDate>Tue, 28 Oct 2008 14:29:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33588</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33588.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33588</wfw:commentRss><description>&lt;p&gt;Hi there -- try pasting the xml into a simple text editor, like notepad, and saving it with a .xml extension. In fact, I&amp;#39;ll attach a copy to this post for you, so you can just right click the link and select &amp;#39;Save As&amp;#39; to get a copy.&lt;/p&gt;
&lt;p&gt;Hope that helps....&lt;/p&gt;</description></item><item><title>Cascading list problem</title><link>https://www.infopathdev.com:443/forums/thread/33574.aspx</link><pubDate>Tue, 28 Oct 2008 13:20:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:33574</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/33574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=33574</wfw:commentRss><description>&lt;p&gt;Hello, I&amp;#39;m working with a new form that will need to utilise a cascading list.&amp;nbsp; In order to get my head around this, I&amp;#39;ve been trying to use the &amp;quot;How To&amp;quot; guide on creating a cascading list from a flat data source but I&amp;#39;m encountering problems just going through the guide.&amp;nbsp; I&amp;#39;ve copied the code and pasted into a word doc which I&amp;#39;ve then saved as a .xml file and then added the file as a data connection onto my new blank form.&amp;nbsp; The problem is occurring when it comes to populating the DDL with the data connection.&amp;nbsp; When I come to step 4 (Click the Select XPath button to the right of the Entries text box, select &lt;em&gt;Vehicles/Vehicle/year&lt;/em&gt;, and then click OK twice to close the open dialog boxes.), I don&amp;#39;t get the options of Vehicles/Vehicle/Year but rather get a load of data from the word document&amp;nbsp;- &amp;nbsp;it still looks like a data source but follows the below layout:&lt;/p&gt;
&lt;p&gt;-WordDocument&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; -macrosPresent&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; -embededObjPresent&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; -ocxPresent&lt;/p&gt;
&lt;p&gt;etc..&lt;/p&gt;
&lt;p&gt;Any ideas as to what I&amp;#39;m doing wrong?&amp;nbsp; The DDL is not repeating and is really quite a basic cascade as there are only 2 levels but I can&amp;#39;t seem to figure this out.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Flat-Data-Source.aspx"&gt;http://www.infopathdev.com/blogs/greg/archive/2005/07/06/Create-a-Cascading-List-from-a-Flat-Data-Source.aspx&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>