<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106971.aspx</link><pubDate>Thu, 09 Jun 2016 11:30:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106971</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106971.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106971</wfw:commentRss><description>Jimmy, thank you so much.  Great job on this - you noticed and corrected all of my own errors and even simply explained the people fields too.  And, the XSLT you provided worked perfectly! Again, I so very much appreciate your video and your help and explanation here. You and the rest of the qdabra team are the best!  
Have a great day! 
Bill</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106967.aspx</link><pubDate>Thu, 09 Jun 2016 08:39:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106967</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106967.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106967</wfw:commentRss><description>&lt;p&gt;Hi Bill,&lt;/p&gt;&lt;p&gt;Thanks for all the detail. Looks like you were on the right track.&lt;/p&gt;&lt;p&gt;I think&amp;nbsp;the attached XSLT should work, and you can run it like this:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Transform /sourceds=Users /destpath=/my:myFields/my:UserSchedules /xsltfile=UserTransfer.xslt /placement=append /excluderoot=true&lt;/p&gt;&lt;p&gt;Some&amp;nbsp;pointers about where you went wrong:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;It looks like you were trying to put the people values into a &amp;lt;my:UserSchedules&amp;gt; group, but you needed to put it into my:Assignees. You also needed to have a &amp;lt;pc:Person&amp;gt; group inside that.&amp;nbsp;I think you were getting a schema validation error because you didn&amp;#39;t use the /excluderoot parameter, but this would have also caused a schema validation error.&lt;/li&gt;&lt;li&gt;The approach you were using only would have copied at most one person. You needed to iterate over the multiple people either using another &amp;lt;xsl:apply-templates&amp;gt; or an &amp;lt;xsl:for-each&amp;gt;&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Luckily, people fields are a special case because they have the same structure in both the source and destination, so we can use a single &amp;lt;xsl:copy-of&amp;gt; line to copy them.&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;The XPaths you were using to copy the schedule, period, and year wouldn&amp;#39;t have worked because they would have been in relation to the d:SharePointListItem_RW group, not the main data source. While it is possible to populate these values using the XSLT, it would be easier to use an ordinary&amp;nbsp;&lt;b&gt;Set a field&amp;#39;s value&lt;/b&gt; rule to copy values into these fields after the Transform, or just remove those fields altogether. If there are already fields in the form storing those values you probably don&amp;#39;t need to have a copy of them in each row of your repeating group. (Please let me know if you have a situation where these options wouldn&amp;#39;t work.)&lt;/li&gt;&lt;/ul&gt;</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106961.aspx</link><pubDate>Wed, 08 Jun 2016 21:59:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106961</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106961</wfw:commentRss><description>I&amp;#39;m sorry for all of the posts, and this will be last for today unless I get it working.  Thanks again for taking a look.  

I&amp;#39;ve attached my latest changes as a text file so we don&amp;#39;t lose formatting in the forum and hopefully this is easier to read.</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106959.aspx</link><pubDate>Wed, 08 Jun 2016 21:34:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106959</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106959.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106959</wfw:commentRss><description>qRules gave an error on line 26 of the XSLT, which happens to be the open tag for the repeating person section.  Didn&amp;#39;t like the &amp;quot;/&amp;quot; so obviously I represented that whole thing incorrectly as I kinda expected. :)
  
The full error:

