Editing XML stored in an Oracle database
We are planning to store many thousands of text articles in an
Oracle database, in XML format.
Once stored we need an easy interface to allow librarians and
lawyers to edit these documents. Does Oracle have its own
integrated XML editor (i.e. one that opens files from the DB and
saves them to the DB)?
I know of one 3rd party product that can do this, and many
others that can just edit file system files. However I hoped
Oracle would have either have a product, or have a partnership
with a company that does.
Many thanks
Nigel
null
Oracle does not have anything announced at this time, however
you might want to check out ADEPT from Arbortext
(www.arbortext.com).
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
Nigel Robson (guest) wrote:
: We are planning to store many thousands of text articles in an
: Oracle database, in XML format.
: Once stored we need an easy interface to allow librarians and
: lawyers to edit these documents. Does Oracle have its own
: integrated XML editor (i.e. one that opens files from the DB
and
: saves them to the DB)?
: I know of one 3rd party product that can do this, and many
: others that can just edit file system files. However I hoped
: Oracle would have either have a product, or have a partnership
: with a company that does.
: Many thanks
: Nigel
null
Similar Messages
-
Loading xml data to a oracle database problem in style sheet
Hi,
I Have one small Problem While loading xml data to a oracle database.
In the XML i have the Columns and Data Like this.
<Data>
<TRAN>
<Type_Trs>A</Type_Trs>
<T1>2</T1>
<T2>3</T2>
</TRAN>
<TRAN>
<Type_Trs>B</Type_Trs>
<T1>2</T1>
<T2>3</T2>
</TRAN>
</Data>
I have TRAN Table having Field Like this.
TRAN(Type_Trs,T1,F)
Note:- The XML Column T2 is Not matching with TRAN Table Column F
I want to fetch T2 data into F column.
When I am fetching the xml data into oracle table only
one row is fetching.
Can You help me
To load the the all the record of XML data into the Oracle Table
What will be my XLS Style Sheet File Please
suggest me.
Regards
MBR
Thnks in AdvanceHi MBR
You would be better posting your question to the general XML forums:
http://forums.oracle.com/forums/category.jspa?categoryID=51
This is purely for XML/BI Publisher where we get the data back out of the db :o)
Tim -
Generate XML file from an Oracle Database Table
Hello All,
I want to generate a xml file from an Oracle Database table which contains a blob column.
Can somebody give pointers on this please.
Thanks in advance
SulakshanaUse the DBMS_XMLGEN package.
-
XML Publisher with Non Oracle databases
Hi,
Can we use XML Publisher with non oracle databases like Postgres ,mySQL etc.Hi
Not sure if you're talking Apps or non but you can do it equally with both. Check out the Data Engine in the user guide and look for Distributed Queries. XMLP will need a jdbc connection to the db but you can then pass a query and get XML back.
You can even write one query to pull back say customers from Oracle and their invoices from MySQL, you'll get a merged data set back with a master detail relationship btw customers-invoices
Regards, Tim -
Calling Stored Procedure from Oracle DataBase using Sender JDBC (JDBC-JMS)
Hi All,
We have requirement to move the data from Database to Queue (Interface Flow: JDBC -> JMS).
Database is Oracle.
*Based on Event, data will be triggered into two tables: XX & YY. This event occurs twice daily.
Take one field: 'aa' in XX and compare it with the field: 'pp' in YY.
If both are equal, then
if the field: 'qq' in YY table equals to "Add" then take the data from the view table: 'Add_View'.
else if the field: 'qq' in YY table equals to "Modify" then take the data from the view table: 'Modify_View'.
Finally, We need to archive the selected data from the respective view table.*
From each table, data will come differently, means with different field names.
I thought of call Stored Procedure from Sender JDBC Adapter for the above requirement.
But I heard that, we cannot call stored procedure in Oracle through Sender JDBC as it returns Cursor instead of ResultSet.
Is there any way other than Stored Procedure?
How to handle Data Types as data is coming from two different tables?
Can we create one data type for two tables?
Is BPM required for this to collect data from two different tables?
Can somebody guide me on how to handle this?
Waiting eagerly for help which will be rewarded.
Thanks and Regards,
Jyothirmayi.Hi Gopal,
Thank you for your reply.
>Is there any way other than Stored Procedure?
Can you try configuring sender adapter to poll the data in intervals. You can configure Automatic TIme planning (ATP) in the sender jdbc channel.
I need to select the data from different tables based on some conditions. Let me simplify that.
Suppose Table1 contains 'n' no of rows. For each row, I need to test two conditions where only one condition will be satisfied. If 1st condition is satisfied, then data needs to be taken from Table2 else data needs to be taken from Table3.
How can we meet this by configuring sender adapter with ATP?
================================================================================================
>How to handle Data Types as data is coming from two different tables?
If you use join query in the select statement field of the channel then whatever you need select fields will be returned. This might be fields of two tables. your datatype fields are combination of two diff table.
we need to take data only from one table at a time. It is not join of two tables.
================================================================================================
Thanks,
Jyothirmayi. -
How to call MSSQL stored procedure from oracle database
MSSQL and Oracle databases are linked thru ODBC link using Oracle HSODBC.
I can query MSSQL table or view from Oracle Database using standard notation for acessing remote objects schema.object@dblink_name...
Can anybody give me syntax for calling MSSQL stored procedure thru ODBC database link?
I tried syntax exec schema.stored_procedure@dblink_name but it doesn't work...i'm getting schema.stored_procedure must be declared error...
Tnx,in advance!
Dejan BoticaOracle database 10gR2.
MSSQL2000 database.
For example query:
select * from dbo.Tbl_Test@kron@dw_jamnica; works fine...
...while for example exec dbo.Test@kron@dw_jamnica;
reports error:
ORA-06550: line 1, column 7:
PLS-00201: identifier 'DBO.TEST@KRON@DW_JAMNICA' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Table Tbl_Test and procedure Test exists in MSSQL instance.
Regards,
Dejan -
Load XML data into an Oracle Database
Hi
I would like to know how to load data from XML into an Oracle Database. Thanksforum has many examples
plz search for your needs
as example
XML DB FAQ
Re: I want insert data from xml file
Re: How to load a XML file into a table using PL/SQL
Process multiple XML files in directory
using DBMS_LOB.LOADCLOBFROMFILE -
Loading XML files to an oracle database
Hi,
I have some users who would like to send me XML files that I would need to parse and load into multiple tables in my Oracle database. Since I'm new to XML, I'd like to know if XMK DB is the technology that I need to explore in order to do this, and if so, are there any white papers or articles out there that might get me started.
I have previously loaded data into my databases via text files that I parsed using text_io, I'm not sure if there is a significant advantage in using XML. This data load is going to be on an regular basis and I would like to validate the data the data before loading this.
Any help or guidance would be greatly appreciated.
Thanks.
Azeem.XML is becoming the defacto method of exchanging data between systems due to it's self describing nature. XML DB is the preferred way of processing XML in Oracle 9iR2 and later. The banner for this forum provides links to the XML DB OTN pages where you can find lots of information related to using XML DB.
-
Export chksum of stored procs from Oracle Database
Does anyone know how I would export a checksum of stored procedures and packages that are stored in a oracle 11g db?
I need to extract this information and then with a script that I will create I need to compare a chksum of what is in my Liquibase. I need to create this to alert me when a dba or engineer makes a change in the database but does not make the same change in Liquibase.
It was suggested to me that there might be some function I could use to do this or possibly use datapump in some way.
Anyone have any ideas?
ThanksRedDeuce wrote:
Does anyone know how I would export a checksum of stored procedures and packages that are stored in a oracle 11g db?
I need to extract this information and then with a script that I will create I need to compare a chksum of what is in my Liquibase. I need to create this to alert me when a dba or engineer makes a change in the database but does not make the same change in Liquibase.
It was suggested to me that there might be some function I could use to do this or possibly use datapump in some way.
Anyone have any ideas?
ThanksHere is a timing problem.
At some point in time, a change will exist within PROD & not in Liquibase.
How much elapsed time is allowed between making 1st & doing Liquibase?
How often should this comparison be done? -
Does anyone can help me to import XML string into a ORACLE database
Hi guys!
i have some problem that my friend wants me to convert XML string to Oracle relational database which means.
let's say, there is a table that a row has XML string.
so table has XML string with varchar type.
what my friend want me to do is, the string needs to be solved as a relational database.
like
A table has 'ID', 'data', 'result' rows
and Data column has XML string like <?xml version...............>
then wants to convert that data column's XML data into TABLE B with structure normally XML has.
i'm so confused and have no idea at all.. also i couldn't find any solution related to my stuff..
if someone knows how to solve the problem, just let us know
thxThe database is 10.2.0
What sort of example do u want me to give you..
i thought i give all information on the post..
i will explain it
let's say there are 3 columns ID,Name,Code
Id = normal integer
Name= varchar
Code= varchar
and i need to conver that XML in the Code column into relational databases
the code column has normal XML code which is starting from <?xml version.... and so on
so does it explain?
please help me! -
Error while importing data from XML file to a Oracle database
I am getting the following error while importing data
*** atg.xml.XMLFileException: No XML files were found for "/Dynamusic/config/dynamusic/songs-data.xml".
The files must be located under the name "/Dynamusic/config/dyna
*** java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at atg.adapter.gsa.xml.TemplateParser.importFiles(TemplateParser.java:6675)
at atg.adapter.gsa.xml.TemplateParser.runParser(TemplateParser.java:5795)
at atg.adapter.gsa.xml.TemplateParser.main(TemplateParser.java:5241)
I have placed the FakeXADataSource and JTDataSource properties files as required. In fact I have been able to import data in all machines. Just this one machine is giving problems. I have also checked out the access rights. Can someone help me please?Confirm that you have access to D:\MyApp\ATG\ATG10.0.3 and existence of Dynamusic/config/dynamusic/songs-data.xm
-
Code to parse the XML stored in a XMLTYPE field in database
Hi All,
Please can someone forward me the code to parse the XML retrieved from the oracle database. I want to parse the whole xml, any node any attribute and store the extracted values in database. For example:
<mail>
<mailing_list name="test1">
<mailing_list_users>
<user email="[email protected]" address="abcd" />
<user email="[email protected]" address="abcdef" />
</mailing_list_users>
</mailing_list>
<mailing_list name="test2">
<mailing_list_users>
<user email="[email protected]" address="abcd1" />
<user email="[email protected]" address="abcdef1" />
</mailing_list_users>
</mailing_list>
</mail>
In this example, i want to loop thru all the mailing lists to extract therir values and under each mailing lists i want to loop thru all the users and their details.
I require this urgently. Any help will be appreciated.I am not sure if this is the correct way to do it but I found such class from my old codes:
import java.util.*;
* class for parsing strange value of time to "normal" view
public class NumericToTime
GregorianCalendar gc = null;
StringTokenizer st = null;
int days, hours, minutes, seconds, milliseconds;
float fract;
public NumericToTime(String str)
try
gc = new GregorianCalendar(1900,0,0);
st = new StringTokenizer(str, ".");
days = Integer.parseInt(st.nextToken());
Float f = new Float("0." + st.nextToken());
fract = f.floatValue();
catch(NoSuchElementException e)
fract = 0.0f;
* method which calculate time
public void calculateTime()
float h, m, s;
gc.add(GregorianCalendar.DATE, days-1);//days-1 MS'i fenomeenil baseeruv "patch"
h = (float)(24.0*fract); hours = (int)h;
gc.set(GregorianCalendar.HOUR, hours);
m = (float)(60.0*(h - (float)hours)); minutes = (int)m;
gc.set(GregorianCalendar.MINUTE, minutes);
s = (float)(60.0*(m - (float)minutes)); seconds = (int)s;
gc.set(GregorianCalendar.SECOND, seconds);
milliseconds = (int)(1000.0*(s - (float)seconds));
gc.set(GregorianCalendar.MILLISECOND, milliseconds);
* method which return time value as Date object
public Date getTime() {
return gc.getTime();
Hope this is some help for You! -
Complex transformation inserting xml data to oracle database.
Hi,
I Have one small Problem While loading xml data to a oracle database.
In the XSD i have the Columns Like this.
<Data>
<Type_Trs>
<T1>
<T2>
</Data>
My Database contains only two columns
For Example:
Type_Trs
Corr_Data.
Now My problem is Based on Type_Trs Value i need to take values of T1 and T2 should be loaded in Corr_Data column.
How to write Xsl transformation for this using <xsl:choose>.
For Clearing the Question I am giving the Example.
Case : 1
<Data>
<type_Trs>BO</Type_Trs>
<T1>1</T1>
<T2>2</T2>
</Data>
In the Example my type_trs is value 'BO', so the Data in table should be
Type_Trs Corr_Data
======= =======
BO 1
Case : 2
<Data>
<type_Trs>CP</Type_Trs>
<T1>1</T1>
<T2>2</T2>
</Data>
In the Example my type_trs is value 'CP', so the Data in table should be
Type_Trs Corr_Data
======= =======
CP 2
For doing this How can i write my XSL transformation based on the condition?
Thanks in advances
Regards
GSRWhy do you need a XSL transformation for this? Can you not get the results based on this select:
SQL> SELECT DISTINCT EXTRACTVALUE (t2.COLUMN_VALUE, 'Type_Trs') type_trs,
CASE EXTRACTVALUE (t2.COLUMN_VALUE, 'Type_Trs')
WHEN 'BO'
THEN EXTRACTVALUE (t3.COLUMN_VALUE, 'T1')
WHEN 'CP'
THEN EXTRACTVALUE (t4.COLUMN_VALUE, 'T2')
END corr_data
FROM TABLE
(XMLSEQUENCE
(EXTRACT
(XMLTYPE
('<Data>
<Type_Trs>BO</Type_Trs>
<T1>1</T1>
<T2>2</T2>
<Type_Trs>CP</Type_Trs>
<T1>1</T1>
<T2>2</T2>
</Data>'
'/Data'
) t1,
TABLE (XMLSEQUENCE (EXTRACT (t1.COLUMN_VALUE,
'/Data/Type_Trs')
) t2,
TABLE (XMLSEQUENCE (EXTRACT (t1.COLUMN_VALUE, '/Data/T1'))) t3,
TABLE (XMLSEQUENCE (EXTRACT (t1.COLUMN_VALUE, '/Data/T2'))) t4
TYPE_TRS CORR_DATA
CP 2
BO 1 -
Hello Friends
I have Installed Oracle Database 10g Express Edition in "Ubuntu Linux" but i have Following Problems:
1.) After i installed Oracle Database 10g Express Edition i gone to
"Application" -> "Oracle Database 10g Express Edition" -> "Run SQL Command Line"
SQL Window has been opened there i have typed "SELECT * FROM tab;" here i got Warning Messg of
"SP2-0640: Not connected"
2.) From There i have Again gone to
"Application" -> "Oracle Database 10g Express Edition" -> "Start Database"
i got Warning Messg of "Operation Failed. venu is not a Member of DBA Group"
3.) Finally i want Solution For "How to get Connected in "Oracle Database 10g Express Edition"
Please Post the Answer As Soon As Possible ...
From Venu(INDIA)Was the oracle-xe configure completed successfully?
Are the pmon and listener processes running ... set your environment and connect via sqlplus if so. If no processes, the instance needs a startup.
$ ps -ef |egrep pmon
oracle ... ora_pmon_XE
$ ps -ef |egrep lsnr # can also check the listener status, see below
oracle ... /usr/.../tnslsnr ...
$ lsnrctl status
Endpoints Summary ...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<your hostname>)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=http) ... (PORT=8080)))
...In the ORACLE_HOME/bin directory there is a shell script you can source to set up your environment variables for connecting to the database. The full path to the .sh should be revealed by the tnslsnr process, /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh
$ /usr/.../oracle_env.sh
$ sqlplus /nolog
SQL> connect system
Password: ...
Connected.
SQL> select status from v$instance;
STATUS
OPENThe oracle user created by the configure won't have a known password set. Set it and switch user to the oracle login. If you don't want to muck about with the oracle user, at least add your user to the dba group so that you can connect with the sysdba privilege when needed.
Edited by: clcarter on Feb 22, 2011 7:06 AM -
Forms 6 and Oracle Database 10g XE (Express Edition)
I want to know that whether Form 6 can connect Oracle Database 10g XE (Express Edition).
I have installed Oracle Database 10g XE on one PC . On another PC, I've installed D2k 6 (Form 6, Report 6, SQL plus 8, Net8 Client etc.).
I am trying to connect Oracle Database 10g XE from SQL plus 8, through TNSNAMES.ORA, but I could not ?
Can you help please ?
Thanks
Vipul VyasI am using forms 6.0.5.33.0 and Net8 Client 8.0.5.0.0
When I am trying to connect Oracle Database 10g XE, I am getting error
ORA-12154 : TNS : Could not resolve service name
SQLNET.ORA is as follows
TRACE_LEVEL_CLIENT = OFF
#sqlnet.authentication_services = (NONE)
names.directory_path = (TNSNAMES, HOSTNAME)
names.default_domain = world
name.default_zone = world
automatic_ipc = off
TNSNAMES.ORA is as follows
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = edp1-xp)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
Maybe you are looking for
-
Hi all, new here as I have just joined and am wondering if someone out there can offer some advice to this problem. I have an eMac running 10.3.9 and everything working fine. 2-3 weeks ago I purchased an iMac second hand running 10.4.4. I have upgrad
-
Master & slide title or object linking?
greetings, i've been using keynote for a few years. i'm using keynote version 5.0.4, which is the current version. i compiled a presentation recently by copying slides from older presentations. i've made a newer master and have reassigned the master
-
Dust under the LCD cover, sticky/non-responsive keyboard..
Hello, I've been trying to find information on this. I purchased this phone, outright, from Bell when they finally started selling it a couple of weeks ago. Since then, the phone has aquired a large amount of dust under the LCD cover (and continues
-
I need to evaluate future possibilities for web applications using CRM. We are currently on CRM4.0 and was wondering at what version of CRM will WebDynpro for ABAP be available. Does anyone know the answer to this ? Or any other options excluding BSP
-
My settings and some questions r.e. overclocking!
Hello everybody, This is my first MSI mobo, I used to have a DFI Lanparty Sli-D (with 144 Opty) - it was OK but I really wanted a CD2 (CoreDuo2) and the issues I had with my DFI I just felt that I should go with something a bit simpler - what a fool