public class DTDManipulator extends Object
| Constructor and Description |
|---|
DTDManipulator() |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
injectXHTMLPlusMathMLDTD(InputStream in)
Inject into a XML document XHTML + MathML 1.1 DTD reference
(
<! |
static InputStream |
removeDTD(InputStream in)
Remove any DTD reference from a XML document.
|
public static InputStream injectXHTMLPlusMathMLDTD(InputStream in)
<!DOCTYPE math SYSTEM "xhtml-math11.dtd">).
Named MathML entities (α ...) can be used in such
a XML document.in - XML document as InputStreampublic static InputStream removeDTD(InputStream in) throws XMLStreamException
in - XML document as InputStreamXMLStreamExceptionCopyright © 2013. All Rights Reserved.