In article <30**************************@posting.google.com >,
Ian Pellew <ip*****@pipemedia.co.uk> wrote:
% Whats the xml way to have text include html type tags in?
%
% <Value>
% My text that will include <mytag> kjkjhkjh </mytag>
% </value>
% I am after shielding my text from the xml interpriter.
If you have a lot of text, use a CDATA section
<Value>
<![CDATA[My text that will include <mytag> kjkjhkjh </mytag>]]>
</value>
If you want to include ]]> in the text, you have to end the CDATA
section first.
If you have just one or two <s, you can use <. This is one of
five pre-defined entities which you will read about in any basic
introduction to XML.
--
Patrick TJ McPhee
East York Canada
pt**@interlog.com