DBMS_XMLQUERY.setXSLT gives NullPointerException
From: jieli98 <member_at_dbforums.com>
Date: Tue, 17 Sep 2002 00:55:57 +0000
Message-ID: <1822703.1032224157_at_dbforums.com>
Date: Tue, 17 Sep 2002 00:55:57 +0000
Message-ID: <1822703.1032224157_at_dbforums.com>
All,
I want to apply xsl file to xml and generate another xml. This xsl file
is stored in database as clob data. So I select it first and call
DBMS_XMLQUERY.setXSLT. But this method gives me "Java call terminated by
uncaught Java exception: java.lang.NullPointerException"
Do you know why? Please help!
- the following code is from pl/sql ----------------- select expMod.XSL_FILE_CONTENT INTO l_xsl_file_content FROM ams_exp_modified_template expMod, ams_exp_template seed WHERE (seed.export_type = l_export_type AND seed.exp_template_id = expMod.exp_template_id(+));
DBMS_XMLQUERY.setXSLT(l_queryCtx, l_xsl_file_content);--Null Err l_xml_data := DBMS_XMLQuery.getXML(l_queryCtx); ------------------this is my xsl file ----------------------------- ----------------this is my xml file ------------------ HomeCo HomeCo
-- Posted via http://dbforums.comReceived on Tue Sep 17 2002 - 02:55:57 CEST