mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-09 14:31:17 +00:00
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 {
|
public XhtmlNode convert(Element ed) throws FHIRException {
|
||||||
XhtmlNode div = new XhtmlNode(NodeType.Element, "div");
|
XhtmlNode div = new XhtmlNode(NodeType.Element, "div");
|
||||||
|
div.setAttribute("xmlns", XhtmlNode.XMLNS);
|
||||||
processAttributes(ed, div, "ID", "language", "styleCode");
|
processAttributes(ed, div, "ID", "language", "styleCode");
|
||||||
processChildren(ed, div);
|
processChildren(ed, div);
|
||||||
return div;
|
return div;
|
||||||
|
@ -88,8 +88,8 @@ public class XhtmlNode implements IBaseXhtml {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static final String NBSP = Character.toString((char)0xa0);
|
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 Location location;
|
||||||
private NodeType nodeType;
|
private NodeType nodeType;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user