| java.lang.Object org.continuent.sequoia.common.xml.XmlTools
XmlTools | final public class XmlTools (Code) | | This class defines a XmlTools
author: Nicolas Modrzyk version: 1.0 |
insertDoctype | public static String insertDoctype(String xml, String doctype)(Code) | | Insert a doctype in a XML file. Ugly hack: the DOCTYPE is inserted this way
since the DOCTYPE is stripped from the xml when applying the pretty xsl
stylesheet and I could not find a way to access it from within the xsl. Any
suggestion is welcome...
Parameters: xml - XML content Parameters: doctype - the DTD Doctype to insert the xml where the DTD doctype has been inserted so that the xml canbe validated against this DTD |
|
|