DBA Data[Home] [Help]

APPS.ECX_ACTIONS dependencies on XMLDOM

Line 4525: i_xmlDocFrag xmlDOM.DOMDocumentFragment;

4521: i_method_name varchar2(2000) := 'ecx_actions.transform_xml_with_xslt';
4522:
4523: i_stylesheet xslprocessor.Stylesheet;
4524: i_processor xslprocessor.Processor;
4525: i_xmlDocFrag xmlDOM.DOMDocumentFragment;
4526: i_domDocFrag xmlDOM.DOMDocumentFragment;
4527: i_domNode xmlDOM.DOMNode;
4528: i_xslt_dir varchar2(200);
4529: i_fullpath varchar2(200);

Line 4526: i_domDocFrag xmlDOM.DOMDocumentFragment;

4522:
4523: i_stylesheet xslprocessor.Stylesheet;
4524: i_processor xslprocessor.Processor;
4525: i_xmlDocFrag xmlDOM.DOMDocumentFragment;
4526: i_domDocFrag xmlDOM.DOMDocumentFragment;
4527: i_domNode xmlDOM.DOMNode;
4528: i_xslt_dir varchar2(200);
4529: i_fullpath varchar2(200);
4530: i_string varchar2(2000);

Line 4527: i_domNode xmlDOM.DOMNode;

4523: i_stylesheet xslprocessor.Stylesheet;
4524: i_processor xslprocessor.Processor;
4525: i_xmlDocFrag xmlDOM.DOMDocumentFragment;
4526: i_domDocFrag xmlDOM.DOMDocumentFragment;
4527: i_domNode xmlDOM.DOMNode;
4528: i_xslt_dir varchar2(200);
4529: i_fullpath varchar2(200);
4530: i_string varchar2(2000);
4531: l_xslt_payload clob;

Line 4533: l_xsl_doc xmldom.DOMDocument;

4529: i_fullpath varchar2(200);
4530: i_string varchar2(2000);
4531: l_xslt_payload clob;
4532: l_parser xmlparser.parser;
4533: l_xsl_doc xmldom.DOMDocument;
4534: i_doc xmlDOM.DOMDocument;
4535: i_doc_frag xmlDOM.DOMDocumentFragment;
4536: i_node_type pls_integer;
4537:

Line 4534: i_doc xmlDOM.DOMDocument;

4530: i_string varchar2(2000);
4531: l_xslt_payload clob;
4532: l_parser xmlparser.parser;
4533: l_xsl_doc xmldom.DOMDocument;
4534: i_doc xmlDOM.DOMDocument;
4535: i_doc_frag xmlDOM.DOMDocumentFragment;
4536: i_node_type pls_integer;
4537:
4538: begin

Line 4535: i_doc_frag xmlDOM.DOMDocumentFragment;

4531: l_xslt_payload clob;
4532: l_parser xmlparser.parser;
4533: l_xsl_doc xmldom.DOMDocument;
4534: i_doc xmlDOM.DOMDocument;
4535: i_doc_frag xmlDOM.DOMDocumentFragment;
4536: i_node_type pls_integer;
4537:
4538: begin
4539: if (l_procedureEnabled) then

Line 4543: if (xmlDOM.isNull(ecx_utils.g_xmldoc)) then

4539: if (l_procedureEnabled) then
4540: ecx_debug.push(i_method_name);
4541: end if;
4542:
4543: if (xmlDOM.isNull(ecx_utils.g_xmldoc)) then
4544: return;
4545: end if;
4546:
4547: if(l_statementEnabled) then

Line 4635: i_node_type := xmlDOM.getNodeType(ecx_utils.g_xmldoc);

4631:
4632: i_processor := xslprocessor.newProcessor;
4633:
4634: -- get the type of the DOMNode
4635: i_node_type := xmlDOM.getNodeType(ecx_utils.g_xmldoc);
4636: if(l_statementEnabled) then
4637: ecx_debug.log(l_statement, 'i_node_type', i_node_type,i_method_name);
4638: end if;
4639:

Line 4640: if (i_node_type = xmlDOM.DOCUMENT_NODE)

4636: if(l_statementEnabled) then
4637: ecx_debug.log(l_statement, 'i_node_type', i_node_type,i_method_name);
4638: end if;
4639:
4640: if (i_node_type = xmlDOM.DOCUMENT_NODE)
4641: then
4642: if(l_statementEnabled) then
4643: ecx_debug.log(l_statement, 'Creating Document Object from DOM Node...',i_method_name);
4644: end if;

Line 4645: i_doc := xmlDOM.makeDocument(ecx_utils.g_xmldoc);

4641: then
4642: if(l_statementEnabled) then
4643: ecx_debug.log(l_statement, 'Creating Document Object from DOM Node...',i_method_name);
4644: end if;
4645: i_doc := xmlDOM.makeDocument(ecx_utils.g_xmldoc);
4646: if(l_statementEnabled) then
4647: ecx_debug.log(l_statement, 'Before processing XSL',i_method_name);
4648: end if;
4649: i_xmlDocFrag := xslprocessor.processXSL(i_processor, i_stylesheet, i_doc);

Line 4651: elsif (i_node_type = xmlDOM.DOCUMENT_FRAGMENT_NODE)