Action: Transform. Arguments:   sourceds: Users   destpath: /my:myFields/my:UserSchedules   xsltfile: UserTransfer.xslt   placement: append . Details: &amp;#39;/&amp;#39; is an unexpected token. The expected token is &amp;#39;&amp;gt;&amp;#39;. Line 26, position 20.. Stack:    at System.Xml.XmlTextReaderImpl.Throw(Exception e)    at System.Xml.XmlTextReaderImpl.ParseElement()    at System.Xml.XmlTextReaderImpl.ParseElementContent()    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)    at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)    at System.Xml.XmlDocument.Load(XmlReader reader)    at System.Xml.XmlDocument.Load(Stream inStream)    at Qdabra.Tools.RulesLibrary.Transform.LoadTransform(String fileName, Boolean isView, Boolean useDocument, Commands commands)    at Qdabra.Tools.RulesLibrary.Transform.GetTransform(String fileName, Commands commands, LoadTransformOptions options, Boolean useCache)    at Qdabra.Tools.RulesLibrary.Transform.Execute()    at Qdabra.Tools.RulesLibrary.CommandStarter.Run()    at Qdabra.Tools.RulesLibrary.Commands.RunCommand(Commands command)    at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand()</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106957.aspx</link><pubDate>Wed, 08 Jun 2016 21:01:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106957</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106957</wfw:commentRss><description>part 3 of 3 XSLT attached
hope this works!

thank you again,
Bill</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106956.aspx</link><pubDate>Wed, 08 Jun 2016 20:59:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106956</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106956.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106956</wfw:commentRss><description>Part 2 of 3

attached is Source DS image</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106955.aspx</link><pubDate>Wed, 08 Jun 2016 20:57:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106955</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106955</wfw:commentRss><description>Seems like parts of the post were omitted when I posted this, so I will reply with XSLT as an attachment and the second picture.  might not have liked that xslt pasted inline maybe.
-Bill</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106954.aspx</link><pubDate>Wed, 08 Jun 2016 20:55:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106954</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106954</wfw:commentRss><description>Hey Jimmy, thanks for replying.  Here is where I am, and actually I’m just about to try it in the form.  It’s taken me a while to get this together today, and after posting this here to you I’m just going to give it a try as-is, but it probably needs some correcting.

Below is the XSLT I came up with for this project and attached images of the secondary DS and the repeating destination table.  

Note:  You will notice I am attempting to set values a few data fields from the myFields level of the form as well.  I may have made an error there and if so I’ll get that corrected after I test it (e.g. ../../../my:Period) Regardless, the real question is how to properly handle transforming into the people/person field (called “Assignees” in this case). 


Also, do you think I need to include a namespace declaration for the Person field?
Perhaps like:  xmlns:pc=&amp;quot;http://schemas.microsoft.com/office/infopath/2007/PartnerControls&amp;quot;

Thank you for whatever insight you can share!
Again, thanks for the video and the help,
Bill</description></item><item><title>Re: Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106945.aspx</link><pubDate>Wed, 08 Jun 2016 18:32:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106945</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106945</wfw:commentRss><description>&lt;p&gt;Hi Bill!&lt;/p&gt;&lt;p&gt;Glad to hear&amp;nbsp;you enjoyed the video. &lt;/p&gt;&lt;p&gt;Could you provide a screen shot of both&amp;nbsp;the secondary data source the values are&amp;nbsp;coming from and the format you want to change it into? And if you can attach whatever you&amp;#39;ve got so far for the XSLT file, I can help point you in the right direction.&lt;/p&gt;</description></item><item><title>Transform - anyone have a nested (people) XSLT example?</title><link>https://www.infopathdev.com:443/forums/thread/106937.aspx</link><pubDate>Wed, 08 Jun 2016 17:18:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:106937</guid><dc:creator>theportalshop</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/106937.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=106937</wfw:commentRss><description>Hey there Infopath pals,

Anyone happen to have an XSLT example transforming people(with its 3 nodes) from a secondary DS to an internal(to the form) repeating table person field group?

I&amp;#39;m working on my transform file now and have already had great success with it with &amp;quot;flat&amp;quot; structures thanks to Jimmy&amp;#39;s very helpful webinar video.  But in the end of that video he did mention that this was likely possible.

I may get lucky and get there by myself and if I do I&amp;#39;ll post an example if anyone needs it, but was hoping that maybe one of you qGeniuses have done this and wouldn&amp;#39;t mind giving this loyal qRules customer a little nudge in the right direction... :)

Thanks so much for reading,
Bill</description></item></channel></rss>