add xhtml ns to div
This commit is contained in:
parent
9b8ae8a9c8
commit
4dde732718
|
@ -43,6 +43,7 @@ public class CDANarrativeFormat {
|
|||
*/
|
||||
public XhtmlNode convert(Element ed) throws FHIRException {
|
||||
XhtmlNode div = new XhtmlNode(NodeType.Element, "div");
|
||||
div.setAttribute("xmlns", XhtmlNode.XMLNS);
|
||||
processAttributes(ed, div, "ID", "language", "styleCode");
|
||||
processChildren(ed, div);
|
||||
return div;
|
||||
|
|
|
@ -88,8 +88,8 @@ public class XhtmlNode implements IBaseXhtml {
|
|||
}
|
||||
|
||||
public static final String NBSP = Character.toString((char)0xa0);
|
||||
private static final String DECL_XMLNS = " xmlns=\"http://www.w3.org/1999/xhtml\"";
|
||||
|
||||
public static final String XMLNS = "http://www.w3.org/1999/xhtml";
|
||||
private static final String DECL_XMLNS = " xmlns=\""+XMLNS+"\"";
|
||||
|
||||
private Location location;
|
||||
private NodeType nodeType;
|
||||
|
|
Loading…
Reference in New Issue