<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Tridion Developer</title>
	<atom:link href="http://www.tridiondeveloper.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tridiondeveloper.com</link>
	<description>Tridion Development portfolio and blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 11:37:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Generating Web.Sitemap from Tridion (SiteMapDataSource) by raj</title>
		<link>http://www.tridiondeveloper.com/web-sitemap/comment-page-1#comment-3048</link>
		<dc:creator>raj</dc:creator>
		<pubDate>Mon, 06 Feb 2012 11:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=386#comment-3048</guid>
		<description>Thanks Nickoli Roussakov,
1. I added your C# code as you said , i added them in my C# project, then i added all the reference DLL of Tridion.
2. I was successfullt able to compile that in visual C#, but i didnt find any dll file in my debug folder.  does c# supports only higher version i mean i was using visual studio 2005- is that the reason?</description>
		<content:encoded><![CDATA[<p>Thanks Nickoli Roussakov,<br />
1. I added your C# code as you said , i added them in my C# project, then i added all the reference DLL of Tridion.<br />
2. I was successfullt able to compile that in visual C#, but i didnt find any dll file in my debug folder.  does c# supports only higher version i mean i was using visual studio 2005- is that the reason?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on TDSE impersonation &amp; snap in security by John Winter</title>
		<link>http://www.tridiondeveloper.com/tdse-impersonation/comment-page-1#comment-3024</link>
		<dc:creator>John Winter</dc:creator>
		<pubDate>Sat, 04 Feb 2012 15:08:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=142#comment-3024</guid>
		<description>Hi Ulrica, I&#039;m afraid I&#039;m not sure what the issue could be, when you get an answer back from support if would be great if you could add a comment here in case anyone else runs into the problem in the future.  Thanks  John</description>
		<content:encoded><![CDATA[<p>Hi Ulrica, I&#8217;m afraid I&#8217;m not sure what the issue could be, when you get an answer back from support if would be great if you could add a comment here in case anyone else runs into the problem in the future.  Thanks  John</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on TDSE impersonation &amp; snap in security by Ulrica</title>
		<link>http://www.tridiondeveloper.com/tdse-impersonation/comment-page-1#comment-3021</link>
		<dc:creator>Ulrica</dc:creator>
		<pubDate>Sat, 04 Feb 2012 08:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=142#comment-3021</guid>
		<description>Hi!
I am having this same problem and I am administrator on the server. However when trying to do the above change in asp_regiis I get &quot;&quot;The RSA Key Container does not exist&quot;.
Will send it to Tridion support as well, but any suggestions?

Kind regards
Ulrica

[WORDPRESS HASHCASH] The poster sent us &#039;0 which is not a hashcash value.</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I am having this same problem and I am administrator on the server. However when trying to do the above change in asp_regiis I get &#8220;&#8221;The RSA Key Container does not exist&#8221;.<br />
Will send it to Tridion support as well, but any suggestions?</p>
<p>Kind regards<br />
Ulrica</p>
<p>[WORDPRESS HASHCASH] The poster sent us &#8217;0 which is not a hashcash value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using XPath to find XML Elements with Inline/Default Namespace and Null Prefix by Nickoli Roussakov</title>
		<link>http://www.tridiondeveloper.com/xpath-query-for-tags-with-null-prefix/comment-page-1#comment-2866</link>
		<dc:creator>Nickoli Roussakov</dc:creator>
		<pubDate>Thu, 02 Feb 2012 04:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=401#comment-2866</guid>
		<description>It&#039;s funny, but many xpath generator tools out there fail when it comes to the scenario in this post.  Thanks for your comments to help thoroughly explain and understand the concept.</description>
		<content:encoded><![CDATA[<p>It&#8217;s funny, but many xpath generator tools out there fail when it comes to the scenario in this post.  Thanks for your comments to help thoroughly explain and understand the concept.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generating Web.Sitemap from Tridion (SiteMapDataSource) by Nickoli Roussakov</title>
		<link>http://www.tridiondeveloper.com/web-sitemap/comment-page-1#comment-2865</link>
		<dc:creator>Nickoli Roussakov</dc:creator>
		<pubDate>Thu, 02 Feb 2012 04:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=386#comment-2865</guid>
		<description>Hi Raj,
Tridion building blocks are developed using C#.net.  TBBs are part of a Compound Component Template or a Compound Page Template used to render either a component or a page, and it doesn&#039;t matter whether the markup that is rendered is Java or .NET (by the same principle you can render plain HTML, PHP or any other markup you chose).  I do suggest participating in the SDL Tridion training to gain a better understanding of creating Tridion templates.  I also highly recommend to get very intimate with the SDL Tridion Templating Manual and the SDL Tridion Content Management Implementation Manual.

You can certainly follow the same design pattern to create an XML file in a different format, a format that your jsp or custom taglib can consume.  Have a look at the code I&#039;ve published, you&#039;ll see that it&#039;s just a matter of massaging the XML results returned by Tridion into any other format you chose.

Regarding your questions:
1) The DLL invoked would be a TBB of type .NET Assembly.  You will also need a TBB of type C# fragment that references the class within the .NET assembly.  Note: if you use the TCMUploadAssembly.exe it will create all the required TBBs.  Refer to the Templating Manual for a detailed description of who to set this up.
2) The C# TBB that generates the XML which gets published to the delivery server is part of a Page Template. As I mentioned in my response to #1, the DLL is simply a collection of TBB classes.
3) Publishing a web.sitemap file does not require a dynamic template.  The next Tridion Community Webinar on March 14th will have an indepth discussion of various navigation approaches in Tridion. Join us and have a listen.  Here is a link for more details: http://www.julianwraith.com/sdl-tridion-community-webinars/community-webinar-14th-march-2012</description>
		<content:encoded><![CDATA[<p>Hi Raj,<br />
Tridion building blocks are developed using C#.net.  TBBs are part of a Compound Component Template or a Compound Page Template used to render either a component or a page, and it doesn&#8217;t matter whether the markup that is rendered is Java or .NET (by the same principle you can render plain HTML, PHP or any other markup you chose).  I do suggest participating in the SDL Tridion training to gain a better understanding of creating Tridion templates.  I also highly recommend to get very intimate with the SDL Tridion Templating Manual and the SDL Tridion Content Management Implementation Manual.</p>
<p>You can certainly follow the same design pattern to create an XML file in a different format, a format that your jsp or custom taglib can consume.  Have a look at the code I&#8217;ve published, you&#8217;ll see that it&#8217;s just a matter of massaging the XML results returned by Tridion into any other format you chose.</p>
<p>Regarding your questions:<br />
1) The DLL invoked would be a TBB of type .NET Assembly.  You will also need a TBB of type C# fragment that references the class within the .NET assembly.  Note: if you use the TCMUploadAssembly.exe it will create all the required TBBs.  Refer to the Templating Manual for a detailed description of who to set this up.<br />
2) The C# TBB that generates the XML which gets published to the delivery server is part of a Page Template. As I mentioned in my response to #1, the DLL is simply a collection of TBB classes.<br />
3) Publishing a web.sitemap file does not require a dynamic template.  The next Tridion Community Webinar on March 14th will have an indepth discussion of various navigation approaches in Tridion. Join us and have a listen.  Here is a link for more details: <a href="http://www.julianwraith.com/sdl-tridion-community-webinars/community-webinar-14th-march-2012" rel="nofollow">http://www.julianwraith.com/sdl-tridion-community-webinars/community-webinar-14th-march-2012</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generating Web.Sitemap from Tridion (SiteMapDataSource) by raj</title>
		<link>http://www.tridiondeveloper.com/web-sitemap/comment-page-1#comment-2859</link>
		<dc:creator>raj</dc:creator>
		<pubDate>Wed, 01 Feb 2012 12:06:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=386#comment-2859</guid>
		<description>I would like to know how can i create the same sitmap , if i am designing a java website.
What are the steps to follow 
1. What is the dll file to be invoked?
2. Is the C# act dll file or whats is it?
3. Is there any simpler steps so i could proceed.

I am going to developa dynamic website based on jsp i wanted your help with this

[WORDPRESS HASHCASH] The poster sent us &#039;0 which is not a hashcash value.</description>
		<content:encoded><![CDATA[<p>I would like to know how can i create the same sitmap , if i am designing a java website.<br />
What are the steps to follow<br />
1. What is the dll file to be invoked?<br />
2. Is the C# act dll file or whats is it?<br />
3. Is there any simpler steps so i could proceed.</p>
<p>I am going to developa dynamic website based on jsp i wanted your help with this</p>
<p>[WORDPRESS HASHCASH] The poster sent us &#8217;0 which is not a hashcash value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using XPath to find XML Elements with Inline/Default Namespace and Null Prefix by Dominic Cronin</title>
		<link>http://www.tridiondeveloper.com/xpath-query-for-tags-with-null-prefix/comment-page-1#comment-2830</link>
		<dc:creator>Dominic Cronin</dc:creator>
		<pubDate>Thu, 26 Jan 2012 19:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=401#comment-2830</guid>
		<description>Well there you are Nickoli: you are now officially up the learning curve for this stuff. It&#039;s actually not to bad as long as you make sure you are looking at the raw XML of the component when you do this. XPath&#039;s behaviour does make sense - imagine if you wanted to distinguish between two elements with the same name and different namespaces... well that&#039;s the whole point of namepaces isn&#039;t it? 

If you want to write more generic code - for example to process stuff in an embedded schema (which would be in the content namespace of the schema which embeds it) then the namespaceURI property of a Tridion schema is useful. 

Alternatively, you can write ugly and less accurate XPaths with stuff like 

/tcm:Component/tcm:Data/tcm:Content/*[local-name()=&#039;banana&#039;]/*[local-name=&#039;cabbage&#039;]</description>
		<content:encoded><![CDATA[<p>Well there you are Nickoli: you are now officially up the learning curve for this stuff. It&#8217;s actually not to bad as long as you make sure you are looking at the raw XML of the component when you do this. XPath&#8217;s behaviour does make sense &#8211; imagine if you wanted to distinguish between two elements with the same name and different namespaces&#8230; well that&#8217;s the whole point of namepaces isn&#8217;t it? </p>
<p>If you want to write more generic code &#8211; for example to process stuff in an embedded schema (which would be in the content namespace of the schema which embeds it) then the namespaceURI property of a Tridion schema is useful. </p>
<p>Alternatively, you can write ugly and less accurate XPaths with stuff like </p>
<p>/tcm:Component/tcm:Data/tcm:Content/*[local-name()='banana']/*[local-name='cabbage']</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using XPath to find XML Elements with Inline/Default Namespace and Null Prefix by Frank van Puffelen</title>
		<link>http://www.tridiondeveloper.com/xpath-query-for-tags-with-null-prefix/comment-page-1#comment-2828</link>
		<dc:creator>Frank van Puffelen</dc:creator>
		<pubDate>Thu, 26 Jan 2012 14:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=401#comment-2828</guid>
		<description>Even if the xhtml namespace had used a prefix, you&#039;d still have to specify a namespace when selecting nodes from it using xpath. The important thing to always remember about namespaces is that the prefix doesn&#039;t matter, all that matters is the namespace it resolves to.

So in your case, you could have added the namespace to your manager like this:
&lt;code&gt;nsMgr.AddNamespace(“xhtml”, “http://www.w3.org/1999/xhtml”);&lt;/code&gt;

And then select the paragraphs using:
&lt;code&gt;componentXml.SelectNodes(“//xhtml:p“, nsMgr)&lt;/code&gt;

Better yet, add two namespaces:

&lt;code&gt;
nsMgr.AddNamespace(“comp”, “uuid:7F1745CA-CCFE-4032-BAD7-5699F4149D3B&quot;);
nsMgr.AddNamespace(“xhtml”, “http://www.w3.org/1999/xhtml”);
&lt;/code&gt;

And select the paragraphs with a more specific XPath (meaning it will need to investigate fewer nodes and thus be faster):

&lt;code&gt;componentXml.SelectNodes(“/comp:Content/comp:Introduction//xhtml:p“, nsMgr)&lt;/code&gt;

If you start using the Component namespace regularly, you might want to consider specifying a more readable value for it in the Schema that the Components are based on. All Tridion cares about is that the Schema&#039;s namespace is unique, it doesn&#039;t care what the exact value is. Remember though: if you change the Schema&#039;s target namespace after you created some Components, you&#039;ll have to update the namespace in those Components too.</description>
		<content:encoded><![CDATA[<p>Even if the xhtml namespace had used a prefix, you&#8217;d still have to specify a namespace when selecting nodes from it using xpath. The important thing to always remember about namespaces is that the prefix doesn&#8217;t matter, all that matters is the namespace it resolves to.</p>
<p>So in your case, you could have added the namespace to your manager like this:<br />
<code>nsMgr.AddNamespace(“xhtml”, “http://www.w3.org/1999/xhtml”);</code></p>
<p>And then select the paragraphs using:<br />
<code>componentXml.SelectNodes(“//xhtml:p“, nsMgr)</code></p>
<p>Better yet, add two namespaces:</p>
<p><code><br />
nsMgr.AddNamespace(“comp”, “uuid:7F1745CA-CCFE-4032-BAD7-5699F4149D3B");<br />
nsMgr.AddNamespace(“xhtml”, “http://www.w3.org/1999/xhtml”);<br />
</code></p>
<p>And select the paragraphs with a more specific XPath (meaning it will need to investigate fewer nodes and thus be faster):</p>
<p><code>componentXml.SelectNodes(“/comp:Content/comp:Introduction//xhtml:p“, nsMgr)</code></p>
<p>If you start using the Component namespace regularly, you might want to consider specifying a more readable value for it in the Schema that the Components are based on. All Tridion cares about is that the Schema&#8217;s namespace is unique, it doesn&#8217;t care what the exact value is. Remember though: if you change the Schema&#8217;s target namespace after you created some Components, you&#8217;ll have to update the namespace in those Components too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using XPath to find XML Elements with Inline/Default Namespace and Null Prefix by Neil</title>
		<link>http://www.tridiondeveloper.com/xpath-query-for-tags-with-null-prefix/comment-page-1#comment-2827</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 26 Jan 2012 10:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=401#comment-2827</guid>
		<description>NIce tip.
I&#039;ve just discovered this myself during some XSLT transformation work of Tridion Component XML. Also, I think you can call that prefix whatever you like - it doesn&#039;t have to be &quot;null&quot;.</description>
		<content:encoded><![CDATA[<p>NIce tip.<br />
I&#8217;ve just discovered this myself during some XSLT transformation work of Tridion Component XML. Also, I think you can call that prefix whatever you like &#8211; it doesn&#8217;t have to be &#8220;null&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Generating Web.Sitemap from Tridion (SiteMapDataSource) by Nickoli Roussakov</title>
		<link>http://www.tridiondeveloper.com/web-sitemap/comment-page-1#comment-2812</link>
		<dc:creator>Nickoli Roussakov</dc:creator>
		<pubDate>Mon, 23 Jan 2012 15:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tridiondeveloper.com/?p=386#comment-2812</guid>
		<description>That&#039;s a great suggestion Alvin.  I like the idea of using several sitemap files.  The code above can be extended to read a Structure Group ID from the page metadata so that it generates the sitemap file starting from that node.

It&#039;s also possible to include the standard .NET Navigation controls inside the Dreamweaver templates so that Tridion managed pages also make a use of this.  Whatever you&#039;d normally put in the code-behind of a page (such as Page_Load(), just put inside a &lt;script runat=&quot;server&quot;&gt; tag inside the DWT.  Another option is to deploy the code-behind DLL separately.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a great suggestion Alvin.  I like the idea of using several sitemap files.  The code above can be extended to read a Structure Group ID from the page metadata so that it generates the sitemap file starting from that node.</p>
<p>It&#8217;s also possible to include the standard .NET Navigation controls inside the Dreamweaver templates so that Tridion managed pages also make a use of this.  Whatever you&#8217;d normally put in the code-behind of a page (such as Page_Load(), just put inside a <script runat="server"> tag inside the DWT.  Another option is to deploy the code-behind DLL separately.</script></p>
]]></content:encoded>
	</item>
</channel>
</rss>

