<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Remove XAML XML information</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Remove XAML XML information]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 15:32:02 +0000</pubDate>
  <lastBuildDate>Sun, 09 Aug 2009 16:00:42 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14430</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Remove XAML XML information : Thanks Boris!I just made a few...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51790&amp;title=remove-xaml-xml-information#51790</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 09 August 2009 at 4:00pm<br /><br />Thanks Boris!<br><br>I just made a few bug fixes and re-uploaded the source to the same post as before...I hope it comes in handy some day!<br><br>]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 16:00:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51790&amp;title=remove-xaml-xml-information#51790</guid>
  </item> 
  <item>
   <title><![CDATA[Remove XAML XML information : That looks fairly compreshensive!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51788&amp;title=remove-xaml-xml-information#51788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 09 August 2009 at 2:46pm<br /><br />That looks fairly compreshensive! <DIV>&nbsp;</DIV><DIV align=left>Well done.</DIV><DIV align=left>&nbsp;</DIV><DIV align=left>If I need to use a lot more XML in my lists I'll definately try using this rather than my version.</DIV><DIV align=left>&nbsp;</DIV><DIV align=left>Thanks jpbro</DIV><DIV align=left>&nbsp;</DIV><DIV align=left>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 09 Aug 2009 14:46:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51788&amp;title=remove-xaml-xml-information#51788</guid>
  </item> 
  <item>
   <title><![CDATA[Remove XAML XML information : Hey guys,Here&amp;#039;s my first...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51714&amp;title=remove-xaml-xml-information#51714</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 07 August 2009 at 2:29pm<br /><br />Hey guys,<br><br>Here's my first attempt at a XAML &gt; Plaintext converter:<br><br><a href="https://forum.codejock.com/forum_posts.asp?TID=14928&amp;PID=51713#51713" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=14928&amp;PID=51713#51713</a><br><br>Bug reports, questions and ideas are welcome.<br>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 14:29:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51714&amp;title=remove-xaml-xml-information#51714</guid>
  </item> 
  <item>
   <title><![CDATA[Remove XAML XML information : Hi jpbro,  I have been a little...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51706&amp;title=remove-xaml-xml-information#51706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 07 August 2009 at 12:16pm<br /><br />Hi jpbro,<DIV>&nbsp;</DIV><DIV>I have been a little lazy. This was a piece of code that I use to split out the known elements I have used to add to combos amd list boxes in one of my apps. If you do come up with a more global version I would like to see this as I have only coded this for my own specific needs. But, it does show that CJ could add a very useful property to some of the controls.</DIV><DIV>&nbsp;</DIV><DIV>CJ are you reading this?</DIV><DIV>&nbsp;</DIV><DIV>Best regards,</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 12:16:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51706&amp;title=remove-xaml-xml-information#51706</guid>
  </item> 
  <item>
   <title><![CDATA[Remove XAML XML information : It turns out that this is a trickier...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51705&amp;title=remove-xaml-xml-information#51705</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 07 August 2009 at 12:02pm<br /><br />It turns out that this is a trickier problem than it first appears! For example, Boris' method fails if the TextBlock contains &lt;LineBreak/&gt; tags, or if the TextBlock has been defined like:<br><br>&lt;TextBlock Text='This is a test'/&gt;<br><br>It also won't reverse entity encodings such as &amp;amp; and &amp;#163; . It is still a very useful function as long as you keep your XAML within a specific definition though (I'm not knocking it, just pointing out some potential pitfalls).<br><br>I'm working on a more general algorithm now, and I will post it when it is available.<br>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 12:02:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51705&amp;title=remove-xaml-xml-information#51705</guid>
  </item> 
  <item>
   <title><![CDATA[Remove XAML XML information : Hi  I have this if it helps.  Function...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51701&amp;title=remove-xaml-xml-information#51701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3092">Boris</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 07 August 2009 at 9:51am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>I have this if it helps.</DIV><DIV>&nbsp;</DIV><DIV>Function TextFromXAML(sXaml As String) As String<BR>Dim find%<BR>Dim p<BR>Dim txt As String<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; find% = InStr(sXaml, "&lt;/Run")</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If find% &lt;= 0 Then find% = InStr(sXaml, "&lt;/TextBlock")</DIV><DIV>&nbsp;</DIV><DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If find% &gt; 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt = Left(sXaml, find% - 1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; p = Split(txt, "&gt;")<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; txt = CStr(p(UBound(p)))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TextFromXAML = txt<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>End Function</DIV>]]>
   </description>
   <pubDate>Fri, 07 Aug 2009 09:51:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=51701&amp;title=remove-xaml-xml-information#51701</guid>
  </item> 
  <item>
   <title><![CDATA[Remove XAML XML information : Does anybody know a simple way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=49551&amp;title=remove-xaml-xml-information#49551</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=729">tobi</a><br /><strong>Subject:</strong> 14430<br /><strong>Posted:</strong> 01 June 2009 at 1:05pm<br /><br />Does anybody know a simple way to remove the XAML xml information from a <br>styled item ? <br>I have a listbox with XAML formatted entries and need to get the<br>text which is displayed in the listbox only !<br><br><br>]]>
   </description>
   <pubDate>Mon, 01 Jun 2009 13:05:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14430&amp;PID=49551&amp;title=remove-xaml-xml-information#49551</guid>
  </item> 
 </channel>
</rss>