tag:blogger.com,1999:blog-5189200966000603543.post2012273484875211914..comments2023-03-09T14:22:12.913+01:00Comments on There's Something About SharePoint: InfoPath: Managed code (C#) to convert view to HtmlHans Worsthttp://www.blogger.com/profile/02809578233399415061noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-5189200966000603543.post-15161272994829014942018-07-16T01:39:59.251+02:002018-07-16T01:39:59.251+02:00Set (paste) into xml file by using nodeTypedValue ...Set (paste) into xml file by using nodeTypedValue property of the XML elementאיציקhttps://www.blogger.com/profile/15248448883141755685noreply@blogger.comtag:blogger.com,1999:blog-5189200966000603543.post-14497172318925308092014-04-28T23:12:58.876+02:002014-04-28T23:12:58.876+02:00This works great for me. All except one field. I...This works great for me. All except one field. It is a multi-line textbox. If I copy the inner xml from "root" and paste into a xml file in VS2012, the field shows no line breaks (\n). But is I get the value of that field via the XPath, it has the breaks in it. I have spent a pretty good amount of time trying to set the XmlWriterSettings, but now I think it might be the XPathNavigator. I need the line breaks and I am running short of ideas. Any suggestions?Anonymoushttps://www.blogger.com/profile/05705048962111152115noreply@blogger.comtag:blogger.com,1999:blog-5189200966000603543.post-30391396049942231622014-03-06T13:52:24.642+01:002014-03-06T13:52:24.642+01:00Thanks John for your feedback.
Without the Writer....Thanks John for your feedback.<br />Without the Writer.Close() it's more lean than it was ;-)Hans Worsthttps://www.blogger.com/profile/02809578233399415061noreply@blogger.comtag:blogger.com,1999:blog-5189200966000603543.post-88612275181869388932014-01-27T15:18:22.174+01:002014-01-27T15:18:22.174+01:00There is nothing lean about that code... and espec...There is nothing lean about that code... and especially don't do Writer.Close() inside a using statement!Anonymousnoreply@blogger.com