HTML Tag embedded in XML. The client I'm working with has embedded a <br> tag inside one of their elements in a document.

Roseanne Zhang

  • If you insert html, AFAIK, CDATA section is the only answer to keep your XML file well-formed.
  • If you change your html to xhtml, of course, the well-formness problems would be solved. The next, it would be validation problems if you need to validate your XML. :) You also can solve that problem by setting processContents="lax" in your schema to get away from there. See Q. What does the validator do when we set processContents="lax"?
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact