If you are adding HTML inside of an XML document, namespaces are one approach.
Looks like: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?xml-stylesheet type="text/css"?> <inventory xmlns:HTML="http://www.w3.org/Profiles/XHTML-transitional"> <HTML:STYLE> inventory { display: block; } vendorName { display: block; border: 2px solid black; padding: 1em; background-color: #883; color: #ffd; font-family: verdana, sans-serif; font-size: large; text-align: center; } partNumber { display: block; margin-top: 1.5em; font-family: verdana, sans-serif; </HTML:STYLE> <vendorName>BigCo</vendorName> <!-- need a link to BigCo's web site here --> <HTML:p>Vendor and product description here.</HTML:p> <HTML:a href = "http://www.BigCo.com">Link to BigCo</HTML:a> </inventory> This uses the HTML namespace tied to the root element of the XML document. This also uses an embedded style sheet to make it look pretty. Comment out the <HTML:style> element for a plain version. Any HTML elements must follow XML syntax or the browser will throw an error. Keith Krieger ---- [EMAIL PROTECTED] wrote: > Before i start running around the internet does anybody know off hand how to > handle HTML in XML? Looks like: > <stuff> > <htmlCode><br>foo</br></htmlCode> > </stuff> > A. > > > ______________________________________________________________________ > The KCFusion.org list and website is hosted by Humankind Systems, Inc. > List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED] > Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] > To Subscribe.................... mailto:[EMAIL PROTECTED] > To Unsubscribe................ mailto:[EMAIL PROTECTED] > > > ______________________________________________________________________ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives........ http://www.mail-archive.com/[EMAIL PROTECTED] Questions, Comments or Glowing Praise.. mailto:[EMAIL PROTECTED] To Subscribe.................... mailto:[EMAIL PROTECTED] To Unsubscribe................ mailto:[EMAIL PROTECTED]