4647: ecx_debug.log(l_statement, 'Before processing XSL',i_method_name);
4648: end if;
4649: i_xmlDocFrag := xslprocessor.processXSL(i_processor, i_stylesheet, i_doc);
4650:
4651: elsif (i_node_type = xmlDOM.DOCUMENT_FRAGMENT_NODE)
4652: then
4653: if(l_statementEnabled) then
4654: ecx_debug.log(l_statement,'Creating Document fragment from DOM Node...',i_method_name);
4655: end if;

Line 4656: i_doc_frag := xmlDOM.makeDocumentFragment(ecx_utils.g_xmldoc);

4652: then
4653: if(l_statementEnabled) then
4654: ecx_debug.log(l_statement,'Creating Document fragment from DOM Node...',i_method_name);
4655: end if;
4656: i_doc_frag := xmlDOM.makeDocumentFragment(ecx_utils.g_xmldoc);
4657: if(l_statementEnabled) then
4658: ecx_debug.log(l_statement, 'Before processing XSL',i_method_name);
4659: end if;
4660: i_xmlDocFrag := xslprocessor.processXSL(i_processor, i_stylesheet, i_doc_frag);

Line 4666: i_domNode := xmlDOM.makeNode(i_xmlDocFrag);

4662:
4663: if(l_statementEnabled) then
4664: ecx_debug.log(l_statement,'XSL processed.Creating Node...',i_method_name);
4665: end if;
4666: i_domNode := xmlDOM.makeNode(i_xmlDocFrag);
4667: if(l_statementEnabled) then
4668: ecx_debug.log(l_statement, 'Node created.',i_method_name);
4669: end if;
4670: ecx_utils.g_xmldoc := i_domNode;

Line 4681: if (not xmldom.isNull(l_xsl_doc))

4677: if (l_parser.id <> -1)
4678: then
4679: xmlParser.freeParser(l_parser);
4680: end if;
4681: if (not xmldom.isNull(l_xsl_doc))
4682: then
4683: xmldom.freeDocument(l_xsl_doc);
4684: end if;
4685: if (not xmldom.isNull(i_doc))

Line 4683: xmldom.freeDocument(l_xsl_doc);

4679: xmlParser.freeParser(l_parser);
4680: end if;
4681: if (not xmldom.isNull(l_xsl_doc))
4682: then
4683: xmldom.freeDocument(l_xsl_doc);
4684: end if;
4685: if (not xmldom.isNull(i_doc))
4686: then
4687: xmldom.freeDocument(i_doc);

Line 4685: if (not xmldom.isNull(i_doc))

4681: if (not xmldom.isNull(l_xsl_doc))
4682: then
4683: xmldom.freeDocument(l_xsl_doc);
4684: end if;
4685: if (not xmldom.isNull(i_doc))
4686: then
4687: xmldom.freeDocument(i_doc);
4688: end if;
4689:

Line 4687: xmldom.freeDocument(i_doc);

4683: xmldom.freeDocument(l_xsl_doc);
4684: end if;
4685: if (not xmldom.isNull(i_doc))
4686: then
4687: xmldom.freeDocument(i_doc);
4688: end if;
4689:
4690: if (not xmldom.isNull(i_doc_frag))
4691: then

Line 4690: if (not xmldom.isNull(i_doc_frag))

4686: then
4687: xmldom.freeDocument(i_doc);
4688: end if;
4689:
4690: if (not xmldom.isNull(i_doc_frag))
4691: then
4692: xmldom.freeDocFrag(i_doc_frag);
4693: end if;
4694:

Line 4692: xmldom.freeDocFrag(i_doc_frag);

4688: end if;
4689:
4690: if (not xmldom.isNull(i_doc_frag))
4691: then
4692: xmldom.freeDocFrag(i_doc_frag);
4693: end if;
4694:
4695: if (l_procedureEnabled) then
4696: ecx_debug.pop(i_method_name);

Line 4700: when xmlDOM.INDEX_SIZE_ERR then

4696: ecx_debug.pop(i_method_name);
4697: end if;
4698: exception
4699: -- Put All DOM Parser Exceptions Here.
4700: when xmlDOM.INDEX_SIZE_ERR then
4701: ecx_debug.setErrorInfo(1,20,SQLERRM);
4702: if(l_unexpectedEnabled) then
4703: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4704: end if;

Line 4710: if (not xmldom.isNull(l_xsl_doc))

4706: if (l_parser.id <> -1)
4707: then
4708: xmlParser.freeParser(l_parser);
4709: end if;
4710: if (not xmldom.isNull(l_xsl_doc))
4711: then
4712: xmldom.freeDocument(l_xsl_doc);
4713: end if;
4714: if (l_procedureEnabled) then

Line 4712: xmldom.freeDocument(l_xsl_doc);

4708: xmlParser.freeParser(l_parser);
4709: end if;
4710: if (not xmldom.isNull(l_xsl_doc))
4711: then
4712: xmldom.freeDocument(l_xsl_doc);
4713: end if;
4714: if (l_procedureEnabled) then
4715: ecx_debug.pop(i_method_name);
4716: end if;

Line 4718: when xmlDOM.DOMSTRING_SIZE_ERR then

4714: if (l_procedureEnabled) then
4715: ecx_debug.pop(i_method_name);
4716: end if;
4717: raise ecx_utils.program_exit;
4718: when xmlDOM.DOMSTRING_SIZE_ERR then
4719: ecx_debug.setErrorInfo(1,20,SQLERRM);
4720: if(l_unexpectedEnabled) then
4721: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4722: end if;

Line 4728: if (not xmldom.isNull(l_xsl_doc))

4724: if (l_parser.id <> -1)
4725: then
4726: xmlParser.freeParser(l_parser);
4727: end if;
4728: if (not xmldom.isNull(l_xsl_doc))
4729: then
4730: xmldom.freeDocument(l_xsl_doc);
4731: end if;
4732: if (l_procedureEnabled) then

Line 4730: xmldom.freeDocument(l_xsl_doc);

4726: xmlParser.freeParser(l_parser);
4727: end if;
4728: if (not xmldom.isNull(l_xsl_doc))
4729: then
4730: xmldom.freeDocument(l_xsl_doc);
4731: end if;
4732: if (l_procedureEnabled) then
4733: ecx_debug.pop(i_method_name);
4734: end if;

Line 4736: when xmlDOM.HIERARCHY_REQUEST_ERR then

4732: if (l_procedureEnabled) then
4733: ecx_debug.pop(i_method_name);
4734: end if;
4735: raise ecx_utils.program_exit;
4736: when xmlDOM.HIERARCHY_REQUEST_ERR then
4737: ecx_debug.setErrorInfo(1,20,SQLERRM);
4738: if(l_unexpectedEnabled) then
4739: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4740: end if;

Line 4746: if (not xmldom.isNull(l_xsl_doc))

4742: if (l_parser.id <> -1)
4743: then
4744: xmlParser.freeParser(l_parser);
4745: end if;
4746: if (not xmldom.isNull(l_xsl_doc))
4747: then
4748: xmldom.freeDocument(l_xsl_doc);
4749: end if;
4750: if (l_procedureEnabled) then

Line 4748: xmldom.freeDocument(l_xsl_doc);

4744: xmlParser.freeParser(l_parser);
4745: end if;
4746: if (not xmldom.isNull(l_xsl_doc))
4747: then
4748: xmldom.freeDocument(l_xsl_doc);
4749: end if;
4750: if (l_procedureEnabled) then
4751: ecx_debug.pop(i_method_name);
4752: end if;

Line 4754: when xmlDOM.WRONG_DOCUMENT_ERR then

4750: if (l_procedureEnabled) then
4751: ecx_debug.pop(i_method_name);
4752: end if;
4753: raise ecx_utils.program_exit;
4754: when xmlDOM.WRONG_DOCUMENT_ERR then
4755: ecx_debug.setErrorInfo(1,20,SQLERRM);
4756: if(l_unexpectedEnabled) then
4757: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4758: end if;

Line 4764: if (not xmldom.isNull(l_xsl_doc))

4760: if (l_parser.id <> -1)
4761: then
4762: xmlParser.freeParser(l_parser);
4763: end if;
4764: if (not xmldom.isNull(l_xsl_doc))
4765: then
4766: xmldom.freeDocument(l_xsl_doc);
4767: end if;
4768: if (l_procedureEnabled) then

Line 4766: xmldom.freeDocument(l_xsl_doc);

4762: xmlParser.freeParser(l_parser);
4763: end if;
4764: if (not xmldom.isNull(l_xsl_doc))
4765: then
4766: xmldom.freeDocument(l_xsl_doc);
4767: end if;
4768: if (l_procedureEnabled) then
4769: ecx_debug.pop(i_method_name);
4770: end if;

Line 4772: when xmlDOM.INVALID_CHARACTER_ERR then

4768: if (l_procedureEnabled) then
4769: ecx_debug.pop(i_method_name);
4770: end if;
4771: raise ecx_utils.program_exit;
4772: when xmlDOM.INVALID_CHARACTER_ERR then
4773: ecx_debug.setErrorInfo(1,20,SQLERRM);
4774: if(l_unexpectedEnabled) then
4775: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4776: end if;

Line 4782: if (not xmldom.isNull(l_xsl_doc))

4778: if (l_parser.id <> -1)
4779: then
4780: xmlParser.freeParser(l_parser);
4781: end if;
4782: if (not xmldom.isNull(l_xsl_doc))
4783: then
4784: xmldom.freeDocument(l_xsl_doc);
4785: end if;
4786: if (l_procedureEnabled) then

Line 4784: xmldom.freeDocument(l_xsl_doc);

4780: xmlParser.freeParser(l_parser);
4781: end if;
4782: if (not xmldom.isNull(l_xsl_doc))
4783: then
4784: xmldom.freeDocument(l_xsl_doc);
4785: end if;
4786: if (l_procedureEnabled) then
4787: ecx_debug.pop(i_method_name);
4788: end if;

Line 4790: when xmlDOM.NO_DATA_ALLOWED_ERR then

4786: if (l_procedureEnabled) then
4787: ecx_debug.pop(i_method_name);
4788: end if;
4789: raise ecx_utils.program_exit;
4790: when xmlDOM.NO_DATA_ALLOWED_ERR then
4791: ecx_debug.setErrorInfo(1,20,SQLERRM);
4792: if(l_unexpectedEnabled) then
4793: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4794: end if;

Line 4800: if (not xmldom.isNull(l_xsl_doc))

4796: if (l_parser.id <> -1)
4797: then
4798: xmlParser.freeParser(l_parser);
4799: end if;
4800: if (not xmldom.isNull(l_xsl_doc))
4801: then
4802: xmldom.freeDocument(l_xsl_doc);
4803: end if;
4804: if (l_procedureEnabled) then

Line 4802: xmldom.freeDocument(l_xsl_doc);

4798: xmlParser.freeParser(l_parser);
4799: end if;
4800: if (not xmldom.isNull(l_xsl_doc))
4801: then
4802: xmldom.freeDocument(l_xsl_doc);
4803: end if;
4804: if (l_procedureEnabled) then
4805: ecx_debug.pop(i_method_name);
4806: end if;

Line 4808: when xmlDOM.No_MODIFICATION_ALLOWED_ERR then

4804: if (l_procedureEnabled) then
4805: ecx_debug.pop(i_method_name);
4806: end if;
4807: raise ecx_utils.program_exit;
4808: when xmlDOM.No_MODIFICATION_ALLOWED_ERR then
4809: ecx_debug.setErrorInfo(1,20,SQLERRM);
4810: if(l_unexpectedEnabled) then
4811: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4812: end if;

Line 4818: if (not xmldom.isNull(l_xsl_doc))

4814: if (l_parser.id <> -1)
4815: then
4816: xmlParser.freeParser(l_parser);
4817: end if;
4818: if (not xmldom.isNull(l_xsl_doc))
4819: then
4820: xmldom.freeDocument(l_xsl_doc);
4821: end if;
4822: if (l_procedureEnabled) then

Line 4820: xmldom.freeDocument(l_xsl_doc);

4816: xmlParser.freeParser(l_parser);
4817: end if;
4818: if (not xmldom.isNull(l_xsl_doc))
4819: then
4820: xmldom.freeDocument(l_xsl_doc);
4821: end if;
4822: if (l_procedureEnabled) then
4823: ecx_debug.pop(i_method_name);
4824: end if;

Line 4826: when xmlDOM.NOT_FOUND_ERR then

4822: if (l_procedureEnabled) then
4823: ecx_debug.pop(i_method_name);
4824: end if;
4825: raise ecx_utils.program_exit;
4826: when xmlDOM.NOT_FOUND_ERR then
4827: ecx_debug.setErrorInfo(1,20,SQLERRM);
4828: if(l_unexpectedEnabled) then
4829: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4830: end if;

Line 4836: if (not xmldom.isNull(l_xsl_doc))

4832: if (l_parser.id <> -1)
4833: then
4834: xmlParser.freeParser(l_parser);
4835: end if;
4836: if (not xmldom.isNull(l_xsl_doc))
4837: then
4838: xmldom.freeDocument(l_xsl_doc);
4839: end if;
4840: if (l_procedureEnabled) then

Line 4838: xmldom.freeDocument(l_xsl_doc);

4834: xmlParser.freeParser(l_parser);
4835: end if;
4836: if (not xmldom.isNull(l_xsl_doc))
4837: then
4838: xmldom.freeDocument(l_xsl_doc);
4839: end if;
4840: if (l_procedureEnabled) then
4841: ecx_debug.pop(i_method_name);
4842: end if;

Line 4844: when xmlDOM.NOT_SUPPORTED_ERR then

4840: if (l_procedureEnabled) then
4841: ecx_debug.pop(i_method_name);
4842: end if;
4843: raise ecx_utils.program_exit;
4844: when xmlDOM.NOT_SUPPORTED_ERR then
4845: ecx_debug.setErrorInfo(1,20,SQLERRM);
4846: if(l_unexpectedEnabled) then
4847: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4848: end if;

Line 4854: if (not xmldom.isNull(l_xsl_doc))

4850: if (l_parser.id <> -1)
4851: then
4852: xmlParser.freeParser(l_parser);
4853: end if;
4854: if (not xmldom.isNull(l_xsl_doc))
4855: then
4856: xmldom.freeDocument(l_xsl_doc);
4857: end if;
4858: if (l_procedureEnabled) then

Line 4856: xmldom.freeDocument(l_xsl_doc);

4852: xmlParser.freeParser(l_parser);
4853: end if;
4854: if (not xmldom.isNull(l_xsl_doc))
4855: then
4856: xmldom.freeDocument(l_xsl_doc);
4857: end if;
4858: if (l_procedureEnabled) then
4859: ecx_debug.pop(i_method_name);
4860: end if;

Line 4862: when xmlDOM.INUSE_ATTRIBUTE_ERR then

4858: if (l_procedureEnabled) then
4859: ecx_debug.pop(i_method_name);
4860: end if;
4861: raise ecx_utils.program_exit;
4862: when xmlDOM.INUSE_ATTRIBUTE_ERR then
4863: ecx_debug.setErrorInfo(1,20,SQLERRM);
4864: -- free all the used variables
4865: if (l_parser.id <> -1)
4866: then

Line 4869: if (not xmldom.isNull(l_xsl_doc))

4865: if (l_parser.id <> -1)
4866: then
4867: xmlParser.freeParser(l_parser);
4868: end if;
4869: if (not xmldom.isNull(l_xsl_doc))
4870: then
4871: xmldom.freeDocument(l_xsl_doc);
4872: end if;
4873: if(l_unexpectedEnabled) then

Line 4871: xmldom.freeDocument(l_xsl_doc);

4867: xmlParser.freeParser(l_parser);
4868: end if;
4869: if (not xmldom.isNull(l_xsl_doc))
4870: then
4871: xmldom.freeDocument(l_xsl_doc);
4872: end if;
4873: if(l_unexpectedEnabled) then
4874: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
4875: end if;

Line 4892: if (not xmldom.isNull(l_xsl_doc))

4888: if (l_parser.id <> -1)
4889: then
4890: xmlParser.freeParser(l_parser);
4891: end if;
4892: if (not xmldom.isNull(l_xsl_doc))
4893: then
4894: xmldom.freeDocument(l_xsl_doc);
4895: end if;
4896: if (l_procedureEnabled) then

Line 4894: xmldom.freeDocument(l_xsl_doc);

4890: xmlParser.freeParser(l_parser);
4891: end if;
4892: if (not xmldom.isNull(l_xsl_doc))
4893: then
4894: xmldom.freeDocument(l_xsl_doc);
4895: end if;
4896: if (l_procedureEnabled) then
4897: ecx_debug.pop(i_method_name);
4898: end if;

Line 5827: l_xsl_doc xmldom.DOMDocument;

5823: i_fullpath varchar2(200);
5824: i_string varchar2(2000);
5825: l_xslt_payload clob;
5826: l_parser xmlparser.parser;
5827: l_xsl_doc xmldom.DOMDocument;
5828: i_doc xmlDOM.DOMDocument;
5829: i_doc_frag xmlDOM.DOMDocumentFragment;
5830: i_node_type pls_integer;
5831:

Line 5828: i_doc xmlDOM.DOMDocument;

5824: i_string varchar2(2000);
5825: l_xslt_payload clob;
5826: l_parser xmlparser.parser;
5827: l_xsl_doc xmldom.DOMDocument;
5828: i_doc xmlDOM.DOMDocument;
5829: i_doc_frag xmlDOM.DOMDocumentFragment;
5830: i_node_type pls_integer;
5831:
5832: begin

Line 5829: i_doc_frag xmlDOM.DOMDocumentFragment;

5825: l_xslt_payload clob;
5826: l_parser xmlparser.parser;
5827: l_xsl_doc xmldom.DOMDocument;
5828: i_doc xmlDOM.DOMDocument;
5829: i_doc_frag xmlDOM.DOMDocumentFragment;
5830: i_node_type pls_integer;
5831:
5832: begin
5833: if (l_procedureEnabled) then

Line 5837: if (xmlDOM.isNull(ecx_utils.g_xmldoc)) then

5833: if (l_procedureEnabled) then
5834: ecx_debug.push(i_method_name);
5835: end if;
5836:
5837: if (xmlDOM.isNull(ecx_utils.g_xmldoc)) then
5838: return;
5839: end if;
5840:
5841: if(l_statementEnabled) then

Line 5929: i_node_type := xmlDOM.getNodeType(ecx_utils.g_xmldoc);

5925:
5926: i_processor := xslprocessor.newProcessor;
5927:
5928: -- get the type of the DOMNode
5929: i_node_type := xmlDOM.getNodeType(ecx_utils.g_xmldoc);
5930: if(l_statementEnabled) then
5931: ecx_debug.log(l_statement, 'i_node_type', i_node_type,i_method_name);
5932: end if;
5933:

Line 5934: if (i_node_type = xmlDOM.DOCUMENT_NODE)

5930: if(l_statementEnabled) then
5931: ecx_debug.log(l_statement, 'i_node_type', i_node_type,i_method_name);
5932: end if;
5933:
5934: if (i_node_type = xmlDOM.DOCUMENT_NODE)
5935: then
5936: if(l_statementEnabled) then
5937: ecx_debug.log(l_statement, 'Creating Document Object from DOM Node...',i_method_name);
5938: end if;

Line 5939: i_doc := xmlDOM.makeDocument(ecx_utils.g_xmldoc);

5935: then
5936: if(l_statementEnabled) then
5937: ecx_debug.log(l_statement, 'Creating Document Object from DOM Node...',i_method_name);
5938: end if;
5939: i_doc := xmlDOM.makeDocument(ecx_utils.g_xmldoc);
5940: if(l_statementEnabled) then
5941: ecx_debug.log(l_statement, 'Before processing XSL',i_method_name);
5942: end if;
5943: xslprocessor.processXSL(i_processor, i_stylesheet, i_doc,i_out_transformed);

Line 5945: elsif (i_node_type = xmlDOM.DOCUMENT_FRAGMENT_NODE)

5941: ecx_debug.log(l_statement, 'Before processing XSL',i_method_name);
5942: end if;
5943: xslprocessor.processXSL(i_processor, i_stylesheet, i_doc,i_out_transformed);
5944:
5945: elsif (i_node_type = xmlDOM.DOCUMENT_FRAGMENT_NODE)
5946: then
5947: if(l_statementEnabled) then
5948: ecx_debug.log(l_statement,'Creating Document fragment from DOM Node...',i_method_name);
5949: end if;

Line 5950: i_doc_frag := xmlDOM.makeDocumentFragment(ecx_utils.g_xmldoc);

5946: then
5947: if(l_statementEnabled) then
5948: ecx_debug.log(l_statement,'Creating Document fragment from DOM Node...',i_method_name);
5949: end if;
5950: i_doc_frag := xmlDOM.makeDocumentFragment(ecx_utils.g_xmldoc);
5951: if(l_statementEnabled) then
5952: ecx_debug.log(l_statement, 'Before processing XSL',i_method_name);
5953: end if;
5954: xslprocessor.processXSL(i_processor, i_stylesheet, i_doc_frag,i_out_transformed);

Line 5969: if (not xmldom.isNull(l_xsl_doc))

5965: if (l_parser.id <> -1)
5966: then
5967: xmlParser.freeParser(l_parser);
5968: end if;
5969: if (not xmldom.isNull(l_xsl_doc))
5970: then
5971: xmldom.freeDocument(l_xsl_doc);
5972: end if;
5973: if (not xmldom.isNull(i_doc))

Line 5971: xmldom.freeDocument(l_xsl_doc);

5967: xmlParser.freeParser(l_parser);
5968: end if;
5969: if (not xmldom.isNull(l_xsl_doc))
5970: then
5971: xmldom.freeDocument(l_xsl_doc);
5972: end if;
5973: if (not xmldom.isNull(i_doc))
5974: then
5975: xmldom.freeDocument(i_doc);

Line 5973: if (not xmldom.isNull(i_doc))

5969: if (not xmldom.isNull(l_xsl_doc))
5970: then
5971: xmldom.freeDocument(l_xsl_doc);
5972: end if;
5973: if (not xmldom.isNull(i_doc))
5974: then
5975: xmldom.freeDocument(i_doc);
5976: end if;
5977:

Line 5975: xmldom.freeDocument(i_doc);

5971: xmldom.freeDocument(l_xsl_doc);
5972: end if;
5973: if (not xmldom.isNull(i_doc))
5974: then
5975: xmldom.freeDocument(i_doc);
5976: end if;
5977:
5978: if (not xmldom.isNull(i_doc_frag))
5979: then

Line 5978: if (not xmldom.isNull(i_doc_frag))

5974: then
5975: xmldom.freeDocument(i_doc);
5976: end if;
5977:
5978: if (not xmldom.isNull(i_doc_frag))
5979: then
5980: xmldom.freeDocFrag(i_doc_frag);
5981: end if;
5982:

Line 5980: xmldom.freeDocFrag(i_doc_frag);

5976: end if;
5977:
5978: if (not xmldom.isNull(i_doc_frag))
5979: then
5980: xmldom.freeDocFrag(i_doc_frag);
5981: end if;
5982:
5983: if (l_procedureEnabled) then
5984: ecx_debug.pop(i_method_name);

Line 5988: when xmlDOM.INDEX_SIZE_ERR then

5984: ecx_debug.pop(i_method_name);
5985: end if;
5986: exception
5987: -- Put All DOM Parser Exceptions Here.
5988: when xmlDOM.INDEX_SIZE_ERR then
5989: ecx_debug.setErrorInfo(1,20,SQLERRM);
5990: if(l_unexpectedEnabled) then
5991: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
5992: end if;

Line 5998: if (not xmldom.isNull(l_xsl_doc))

5994: if (l_parser.id <> -1)
5995: then
5996: xmlParser.freeParser(l_parser);
5997: end if;
5998: if (not xmldom.isNull(l_xsl_doc))
5999: then
6000: xmldom.freeDocument(l_xsl_doc);
6001: end if;
6002: if (l_procedureEnabled) then

Line 6000: xmldom.freeDocument(l_xsl_doc);

5996: xmlParser.freeParser(l_parser);
5997: end if;
5998: if (not xmldom.isNull(l_xsl_doc))
5999: then
6000: xmldom.freeDocument(l_xsl_doc);
6001: end if;
6002: if (l_procedureEnabled) then
6003: ecx_debug.pop(i_method_name);
6004: end if;

Line 6006: when xmlDOM.DOMSTRING_SIZE_ERR then

6002: if (l_procedureEnabled) then
6003: ecx_debug.pop(i_method_name);
6004: end if;
6005: raise ecx_utils.program_exit;
6006: when xmlDOM.DOMSTRING_SIZE_ERR then
6007: ecx_debug.setErrorInfo(1,20,SQLERRM);
6008: if(l_unexpectedEnabled) then
6009: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6010: end if;

Line 6016: if (not xmldom.isNull(l_xsl_doc))

6012: if (l_parser.id <> -1)
6013: then
6014: xmlParser.freeParser(l_parser);
6015: end if;
6016: if (not xmldom.isNull(l_xsl_doc))
6017: then
6018: xmldom.freeDocument(l_xsl_doc);
6019: end if;
6020: if (l_procedureEnabled) then

Line 6018: xmldom.freeDocument(l_xsl_doc);

6014: xmlParser.freeParser(l_parser);
6015: end if;
6016: if (not xmldom.isNull(l_xsl_doc))
6017: then
6018: xmldom.freeDocument(l_xsl_doc);
6019: end if;
6020: if (l_procedureEnabled) then
6021: ecx_debug.pop(i_method_name);
6022: end if;

Line 6024: when xmlDOM.HIERARCHY_REQUEST_ERR then

6020: if (l_procedureEnabled) then
6021: ecx_debug.pop(i_method_name);
6022: end if;
6023: raise ecx_utils.program_exit;
6024: when xmlDOM.HIERARCHY_REQUEST_ERR then
6025: ecx_debug.setErrorInfo(1,20,SQLERRM);
6026: if(l_unexpectedEnabled) then
6027: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6028: end if;

Line 6034: if (not xmldom.isNull(l_xsl_doc))

6030: if (l_parser.id <> -1)
6031: then
6032: xmlParser.freeParser(l_parser);
6033: end if;
6034: if (not xmldom.isNull(l_xsl_doc))
6035: then
6036: xmldom.freeDocument(l_xsl_doc);
6037: end if;
6038: if (l_procedureEnabled) then

Line 6036: xmldom.freeDocument(l_xsl_doc);

6032: xmlParser.freeParser(l_parser);
6033: end if;
6034: if (not xmldom.isNull(l_xsl_doc))
6035: then
6036: xmldom.freeDocument(l_xsl_doc);
6037: end if;
6038: if (l_procedureEnabled) then
6039: ecx_debug.pop(i_method_name);
6040: end if;

Line 6042: when xmlDOM.WRONG_DOCUMENT_ERR then

6038: if (l_procedureEnabled) then
6039: ecx_debug.pop(i_method_name);
6040: end if;
6041: raise ecx_utils.program_exit;
6042: when xmlDOM.WRONG_DOCUMENT_ERR then
6043: ecx_debug.setErrorInfo(1,20,SQLERRM);
6044: if(l_unexpectedEnabled) then
6045: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6046: end if;

Line 6052: if (not xmldom.isNull(l_xsl_doc))

6048: if (l_parser.id <> -1)
6049: then
6050: xmlParser.freeParser(l_parser);
6051: end if;
6052: if (not xmldom.isNull(l_xsl_doc))
6053: then
6054: xmldom.freeDocument(l_xsl_doc);
6055: end if;
6056: if (l_procedureEnabled) then

Line 6054: xmldom.freeDocument(l_xsl_doc);

6050: xmlParser.freeParser(l_parser);
6051: end if;
6052: if (not xmldom.isNull(l_xsl_doc))
6053: then
6054: xmldom.freeDocument(l_xsl_doc);
6055: end if;
6056: if (l_procedureEnabled) then
6057: ecx_debug.pop(i_method_name);
6058: end if;

Line 6060: when xmlDOM.INVALID_CHARACTER_ERR then

6056: if (l_procedureEnabled) then
6057: ecx_debug.pop(i_method_name);
6058: end if;
6059: raise ecx_utils.program_exit;
6060: when xmlDOM.INVALID_CHARACTER_ERR then
6061: ecx_debug.setErrorInfo(1,20,SQLERRM);
6062: if(l_unexpectedEnabled) then
6063: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6064: end if;

Line 6070: if (not xmldom.isNull(l_xsl_doc))

6066: if (l_parser.id <> -1)
6067: then
6068: xmlParser.freeParser(l_parser);
6069: end if;
6070: if (not xmldom.isNull(l_xsl_doc))
6071: then
6072: xmldom.freeDocument(l_xsl_doc);
6073: end if;
6074: if (l_procedureEnabled) then

Line 6072: xmldom.freeDocument(l_xsl_doc);

6068: xmlParser.freeParser(l_parser);
6069: end if;
6070: if (not xmldom.isNull(l_xsl_doc))
6071: then
6072: xmldom.freeDocument(l_xsl_doc);
6073: end if;
6074: if (l_procedureEnabled) then
6075: ecx_debug.pop(i_method_name);
6076: end if;

Line 6078: when xmlDOM.NO_DATA_ALLOWED_ERR then

6074: if (l_procedureEnabled) then
6075: ecx_debug.pop(i_method_name);
6076: end if;
6077: raise ecx_utils.program_exit;
6078: when xmlDOM.NO_DATA_ALLOWED_ERR then
6079: ecx_debug.setErrorInfo(1,20,SQLERRM);
6080: if(l_unexpectedEnabled) then
6081: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6082: end if;

Line 6088: if (not xmldom.isNull(l_xsl_doc))

6084: if (l_parser.id <> -1)
6085: then
6086: xmlParser.freeParser(l_parser);
6087: end if;
6088: if (not xmldom.isNull(l_xsl_doc))
6089: then
6090: xmldom.freeDocument(l_xsl_doc);
6091: end if;
6092: if (l_procedureEnabled) then

Line 6090: xmldom.freeDocument(l_xsl_doc);

6086: xmlParser.freeParser(l_parser);
6087: end if;
6088: if (not xmldom.isNull(l_xsl_doc))
6089: then
6090: xmldom.freeDocument(l_xsl_doc);
6091: end if;
6092: if (l_procedureEnabled) then
6093: ecx_debug.pop(i_method_name);
6094: end if;

Line 6096: when xmlDOM.No_MODIFICATION_ALLOWED_ERR then

6092: if (l_procedureEnabled) then
6093: ecx_debug.pop(i_method_name);
6094: end if;
6095: raise ecx_utils.program_exit;
6096: when xmlDOM.No_MODIFICATION_ALLOWED_ERR then
6097: ecx_debug.setErrorInfo(1,20,SQLERRM);
6098: if(l_unexpectedEnabled) then
6099: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6100: end if;

Line 6106: if (not xmldom.isNull(l_xsl_doc))

6102: if (l_parser.id <> -1)
6103: then
6104: xmlParser.freeParser(l_parser);
6105: end if;
6106: if (not xmldom.isNull(l_xsl_doc))
6107: then
6108: xmldom.freeDocument(l_xsl_doc);
6109: end if;
6110: if (l_procedureEnabled) then

Line 6108: xmldom.freeDocument(l_xsl_doc);

6104: xmlParser.freeParser(l_parser);
6105: end if;
6106: if (not xmldom.isNull(l_xsl_doc))
6107: then
6108: xmldom.freeDocument(l_xsl_doc);
6109: end if;
6110: if (l_procedureEnabled) then
6111: ecx_debug.pop(i_method_name);
6112: end if;

Line 6114: when xmlDOM.NOT_FOUND_ERR then

6110: if (l_procedureEnabled) then
6111: ecx_debug.pop(i_method_name);
6112: end if;
6113: raise ecx_utils.program_exit;
6114: when xmlDOM.NOT_FOUND_ERR then
6115: ecx_debug.setErrorInfo(1,20,SQLERRM);
6116: if(l_unexpectedEnabled) then
6117: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6118: end if;

Line 6124: if (not xmldom.isNull(l_xsl_doc))

6120: if (l_parser.id <> -1)
6121: then
6122: xmlParser.freeParser(l_parser);
6123: end if;
6124: if (not xmldom.isNull(l_xsl_doc))
6125: then
6126: xmldom.freeDocument(l_xsl_doc);
6127: end if;
6128: if (l_procedureEnabled) then

Line 6126: xmldom.freeDocument(l_xsl_doc);

6122: xmlParser.freeParser(l_parser);
6123: end if;
6124: if (not xmldom.isNull(l_xsl_doc))
6125: then
6126: xmldom.freeDocument(l_xsl_doc);
6127: end if;
6128: if (l_procedureEnabled) then
6129: ecx_debug.pop(i_method_name);
6130: end if;

Line 6132: when xmlDOM.NOT_SUPPORTED_ERR then

6128: if (l_procedureEnabled) then
6129: ecx_debug.pop(i_method_name);
6130: end if;
6131: raise ecx_utils.program_exit;
6132: when xmlDOM.NOT_SUPPORTED_ERR then
6133: ecx_debug.setErrorInfo(1,20,SQLERRM);
6134: if(l_unexpectedEnabled) then
6135: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6136: end if;

Line 6142: if (not xmldom.isNull(l_xsl_doc))

6138: if (l_parser.id <> -1)
6139: then
6140: xmlParser.freeParser(l_parser);
6141: end if;
6142: if (not xmldom.isNull(l_xsl_doc))
6143: then
6144: xmldom.freeDocument(l_xsl_doc);
6145: end if;
6146: if (l_procedureEnabled) then

Line 6144: xmldom.freeDocument(l_xsl_doc);

6140: xmlParser.freeParser(l_parser);
6141: end if;
6142: if (not xmldom.isNull(l_xsl_doc))
6143: then
6144: xmldom.freeDocument(l_xsl_doc);
6145: end if;
6146: if (l_procedureEnabled) then
6147: ecx_debug.pop(i_method_name);
6148: end if;

Line 6150: when xmlDOM.INUSE_ATTRIBUTE_ERR then

6146: if (l_procedureEnabled) then
6147: ecx_debug.pop(i_method_name);
6148: end if;
6149: raise ecx_utils.program_exit;
6150: when xmlDOM.INUSE_ATTRIBUTE_ERR then
6151: ecx_debug.setErrorInfo(1,20,SQLERRM);
6152: -- free all the used variables
6153: if (l_parser.id <> -1)
6154: then

Line 6157: if (not xmldom.isNull(l_xsl_doc))

6153: if (l_parser.id <> -1)
6154: then
6155: xmlParser.freeParser(l_parser);
6156: end if;
6157: if (not xmldom.isNull(l_xsl_doc))
6158: then
6159: xmldom.freeDocument(l_xsl_doc);
6160: end if;
6161: if(l_unexpectedEnabled) then

Line 6159: xmldom.freeDocument(l_xsl_doc);

6155: xmlParser.freeParser(l_parser);
6156: end if;
6157: if (not xmldom.isNull(l_xsl_doc))
6158: then
6159: xmldom.freeDocument(l_xsl_doc);
6160: end if;
6161: if(l_unexpectedEnabled) then
6162: ecx_debug.log(l_unexpected,ecx_utils.i_errbuf,i_method_name);
6163: end if;

Line 6180: if (not xmldom.isNull(l_xsl_doc))

6176: if (l_parser.id <> -1)
6177: then
6178: xmlParser.freeParser(l_parser);
6179: end if;
6180: if (not xmldom.isNull(l_xsl_doc))
6181: then
6182: xmldom.freeDocument(l_xsl_doc);
6183: end if;
6184: if (l_procedureEnabled) then

Line 6182: xmldom.freeDocument(l_xsl_doc);

6178: xmlParser.freeParser(l_parser);
6179: end if;
6180: if (not xmldom.isNull(l_xsl_doc))
6181: then
6182: xmldom.freeDocument(l_xsl_doc);
6183: end if;
6184: if (l_procedureEnabled) then
6185: ecx_debug.pop(i_method_name);
6186: end if;