<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlserver.ro/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>Intrebari generale</title><link>http://sqlserver.ro/forums/16/ShowForum.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8726.aspx</link><pubDate>Thu, 12 May 2011 09:48:00 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8726</guid><dc:creator>tebbaerty</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8726.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8726</wfw:commentRss><description>Ok. Am inteles.&lt;br /&gt;&lt;br /&gt;Am facut un clr.&lt;br /&gt;&lt;br /&gt;Multumesc.</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8714.aspx</link><pubDate>Mon, 09 May 2011 19:18:45 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8714</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8714.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8714</wfw:commentRss><description>nu vroiam sa vad continutul. atita timp cit &lt;br&gt;&amp;amp;&lt;br&gt;nu e encodat, nu e xml pentru mine&lt;br&gt;</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8713.aspx</link><pubDate>Mon, 09 May 2011 08:39:34 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8713</guid><dc:creator>tebbaerty</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8713.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8713</wfw:commentRss><description>Pai insiruirea de taguri nu este afisata. Daca te uiti in primul meu post, am incercat sa pun xml-ul insa a aparut doar continutul tagurilor.</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8712.aspx</link><pubDate>Mon, 09 May 2011 08:21:20 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8712</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8712.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8712</wfw:commentRss><description>1.nu pun sa faci post aici... &lt;br&gt;2. care noduri ? xml e o insiruire de tag-uri&lt;br&gt;3. regexp- nu in sql server nativ&lt;br&gt;</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8711.aspx</link><pubDate>Mon, 09 May 2011 08:10:43 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8711</guid><dc:creator>tebbaerty</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8711.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8711</wfw:commentRss><description>1. daca dau copy paste imi dispar nodurile. doar sa las cate un spatiu dupa fiecare litera din xml. asa ar merge, dar nu prea mai e inteligibil. Incearca sa postezi un xml sa vezi, poate nu reusesc eu (desi am tot incercat cu edit-uri sa vad ce se intampla .)&lt;br /&gt;&lt;br /&gt;2. si eu ma gandeam ca e castigatoare, dar credeam ca exista deja in sql server. nu sunt foarte bun cu regexp dar chestii simple ma descurc.&lt;br /&gt;&lt;br /&gt;Mersi pentru ajutor :D.... mai ramane sa stiu si cum pot adauga un xml (pct 1.), cred ca imi va folosi pe viitor :D</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8710.aspx</link><pubDate>Mon, 09 May 2011 08:00:30 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8710</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8710.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8710</wfw:commentRss><description>1.de ce nu merge cu copy /paste?&lt;br&gt;2. solutia cu regexp pare cistigatoare ...daca esti bun la regexp(eu nu prea)&lt;br&gt;</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8709.aspx</link><pubDate>Mon, 09 May 2011 07:40:23 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8709</guid><dc:creator>tebbaerty</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8709.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8709</wfw:commentRss><description>Salut,&lt;br /&gt;&lt;br /&gt;1. imi cer scuze pentru postul duplicat. din cauza mouse-ului s-a apasat "Post" de 2 ori. L-am sters pe celalat.&lt;br /&gt;&lt;br /&gt;2. cum pot adauga xml-ul ? pentru ca daca ii dau direct copy paste nu merge :( . &lt;br /&gt;&lt;br /&gt;3. la o functie clr care folosind o expresie regulata va gasi continutul nodului cu pricina si il va inlocui cu un html encodat folosind o metoda existenta deja in .Net (HttpUtility.HtmlEncode ) si inca o functie crl care sa il si decodeze.</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8708.aspx</link><pubDate>Sat, 07 May 2011 13:20:08 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8708</guid><dc:creator>ignatandrei</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8708.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8708</wfw:commentRss><description>Daca xml contine un&lt;br&gt;&amp;amp;&lt;br&gt;in loc de &lt;br&gt;&amp;amp; a m p ;&lt;br&gt;nu este xml .... Incearca sa-l salvezi undeva si sa il deschizi cu IE ca sa te convingi&lt;br&gt;&lt;br&gt;&lt;br&gt;Ca rezolvare iti propun un replace punctual acolo unde ai nevoie ...&lt;br&gt;(Ce functie de clr te-ai gindit ?)&lt;br&gt;&lt;br&gt;PS: duplicat cu http://sqlserver.ro/forums/thread/8705.aspx&lt;br&gt;</description></item><item><title>Re: xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8707.aspx</link><pubDate>Sat, 07 May 2011 12:45:40 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8707</guid><dc:creator>Diana</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8707.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8707</wfw:commentRss><description>Un exemplu inteligibil (fragment xml si query care "crapa") ar fi de ajutor.</description></item><item><title>xml and html encode tsql</title><link>http://sqlserver.ro/forums/thread/8706.aspx</link><pubDate>Sat, 07 May 2011 10:45:55 GMT</pubDate><guid isPermaLink="false">963f3a18-65dd-4aad-905c-b785cfe1d7c7:8706</guid><dc:creator>tebbaerty</dc:creator><slash:comments>0</slash:comments><comments>http://sqlserver.ro/forums/thread/8706.aspx</comments><wfw:commentRss>http://sqlserver.ro/forums/commentrss.aspx?SectionID=16&amp;PostID=8706</wfw:commentRss><description>Salut,&lt;br /&gt;&lt;br /&gt; am un xml de genu &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt; blabla&lt;/p&gt; &lt;table&gt;&lt;tr&gt;&lt;td&gt;aaa&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; etc ...&lt;br /&gt;&lt;br /&gt;&lt;img alt='' width='1' height='1' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;problema e ca atunci cand vreau sa fac un select de genul&lt;br /&gt;&lt;br /&gt;select t.c.value sau t.c.query peste el imi crapa si imi zice ca&lt;br /&gt;&lt;br /&gt;XML parsing: line 29, character 96, illegal name character&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Din ce am observat daca trasnform acel &amp;amp; in &amp;amp;amp; totul va functiona perfect.&lt;br /&gt;&lt;br /&gt;Intrebarea este, exista by default in sql o modalitate pentru a face html encode / html decode ? &lt;br /&gt;&lt;br /&gt;Stiu ca pot face eu o functie custom, sau un clr, etc. dar eram curios daca exista deja.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Multumesc&lt;br /&gt;</description></item></channel></rss>