Solved

How to read an HTML Document in an Oracle Package

Posted on 2014-09-29
5
207 Views
Last Modified: 2015-06-23
The following is a business scenario we have:
1) A User fills out a Time Sheet on a PDF Document.
2) The PDF Document is then sent via email to our Exchange Server.
3) Once the document is received at our Exchange Server, PDF LiveCycle generates an HTML version of the PDF.

My question is this:
I want to create an Oracle Package that can read the HTML Document from a Shared Folder.  I've created many Oracle Packages but I have never created a Package that can read the Tags of an HTML Document.

How can I do this?  Sample code would be greatly appreciated.
0
Comment
Question by:BISCO3
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 40350374
Is the HTML XHTML compliant?

If it is basically an XML document, you can use many ways to parse the XML.

You can pass the XML into the procedure as a CLOB parameter or if it is on the database server, read it directly from the file system.

Then it is a matter of parsing the XML.

I would probably start with XMLTABLE:
http://docs.oracle.com/cd/E11882_01/server.112/e41084/functions253.htm#SQLRF06232

If the XML is really complex, you might be better off using the DOM.

The more information you can provide us, the more exact our comments.
0
 

Author Comment

by:BISCO3
ID: 40650195
Solution Accepted.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40650274
Sorry but just posting "Solution Accepted." doesn't do anything.

What are you trying to do?
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 40845979
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (http://www.experts-exchange.com/Programming/Installation/Q_28396542.html)…
Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question