<?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: Comma Delimited Attribute Value</title><link>https://www.infopathdev.com:443/forums/thread/6531.aspx</link><pubDate>Wed, 09 Mar 2005 07:48:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6531</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6531</wfw:commentRss><description>Hi Artika,&lt;br /&gt;Perhaps you have an XPath issue. Have you tried replacing your hardcoded xpath with a relative one? I'm not exactly sure, since I can't see your schema.&lt;br /&gt;Hope this helps!&lt;br /&gt;Patrick</description></item><item><title>Re: Comma Delimited Attribute Value</title><link>https://www.infopathdev.com:443/forums/thread/6530.aspx</link><pubDate>Thu, 03 Mar 2005 07:46:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6530</guid><dc:creator>artika</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6530</wfw:commentRss><description>ok i figured out how to access attributes within the script, but i haven't figured out how to modify attributes based on section. right now my code to access the attribute is:&lt;br /&gt;&lt;br /&gt;CommaDelimColors = XDocument.DOM.selectSingleNode("//menu/headingitem/@colors").text;&lt;br /&gt;&lt;br /&gt;if (...)&lt;br /&gt;&lt;br /&gt;XDocument.DOM.selectSingleNode("//menu/headingitem/my:red").text = "True"; // checkbox to checked&lt;br /&gt;&lt;br /&gt;this code is in the "function XDocument::OnSwitchView(eventObj)" so it fills my checkboxes when the form loads. it works, but...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;my problem is this code's scope is not focused on the section, rather it is globally asssigning these attributes and onlt fills the first section's chekboxes and disregards other sections. this does make sense, but how do i fill the rest of the checkboxes in subsequent sections?&lt;br /&gt;</description></item><item><title>Re: Comma Delimited Attribute Value</title><link>https://www.infopathdev.com:443/forums/thread/6529.aspx</link><pubDate>Wed, 02 Mar 2005 11:40:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6529</guid><dc:creator>artika</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6529</wfw:commentRss><description>--&amp;gt; repeating section/table displaying a list of colors each with a check box next to them.&lt;br /&gt;i am assuming the checkboxes are not bound and the list is statically generated (hard coded items).&lt;br /&gt;&lt;br /&gt;Seond part of the question. How do you access checkboxes and attributes and lists in the action script. I understand it is javascript, but is the object of these items simply its name?&lt;br /&gt;&lt;br /&gt;how would you determine a list of checked items in a listbox or table like you mentioned.&lt;br /&gt;&lt;br /&gt;thanks,&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Comma Delimited Attribute Value</title><link>https://www.infopathdev.com:443/forums/thread/6528.aspx</link><pubDate>Tue, 01 Mar 2005 17:26:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6528</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6528</wfw:commentRss><description>Let's assume you have a repeating section/table displaying a list of colors, each with a check box next to them.&lt;br /&gt;&lt;br /&gt;You can write some code in the OnAfterChange event for the check box that goes through the list of colors, see which ones are selected and create a concatenated string of them, separated by commas. Then you take that concatenated string and place it in the attribute value.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Comma Delimited Attribute Value</title><link>https://www.infopathdev.com:443/forums/thread/4565.aspx</link><pubDate>Tue, 01 Mar 2005 15:43:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4565</guid><dc:creator>artika</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4565</wfw:commentRss><description>why is it that everytime i start a new technology i try to do something ,i think , basic, and i end up finding the limitations right away :-(&lt;br /&gt;&lt;br /&gt;Can someone tell me if there is a way to Create list of hard-coded item i.e &lt;br /&gt;&lt;br /&gt;red&lt;br /&gt;black&lt;br /&gt;yellow&lt;br /&gt;&lt;br /&gt;and have the user elected one or more of the items(colors) and have it written back to my xml doc in the form of&lt;br /&gt;&lt;br /&gt;&amp;lt;attributename&amp;gt;="red,black"&lt;br /&gt;&lt;br /&gt;if red and black were selected&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;i basically have an xml page that i generate a HMTL menuing system off of and wo9uld like to make an interface for regular administrators to use so they can edit the tree without XML knowledge. Is this crazy?&lt;br /&gt;&lt;br /&gt;my node:&lt;br /&gt;&amp;lt;leaf colors="red,black"&amp;gt;First Leaf&amp;lt;/leaf&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;&lt;br /&gt;my email: &lt;a href='mailto:codecentre@hotmail.com' target='_blank' title='mailto:codecentre@hotmail.com'&gt;codecentre@hotmail.com&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;</description></item></channel></rss>