/** * Process a document and a stylesheet and return * the transformation result. Use the xsl:stylesheet PI to find the * document, if one exists. * * @param doc URL string to XML document containing an xsl:stylesheet PI. * * @return HTML transformation result */ public String transformToHtml(String doc) { if (null != doc) { m_documentURL = doc; } m_styleURL = null; return getHtmlText(); }
/** * Process a document and a stylesheet and return * the transformation result. If one of these is null, the * existing value (of a previous transformation) is not affected. * * @param doc URL string to XML document * @param style URL string to XSL stylesheet * * @return HTML transformation result */ public String transformToHtml(String doc, String style) { if (null != doc) { m_documentURL = doc; } if (null != style) { m_styleURL = style; } return getHtmlText(); }
/** * Get the HTML result Tree as a text string suitable * for display in a browser. Note that this is for display of the * XML itself, not for rendering of HTML by the browser. * * @return Transformation result as unmarked text. * @throws Exception thrown if tree can not be converted. */ public String getResultTreeAsText() throws Exception { return escapeString(getHtmlText()); }
/** * Process a document and a stylesheet and return * the transformation result. Use the xsl:stylesheet PI to find the * document, if one exists. * * @param doc URL string to XML document containing an xsl:stylesheet PI. * * @return HTML transformation result */ public String transformToHtml(String doc) { if (null != doc) { m_documentURL = doc; } m_styleURL = null; return getHtmlText(); }
/** * Process a document and a stylesheet and return * the transformation result. Use the xsl:stylesheet PI to find the * document, if one exists. * * @param doc URL string to XML document containing an xsl:stylesheet PI. * * @return HTML transformation result */ public String transformToHtml(String doc) { if (null != doc) { m_documentURL = doc; } m_styleURL = null; return getHtmlText(); }
/** * Process a document and a stylesheet and return * the transformation result. Use the xsl:stylesheet PI to find the * document, if one exists. * * @param doc URL string to XML document containing an xsl:stylesheet PI. * * @return HTML transformation result */ public String transformToHtml(String doc) { if (null != doc) { m_documentURL = doc; } m_styleURL = null; return getHtmlText(); }
/** * Process a document and a stylesheet and return * the transformation result. If one of these is null, the * existing value (of a previous transformation) is not affected. * * @param doc URL string to XML document * @param style URL string to XSL stylesheet * * @return HTML transformation result */ public String transformToHtml(String doc, String style) { if (null != doc) { m_documentURL = doc; } if (null != style) { m_styleURL = style; } return getHtmlText(); }
/** * Process a document and a stylesheet and return * the transformation result. If one of these is null, the * existing value (of a previous transformation) is not affected. * * @param doc URL string to XML document * @param style URL string to XSL stylesheet * * @return HTML transformation result */ public String transformToHtml(String doc, String style) { if (null != doc) { m_documentURL = doc; } if (null != style) { m_styleURL = style; } return getHtmlText(); }
/** * Process a document and a stylesheet and return * the transformation result. If one of these is null, the * existing value (of a previous transformation) is not affected. * * @param doc URL string to XML document * @param style URL string to XSL stylesheet * * @return HTML transformation result */ public String transformToHtml(String doc, String style) { if (null != doc) { m_documentURL = doc; } if (null != style) { m_styleURL = style; } return getHtmlText(); }
/** * Get the HTML result Tree as a text string suitable * for display in a browser. Note that this is for display of the * XML itself, not for rendering of HTML by the browser. * * @return Transformation result as unmarked text. * @throws Exception thrown if tree can not be converted. */ public String getResultTreeAsText() throws Exception { return escapeString(getHtmlText()); }
/** * Get the HTML result Tree as a text string suitable * for display in a browser. Note that this is for display of the * XML itself, not for rendering of HTML by the browser. * * @return Transformation result as unmarked text. * @throws Exception thrown if tree can not be converted. */ public String getResultTreeAsText() throws Exception { return escapeString(getHtmlText()); }
/** * Get the HTML result Tree as a text string suitable * for display in a browser. Note that this is for display of the * XML itself, not for rendering of HTML by the browser. * * @return Transformation result as unmarked text. * @throws Exception thrown if tree can not be converted. */ public String getResultTreeAsText() throws Exception { return escapeString(getHtmlText()); }