Support Requests item #2014056, was opened at 2008-07-09 08:25 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=216035&aid=2014056&group_id=16035
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: add Text without escaping or addid cdata section!!? Initial Comment: Hi, I want to add a String as text/content to an Element. If I use the addText() method my String gets escaped, so "<p>...</p>" becomes something like this "<p%gt;..". Oh fine, I have to use addCDATA() method ... no I don't because this would make something like "<![CDATA[...myText...]]>". I just want to add my String as body-content to an element wihout changing the string in whatever way. Is this possible?? using dom4j.1.6.1 regards, chris ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2009-02-07 14:27 Message: plkmmj 13182440 te7i9l [URL=http://le-myrrr.ru/modules/carinsurance/] car insurance [/URL] <a href="http://le-myrrr.ru/modules/carinsurance/"> car insurance </a> http://le-myrrr.ru/modules/carinsurance/ ---------------------------------------------------------------------- Comment By: Filip Jirsák (filipjirsak) Date: 2008-07-09 08:53 Message: Logged In: YES user_id=1175071 Originator: NO No, it is not possible. In XML, you cannot have unquoted angle brackets or ampersand in text content. You can parse a String into XML (try DocumentHelper.parseText() method) and append it as XML nodes in case you want insert it as XML content, not text content. Regards, Filip ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=216035&aid=2014056&group_id=16035 ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev