DBA Data[Home] [Help]

APPS.IRC_JPS_GENERATOR dependencies on XSLPROCESSOR

Line 14: stylesheet xslprocessor.Stylesheet;

10: l_formatted_doc CLOB;
11: lv_stylesheet varchar2(32767);
12: l_stylesheet_url varchar2(2000);
13: stylesheetdoc xmldom.DOMDocument;
14: stylesheet xslprocessor.Stylesheet;
15: engine xslprocessor.Processor;
16: parser xmlparser.parser;
17: xmldoc xmldom.DOMDocument;
18: clobdoc CLOB;

Line 15: engine xslprocessor.Processor;

11: lv_stylesheet varchar2(32767);
12: l_stylesheet_url varchar2(2000);
13: stylesheetdoc xmldom.DOMDocument;
14: stylesheet xslprocessor.Stylesheet;
15: engine xslprocessor.Processor;
16: parser xmlparser.parser;
17: xmldoc xmldom.DOMDocument;
18: clobdoc CLOB;
19: ctx DBMS_XMLQUERY.ctxType;

Line 388: engine:=xslprocessor.newProcessor;

384: hr_utility.set_location('Exiting after setting encoding',233);
385:
386: xmlparser.parseCLOB(parser,clobdoc);
387: xmldoc:=xmlparser.getDocument(parser);
388: engine:=xslprocessor.newProcessor;
389: xmlparser.parseBuffer(parser,lv_stylesheet);
390: stylesheetdoc:=xmlparser.getDocument(parser);
391: stylesheet:=xslprocessor.newStylesheet(stylesheetdoc,null);
392: hr_utility.set_location('Parsing the stylesheet',24);

Line 391: stylesheet:=xslprocessor.newStylesheet(stylesheetdoc,null);

387: xmldoc:=xmlparser.getDocument(parser);
388: engine:=xslprocessor.newProcessor;
389: xmlparser.parseBuffer(parser,lv_stylesheet);
390: stylesheetdoc:=xmlparser.getDocument(parser);
391: stylesheet:=xslprocessor.newStylesheet(stylesheetdoc,null);
392: hr_utility.set_location('Parsing the stylesheet',24);
393: xslprocessor.processXSL(engine,stylesheet,xmldoc,l_formatted_doc);
394: hr_utility.set_location('Parsing Sucess. Freeing parser',25);
395: xslprocessor.freeStylesheet(stylesheet);

Line 393: xslprocessor.processXSL(engine,stylesheet,xmldoc,l_formatted_doc);

389: xmlparser.parseBuffer(parser,lv_stylesheet);
390: stylesheetdoc:=xmlparser.getDocument(parser);
391: stylesheet:=xslprocessor.newStylesheet(stylesheetdoc,null);
392: hr_utility.set_location('Parsing the stylesheet',24);
393: xslprocessor.processXSL(engine,stylesheet,xmldoc,l_formatted_doc);
394: hr_utility.set_location('Parsing Sucess. Freeing parser',25);
395: xslprocessor.freeStylesheet(stylesheet);
396: xmldom.freeDocument(stylesheetdoc);
397: xmlParser.freeParser(parser);

Line 395: xslprocessor.freeStylesheet(stylesheet);

391: stylesheet:=xslprocessor.newStylesheet(stylesheetdoc,null);
392: hr_utility.set_location('Parsing the stylesheet',24);
393: xslprocessor.processXSL(engine,stylesheet,xmldoc,l_formatted_doc);
394: hr_utility.set_location('Parsing Sucess. Freeing parser',25);
395: xslprocessor.freeStylesheet(stylesheet);
396: xmldom.freeDocument(stylesheetdoc);
397: xmlParser.freeParser(parser);
398: xslprocessor.freeProcessor(engine);
399: xmldom.freeDocument(xmldoc);

Line 398: xslprocessor.freeProcessor(engine);

394: hr_utility.set_location('Parsing Sucess. Freeing parser',25);
395: xslprocessor.freeStylesheet(stylesheet);
396: xmldom.freeDocument(stylesheetdoc);
397: xmlParser.freeParser(parser);
398: xslprocessor.freeProcessor(engine);
399: xmldom.freeDocument(xmldoc);
400: p_raw_doc:=clobdoc;
401:
402: if(p_stylesheet is null and substr(l_formatted_doc,0,5)<> '

Line 415: xslprocessor.freeProcessor(engine);

411: hr_utility.set_location('Exception occured',27);
412: hr_utility.set_location('Exception: '||substrb(sqlerrm,1,160),28);
413: hr_utility.set_location('Exception: '||sqlcode,29);
414: xmlParser.freeParser(parser);
415: xslprocessor.freeProcessor(engine);
416: xslprocessor.freeStylesheet(stylesheet);
417: xmldom.freeDocument(xmldoc);
418: xmldom.freeDocument(stylesheetdoc);
419: raise;

Line 416: xslprocessor.freeStylesheet(stylesheet);

412: hr_utility.set_location('Exception: '||substrb(sqlerrm,1,160),28);
413: hr_utility.set_location('Exception: '||sqlcode,29);
414: xmlParser.freeParser(parser);
415: xslprocessor.freeProcessor(engine);
416: xslprocessor.freeStylesheet(stylesheet);
417: xmldom.freeDocument(xmldoc);
418: xmldom.freeDocument(stylesheetdoc);
419: raise;
420: end generateJPSint;