<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Sharing SharePoint</title>
	<atom:link href="http://sharepointrookie.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointrookie.wordpress.com</link>
	<description>Always a rookie in the SharePoint World</description>
	<lastBuildDate>Fri, 08 Jan 2010 05:55:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sharepointrookie.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Sharing SharePoint</title>
		<link>http://sharepointrookie.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sharepointrookie.wordpress.com/osd.xml" title="Sharing SharePoint" />
	<atom:link rel='hub' href='http://sharepointrookie.wordpress.com/?pushpress=hub'/>
		<item>
		<title>I have moved my blog</title>
		<link>http://sharepointrookie.wordpress.com/2010/01/08/i-have-moved-my-blog/</link>
		<comments>http://sharepointrookie.wordpress.com/2010/01/08/i-have-moved-my-blog/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 05:53:59 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[MOSS]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=38</guid>
		<description><![CDATA[I have moved all my blog posts to www.jessica-wang.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=38&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have moved all my blog posts to <a href="http://www.jessica-wang.com">www.jessica-wang.com</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=38&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2010/01/08/i-have-moved-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Add stsadm to path</title>
		<link>http://sharepointrookie.wordpress.com/2009/11/30/add-stsadm-to-path/</link>
		<comments>http://sharepointrookie.wordpress.com/2009/11/30/add-stsadm-to-path/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 03:11:43 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/2009/11/30/add-stsadm-to-path/</guid>
		<description><![CDATA[How to add stsadm to path so that you will not need to point it to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN to use it. Just type in @set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH% in the command prompt.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=37&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to add stsadm to path so that you will not need to point it to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN to use it. </p>
<p>Just type in @set PATH=C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN;%PATH% in the command prompt. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=37&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2009/11/30/add-stsadm-to-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Site Owner is unable to create sub sites &#8211; Access denied</title>
		<link>http://sharepointrookie.wordpress.com/2009/04/09/site-owner-is-unable-to-create-sub-sites-access-denied/</link>
		<comments>http://sharepointrookie.wordpress.com/2009/04/09/site-owner-is-unable-to-create-sub-sites-access-denied/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 00:39:45 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Permissions]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=33</guid>
		<description><![CDATA[Special thanks to Neville Pinto and Brain Farnhill who helped me with this problem. The problem: 1. Owner of site C which is located under http://top/sites/siteC cannot create a subsite under site C 2. Owner has read only rights on http://top 3. http://top/sites inherits all permissions from parent site 4. Access denied error when creating [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=33&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Special thanks to Neville Pinto and Brain Farnhill who helped me with this problem.</p>
<p><strong>The problem:</strong><br />
1. Owner of site C which is located under http://top/sites/siteC cannot create a subsite under site C<br />
2. Owner has read only rights on http://top<br />
3. http://top/sites inherits all permissions from parent site<br />
4. Access denied error when creating a subsite on site C</p>
<p><strong>The solution</strong> is that straight forward, just that it didn&#8217;t occur to me!!<br />
1. The site owner needs to have contribute rights to the Site Directory.<br />
2. Break inheritance on site list on http://top/sites and give owner of site C contributor rights </p>
<p>Problem solved!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=33&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2009/04/09/site-owner-is-unable-to-create-sub-sites-access-denied/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>I passed my 74-674 BVPS exam</title>
		<link>http://sharepointrookie.wordpress.com/2009/04/09/i-passed-my-74-674-bvps-exam/</link>
		<comments>http://sharepointrookie.wordpress.com/2009/04/09/i-passed-my-74-674-bvps-exam/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 00:27:49 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=29</guid>
		<description><![CDATA[I passed my BVPS exam on Monday 30th March. It is a bit late to blog about it but what the hell. I found the materials on BVPS extremely helpful, especially the study guide. I guess the key to it is to be mentally prepared to read 5 case studies and when in doubt, always [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=29&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I passed my BVPS exam on Monday 30th March. It is a bit late to blog about it but what the hell. </p>
<p>I found the materials on <a href="https://iwsolve.partners.extranet.microsoft.com/BVPS/Resources.aspx">BVPS</a> extremely helpful, especially the study guide. I guess the key to it is to be mentally prepared to read 5 case studies and when in doubt, always go back to the case study. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=29&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2009/04/09/i-passed-my-74-674-bvps-exam/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom Application.master &#8211; workflow error</title>
		<link>http://sharepointrookie.wordpress.com/2009/02/01/custom-applicationmaster-workflow-error/</link>
		<comments>http://sharepointrookie.wordpress.com/2009/02/01/custom-applicationmaster-workflow-error/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 22:20:49 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[MOSS]]></category>
		<category><![CDATA[application.master]]></category>
		<category><![CDATA[search control]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=21</guid>
		<description><![CDATA[I have a custom application.master page to customise the look and feel of the _layout page. I accidentally copied the search control onto the application.master. All works well until you try to create a workflow and it would not work, and you will recieve an error(not very friendly error). Existing workflow can be used, you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=21&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a custom application.master page to customise the look and feel of the _layout page. I accidentally copied the search control onto the application.master. All works well until you try to create a workflow and it would not work, and you will recieve an error(not very friendly error). Existing workflow can be used, you just can&#8217;t create new workflows.</p>
<p>So if you have the same problem as I do, I hope this post saves you some time.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=21&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2009/02/01/custom-applicationmaster-workflow-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Make A Promise To Go Green And Get 250 GB Free File Hosting</title>
		<link>http://sharepointrookie.wordpress.com/2009/01/23/make-a-promise-to-go-green-and-get-250-gb-free-file-hosting/</link>
		<comments>http://sharepointrookie.wordpress.com/2009/01/23/make-a-promise-to-go-green-and-get-250-gb-free-file-hosting/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 02:43:24 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Go green]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/2009/01/23/make-a-promise-to-go-green-and-get-250-gb-free-file-hosting/</guid>
		<description><![CDATA[I know this is not related to SharePoint in any way but we need to save the earth besides there is a bonus for you. Do your bit for the earth and pledge now. I promise to 1. not print out documents to read whenever possible. 2. print on recycle paper and on both sides. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=20&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know this is not related to SharePoint in any way but we need to save the earth besides there is a bonus for you. Do your bit for the earth and pledge now.</p>
<p>I promise to<br />
1. not print out documents to read whenever possible.<br />
2. print on recycle paper and on both sides. Do you?<br />
3. switch off all appliances (except the fridge) at the power outlet whenever they are not in use. Do you?</p>
<p>http://www.smashingapps.com/2009/01/20/make-a-promise-to-go-green-and-get-250-gb-free-file-hosting.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=20&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2009/01/23/make-a-promise-to-go-green-and-get-250-gb-free-file-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Increase Size of Site Template using STSADM</title>
		<link>http://sharepointrookie.wordpress.com/2008/10/13/increase-size-of-site-template-using-stsadm/</link>
		<comments>http://sharepointrookie.wordpress.com/2008/10/13/increase-size-of-site-template-using-stsadm/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 05:20:55 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=18</guid>
		<description><![CDATA[To increase the size of the default sharepoint template size for Sites  Run Command Prompt, Type in stsadm -o setproperty -pn max-template-site-size -pv 200000000 The line above will change the max size that can be saved as a site template to 20MB, the default value that is set is ony 10MB.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=18&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To increase the size of the default sharepoint template size for Sites</p>
<p> Run Command Prompt, Type in</p>
<p>stsadm -o setproperty -pn max-template-site-size -pv 200000000</p>
<p>The line above will change the max size that can be saved as a site template to 20MB, the default value that is set is ony 10MB.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=18&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2008/10/13/increase-size-of-site-template-using-stsadm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Display site members from AD Groups</title>
		<link>http://sharepointrookie.wordpress.com/2008/07/13/display-site-members-from-ad-groups/</link>
		<comments>http://sharepointrookie.wordpress.com/2008/07/13/display-site-members-from-ad-groups/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 00:12:31 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[WebParts]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Groups]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Users]]></category>
		<category><![CDATA[Webpart]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=12</guid>
		<description><![CDATA[I recently have to do this for a client. The web part is suppose to display a list of all users from the Sharepoint Security groups for every site. The out of the box webpart(Site Users) will display only the name of the AD group and not the members within it. To get started, it is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=12&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently have to do this for a client. The web part is suppose to display a list of all users from the Sharepoint Security groups for every site. The out of the box webpart(Site Users) will display only the name of the AD group and not the members within it.</p>
<p>To get started, it is easier if you installed the Webpart templates for VS.NET</p>
<p>Created a solution using webpart template and you are ready to go.</p>
<p><strong>Call this function to pass in the name of the ADgroup and it will return a list of users name.</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="616" valign="top">//Query Active Directory to get users from Active Directory Groups</p>
<p>public StringCollection GetGroupMembers(stringstrGroup)</p>
<p>{StringCollection groupMemebers = new StringCollection(); </p>
<p>try</p>
<p>{DirectoryEntry ent = new DirectoryEntry(<a href="//OU=youOU,DC=yourDC/">LDAP://OU=youOU,DC=yourDC</a>);</p>
<p>DirectorySearcher srch = new DirectorySearcher(&#8220;(CN=&#8221; + strGroup + &#8220;)&#8221;);</p>
<p>SearchResultCollection coll = srch.FindAll(); </p>
<p>foreach (SearchResult rs in coll)</p>
<p>{ResultPropertyCollection resultPropColl = rs.Properties;</p>
<p>foreach (Object memberColl in resultPropColl["member"])</p>
<p>{DirectoryEntry gpMemberEntry = new DirectoryEntry(&#8220;LDAP://&#8221;+ memberColl);</p>
<p>System.DirectoryServices.PropertyCollection userProps = gpMemberEntry.Properties;</p>
<p>//getting user properties from AD</p>
<p>object obVal = userProps["displayName"].Value;</p>
<p>object obAcc = userProps["sAMAccountName"].Value;</p>
<p>if (null != obVal) {</p>
<p> groupMemebers.Add( &#8220;User Name:&#8221; +obAcc.ToString() + &#8220;, User login name:&#8221; + obVal.ToString() + &#8220;&lt;br&gt;&#8221;);}}}}</p>
<p>catch (Exception ex)</p>
<p>{//writer.Write(ex.Message);}</p>
<p>Return groupMemebers;</td>
</tr>
</tbody>
</table>
<p><strong>To get the names of the current site users from Sharepoint Security Groups:</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="616" valign="top">ArrayList belongToDomain = new ArrayList();</p>
<p>ArrayList names = new ArrayList();</p>
<p>using(SPSite collSite = new SPSite(SPContext.Current.Site.ID))</p>
<p>{using (SPWeb elevatedWeb = collSite.OpenWeb(SPContext.Current.Web.ID))</p>
<p>{//All users in the site</p>
<p>SPUserCollection collUser = SPContext.Current.Web.AllUsers;</p>
<p>SPGroupCollection collgroup = SPContext.Current.Web.Groups;</p>
<p>//for each item in the collection of groups</p>
<p>foreach (object group in collgroup){</p>
<p>//display all users other then the visitors</p>
<p>if (group.ToString() != &#8220;Visitors&#8221;){</p>
<p>//check that the users in the whole site collection belongs to current site group</p>
<p>foreach (SPUser singleuser in collUser)</p>
<p>{//get the list of groups that the user belongs to</p>
<p>foreach (SPGroup userGroup in singleuser.Groups)</p>
<p>{//check if it matches any of the current site groups</p>
<p>if (group.ToString() == userGroup.ToString())</p>
<p>{//check if the user from the sharepoint group is a AD group</p>
<p>if (singleuser.IsDomainGroup)</p>
<p>{//pass the name into Array that query the AD</p>
<p>belongToDomain.Add(singleuser.ToString());}</p>
<p> else{</p>
<p>//otherwise add into the Array that stores list of names, in case the user name is not from an AD group.</p>
<p> names.Add(singleuser.LoginName);</p>
<p>);}} }}}}}}<strong></strong></td>
</tr>
</tbody>
</table>
<p><strong>Now that we have the names of the AD groups from the share point security groups and query the AD for a list of user name. It is now in the names array, we need to make sure that there are no duplicate names. So call the function below and pass in the names array.</strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="616" valign="top">//remove duplicate users name Function</p>
<p>public ArrayList RemoveDups(ArrayList items)</p>
<p>{</p>
<p> ArrayList noDups = new ArrayList();</p>
<p> foreach (string strItem in items)</p>
<p>    {</p>
<p>        if (!noDups.Contains(strItem.Trim()))</p>
<p>        {</p>
<p>           noDups.Add(strItem.Trim());</p>
<p>        }</p>
<p>    }</p>
<p>    noDups.Sort();</p>
<p>    return noDups;}</td>
</tr>
</tbody>
</table>
<p><strong></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sharepointrookie.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sharepointrookie.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=12&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2008/07/13/display-site-members-from-ad-groups/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
		<item>
		<title>Display Current User Name in a page</title>
		<link>http://sharepointrookie.wordpress.com/2008/03/26/display-current-user-name-in-a-page/</link>
		<comments>http://sharepointrookie.wordpress.com/2008/03/26/display-current-user-name-in-a-page/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 04:01:04 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=9</guid>
		<description><![CDATA[I had to display the current user name in a page within Sharepoint, So I created this javascript to get the name from the welcome link. 1. Enter the javascript within the page.aspx  &#60;!&#8211; Script for displaying name &#8211;&#62;      &#60;script language=&#8221;javascript&#8221;  type=&#8221;text/javascript&#8221;&#62;         var Loginname = document.getElementById(&#8220;zz6_Menu&#8221;).innerHTML ;       var end = Loginname.indexOf(&#8220;&#60;&#8221;);     var nameOnly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=9&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I had to display the current user name in a page within Sharepoint, So I created this javascript to get the name from the welcome link.</p>
<p>1. Enter the javascript within the page.aspx</p>
<table style="width:472px;height:166px;">
<tr>
<td>
<h5> &lt;!&#8211; Script for displaying name &#8211;&gt;<br />
     &lt;script language=&#8221;javascript&#8221;  type=&#8221;text/javascript&#8221;&gt;<br />
    <br />
   var Loginname = document.getElementById(&#8220;zz6_Menu&#8221;).innerHTML ;   <br />
   var end = Loginname.indexOf(&#8220;&lt;&#8221;); <br />
   var nameOnly = Loginname.substring(8, end);<br />
   document.write(nameOnly);</h5>
<h5>   <br />
  &lt;/script&gt;</h5>
</td>
</tr>
</table>
<p>There are 2 ways which you can get the Id which is highlighted in red.</p>
<p>1. Right the page and view source to get the ID</p>
<p>2. Using IE Developer Toolbar, click on the Name</p>
<p><a href="http://sharepointrookie.files.wordpress.com/2008/03/welcome.png" title="welcome.png"><img src="http://sharepointrookie.files.wordpress.com/2008/03/welcome.png" alt="welcome.png" /></a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sharepointrookie.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sharepointrookie.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=9&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2008/03/26/display-current-user-name-in-a-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>

		<media:content url="http://sharepointrookie.files.wordpress.com/2008/03/welcome.png" medium="image">
			<media:title type="html">welcome.png</media:title>
		</media:content>
	</item>
		<item>
		<title>XPath Operators</title>
		<link>http://sharepointrookie.wordpress.com/2008/03/25/xpath-operators/</link>
		<comments>http://sharepointrookie.wordpress.com/2008/03/25/xpath-operators/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 22:43:43 +0000</pubDate>
		<dc:creator>Jessica Wang</dc:creator>
				<category><![CDATA[XPath]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://sharepointrookie.wordpress.com/?p=5</guid>
		<description><![CDATA[XPath Queries Operator Description / (child operator) Refers to the root of the XML document when used at the beginning of the XPath expression. The child operator is used to specify the next child to select. The expression &#8220;/Employees/Employee&#8221;, for, example says, start at the root of the XML document, select the Employees node and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=5&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2><a href="http://www.codeguru.com/csharp/csharp/cs_misc/designtechniques/article.php/c7589__1/">XPath Queries</a></h2>
<table border="1" cellPadding="0" cellSpacing="0">
<tr>
<td vAlign="top"><b>Operator</b></td>
<td vAlign="top"><b>Description</b></td>
</tr>
<tr>
<td noWrap="true" vAlign="top">/ (child operator)</td>
<td vAlign="top">Refers to the root of the XML document when used at the beginning of the XPath expression. The child operator is used to specify the next child to select. The expression &#8220;/Employees/Employee&#8221;, for, example says, start at the root of the XML document, select the Employees node and then select all the Employee child nodes within the Employees node. This will return the two Employee nodes in the sample XML document.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">// (recursive descendant operator)</td>
<td vAlign="top">The recursive descendant operator indicates to include all descendant nodes in the search. Using the operator at the beginning of the XPath expression means you start from the root of the XML document. The expression &#8220;//LastName&#8221; starts at the root and finds any LastName node. The expression &#8220;/Employees//LastName&#8221; selects the Employees node and then, within that node, finds any LastName node. It yields the same result, but searches in a different way.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">* (wildcard operator)</td>
<td vAlign="top">The wildcard operator finds any node. The expression &#8220;/*&#8221; finds any node under the root, which in our case is Employees. The expression &#8220;/Employees/*&#8221; means find any node under the Employees node, which in our case results with the two Employee nodes. Now what is the difference between the &#8220;/Employees&#8221; and &#8220;/Employees/*&#8221; expression? The first expression returns the Employees node but the second node finds any node under the Employees node, meaning it returns the two Employee nodes. The expression &#8220;//*&#8221; means to select any node including descendant nodes, so it will effectively list every single node in the complete XML document.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">. (current context operator)</td>
<td vAlign="top">The current context operator refers to the current context. For example, you have written some code that selected the Employees node and then from there you run the expression &#8220;./Employee&#8221;, which means it starts out from the currently selected Employees node and then selects the two Employee nodes. The expression &#8220;Employee&#8221; would yield the same result because it also starts out from the current context. Similar the expression &#8220;.//LastName&#8221; means start from the current context, the Employees node, and find any LastName node including any descendant nodes.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">.. (parent operator)</td>
<td vAlign="top">The parent operator refers to the parent. For example, the expression &#8220;/Employees/Employee/..&#8221; returns the Employees node because you navigate down to the Employee nodes and then tell it to return its parent, which is the Employees node.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">@ (attribute operator)</td>
<td vAlign="top">The attribute operator refers to an attribute instead of an element. The expression &#8220;/Employees//@ID&#8221; selects any ID attribute it finds under the Employees node. Now, keep in mind that the XPath query always returns the selected node. In the case of an attribute, the node below it is its value. So, the expression really two returns nodes, each with the value of each selected attribute. Furthermore, you can use the wildcard operator with attributes, so &#8220;/Employees//@*&#8221; means any attribute underneath the Employees node.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">[ ] (filter operator)</td>
<td vAlign="top">You can apply a filter operator to filter the selected nodes. This works with attributes and with elements. The expression &#8220;/Employees/Employee[@ID=1]&#8221; returns any Employee node under the Employees node that has an ID attribute with the value one. You also can apply filters that just say that an attribute or element with that name needs to be present. For example, the expression &#8220;/Employees/Employee[WebAddress]&#8221; returns Employee nodes that have a WebAddress node as child. The expression &#8220;/Employees/Employee[FirstName='Klaus']&#8221; returns the Employee node that has a FirstName node with the value Klaus.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">text() function</td>
<td vAlign="top">The &#8220;text()&#8221; function refers to the text of the selected node or attribute. The expression &#8220;//Employee//text()&#8221; does not list all the descendant nodes of all Employee nodes but rather the value for each descendant node. The expression &#8220;//Employee/FirstName[text()='Klaus']&#8221; lists all FirstName nodes which have a value of Klaus.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">[ ] (collection operator)</td>
<td vAlign="top">When your expression returns more then one node with the same name, you have a collection returned. The expression &#8220;//Employee&#8221; returns two Employee nodes, which is nothing more than a collection of Employee nodes. You can apply a collection operator and specify which item from the collection you want to select. Keep in mind that the index starts at one. The expression &#8220;//Employee[2]&#8221; returns the second Employee node. The order of the selected nodes is the same order as in the XML document. You can use the collection operator in any blend, such as &#8220;//Employee[1]/LastName&#8221;, which selects the first Employee node and then from there the LastName node.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">( ) (group operator)</td>
<td vAlign="top">The collection operator can sometimes have some odd side effects. Assume you have two Employee nodes and each has two Job nodes. What does the expression &#8220;//Employee/Job[1]&#8221; return? It returns the first Job node for each selected Employee node. But, using the group operator allows you to apply explicit precedence to selections. The expression &#8220;(//Employee/Job)[4]&#8221; first selects all Job nodes for all Employee nodes and from that collection it returns the fourth node. The group operator can only be applied to the top level expression; for example, &#8220;//Employees/(Employee/FirstName)&#8221; is invalid.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">comment() function</td>
<td vAlign="top">Returns a comment node. The expression &#8220;//comment()&#8221; returns any comment node in the XML. The expression &#8220;/Employees/comment()&#8221; returns the comment nodes under the Employees node.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">node() function</td>
<td vAlign="top">XML documents consist of elements, attributes, and their values, each being a node. So, in XPath expressions you can use a node() function instead of a node name or the text() function. It is a generic way to address a node. The expressions &#8220;//Employee/JobTitle/node()&#8221; and &#8220;//Employee/JobTitle/text()&#8221; return the same result, the value of both JobTitle nodes. But, &#8220;//Employee//node()&#8221; will not just return the elements but also the values of each element, because both are nodes.</td>
</tr>
<tr>
<td noWrap="true" vAlign="top">| (union or set operator)</td>
<td vAlign="top">Returns the union of one or more location paths. The expression &#8220;//LastName | //FirstName&#8221; returns all the LastName and FirstName nodes. It preserves the order of the elements as in the XML and does not return any duplicates. The two location paths &#8220;//Employee[@ID=1] | //Employee[FirstName='Klaus']&#8221; return the same nodes but the union of these two returns just the one unique node.</td>
</tr>
</table>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sharepointrookie.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sharepointrookie.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointrookie.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointrookie.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sharepointrookie.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sharepointrookie.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointrookie.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointrookie.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointrookie.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointrookie.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointrookie.wordpress.com&amp;blog=3043058&amp;post=5&amp;subd=sharepointrookie&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sharepointrookie.wordpress.com/2008/03/25/xpath-operators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/dbb68f607f64a28c03091113bea3c5e9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jessica</media:title>
		</media:content>
	</item>
	</channel>
</rss>
