[Axualize-users] re: HTML tags in text strings?
Brought to you by:
russwyte
From: Russell W. <rus...@ya...> - 2003-03-10 13:13:45
|
Frank, You must escape your embedded HTML properly by using XML entities for < and >. Remeber that because this is an XML document that you must distiguish between what is text and what is tag. :) The XML parser(Xerces) see your embedded HTML as child tags to the <object-script> tag. String s = "<html><h2>Header from an object-script</h2></html>"; should be String s = "<html><h2>Header from an object-script</h2></html>"; WR Russ __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |