XML Huge database files, NEED HELP !!!
Hello to the community.
We need to store about ONE MILLION XML FILES inside the database.
BUT we need to use all functionality of XML Structure to look for
information inside these files (CONTAINS).
My question is:
What is the best way to store them:
like XML files inside CLOB ?
or fragment the files inside tables ?
Using ConText Option ?
Using CONTAINS functions ?
Is ConText Option supports CONTAINS function ?!?
We have many queries with text searching...
What is the best way to store this so we have best velocity to
acces to the info ?
Thanks to answer soon
MasterPh
null
Let me try and answer your question. First the CONTAINS
operator in Intermedia Text (formerly Context) will allow you to
search for data between tags of an XML document stored as a
CLOB. Whether you should distribute your XML documents across
tables is largely a function of how you want the data searched
retrieved. Currently the XML search function operates within a
column and thus if you want the entire doc back it would be best
to store it as a whole. Once iFS is released you will be able
to distribute the doc across tables and return it as a whole or
in parts.
Chack out http://www.oracle.com/database/options/ifs.htm and
http://www.oracle.com/database/options/intermedia.htm for more
details.
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
Philippe Thomassigny (guest) wrote:
: Hello to the community.
: We need to store about ONE MILLION XML FILES inside the
database.
: BUT we need to use all functionality of XML Structure to look
for
: information inside these files (CONTAINS).
: My question is:
: What is the best way to store them:
: like XML files inside CLOB ?
: or fragment the files inside tables ?
: Using ConText Option ?
: Using CONTAINS functions ?
: Is ConText Option supports CONTAINS function ?!?
: We have many queries with text searching...
: What is the best way to store this so we have best velocity to
: acces to the info ?
: Thanks to answer soon
: MasterPh
null
Similar Messages
-
Where is the forum for TFS, I have found an issue related to its database I need help
Hello,
Where is the forum for TFS, I have found an issue related to its database I need help
One of the encrypted Stored Procedure is throwing an error and I have no
idea how to fix the problem.
EXEC dbo.InstallWorkItemWordsContains
FOR XML could not serialize the data for node 'nt_user_name' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image
data type and use the BINARY BASE64 directive.
Msg 3616, Level 16, State 2, Line 1
An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, has been rolled back.Hello,
Here are the
Visual Studio Team Foundation Server forums.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
I have what I think is a large DB file - 68gig. I feel like I'm probably not utilizing things the best way. I'd like to either put the database file on an external drive or at least split the file up - so I can have some of the databases reside on an external drive that I don't use as much.
Any suggestions? Again, I have EVERYTHING in one DB file right now - and I'm curious if there is a better practice in file management - that can help me use space more wisely.
Thanks,
VicAnd your statement is one of the reasons why I consider going back to managed instead of referenced.
Together with a lot of photographers, I was influenced by the hype from a lot of users in version 1.x of Aperture about not being able to have referenced files instead of managed. There were a lot of factors in favor for a referenced library, and lack of disk space one of the most important.
As it turns out, disks are getting larger and more inexpensive all the time so I really see no problem in using a managed library on a stationary mac. Having a small library on a laptop and then export the project into the main library is IMHO also a good solution.
Using a managed library also protects the masters from being messed up by accident.
However, the possibility to span the managed library over different disks would be appreciated.
Regards
Paul K -
I wanted to erase my file,cause I hv about 65 G in my user disk, but I can't open my file. need help
The advice you've received previously seems pretty solid, so let's troubleshoot the problem.
evefromOz wrote:
PLease help tech unsavvy struggler. After a grey screen and damaged HD that will not repair I was advised to copy my HD and Leopard installation to a new drive, then erase the HD and reinstall. But now can't open anything as my password wont work anymore.
Let's concentrate on this portion of text only.
Gray screen: usually means non-woriking or uninstalled HD
Won't repair: makes perfect sense, since you no longer have access to HD
Advised to copy HD and Leopard installation to a new drive, then erase the HD and reinstall: This is the most important text. It seems you don't use a backup drive. And since your HD is damaged/not working, you need to do the following: (1) remove the faulty drive, (2) install the new drive, (3) when you turn on your MBP, you may need to erase the newly installed HD, and this is where you have the problems. Describe, in detail, what's happening on your MBP screen. Is it still gray? What message are you getting? Where is it asking you for a password, and when?
I'm intereste: since your MBP drive is dead, how are you accessing this forum? -
Writing to XML files need help
Guys,
I need to pull out data from the database and write it to multiple flat files in XML.
I can't do it on the database server using utl_file, I need to do it on the client.
Can you tell me the best way to achieve it.
I am giving you a sample plsql that we have built.
I have to create one file for each deptno.
Your values suggestions/inputs would be appreciated.
Dhiren
declare
queryCtx dbms_xmlquery.ctxType;
cursor c1 is select * from dept;
result clob;
begin
for c1rec in c1
loop
queryCtx := DBMS_XMLquery.newContext('select .... from emp where deptno = c1.deptno');
result := DBMS_XMLquery.getXML(queryctx);
DBMS_XMLquery.closecontext(queryctx);
end loop;
end;use the above pl/sql to generate xml.
next step would be to create a folder on the xmldb repository.
this has to be done with SYS user.
DECLARE
l_success BOOLEAN := FALSE;
l_resourceURL resource_view.any_path%TYPE := '/public/scott';
BEGIN
IF (NOT DBMS_XDB.EXISTSRESOURCE(l_resourceURL)) THEN
l_success := DBMS_XDB.CREATEFOLDER(l_resourceURL);
COMMIT;
END IF;
END;
/so now you have your folder as /public/scott under which you can create resources.
resources in XMLDB is nothing but files.
so the generated xml can be saved as xml file under the above path.
to create a resource, you need xmldata and the resource name.
eg.
dbms_xdb.createresource('/public/scott/myxml.xml', l_xml_data);
commit;
now you can ftp the resource to the client,
open <server name> 2100
user scott tiger
get /public/scott/myxml.xml c:\temp\myxml.xml
close
bye
that's it.
good luck.
check the port of the ftp . normally by default it is 2100 unless it is changed by your admin, -
How to create Inbound Idoc from XML file-Need help urgently
Hi,
can any one tell how to create inbound Idoc from XML file.
we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml' we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
Please let me know the process to trigger inbound Idoc with out using XI and any other components.
Thanks in advance
Dora ReddyHi .. Did either of you get a result on this?
My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
I see lots of mention of using a Function Module.
Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
Or is there something tht can be done with Standard SAP?
Thanks
Lee -
Java through javawebstart not loading the xml file.-- need help
Dear All,
I am using jdk1.2.06, tomcat 5.25
In tomcat- inside webapps--mydirectory-- load.xml, applet1.java is present
in the browser applet1.java is called through javawebstart,
load.xml is loaded in applet1.java,where parsing is done in applet1.java,
but my problem is load.xml is not loaded in applet1.java through java webstart
Whether i want to do any pplicy file setting.. please clearly mention it..
thanks in advancethis is not the 'right' way to do it... but I think it should
work. I didn;t change the function name although I think its
supposed to be
getdetailsfrmXML instead of getetailsfrmXML
public function getEmpDetailsFrmXML() {
var xmlFileName:String = "emp.xml";
var employee_xml:XML = new XML();
employee_xml['externalScope']=this;
employee_xml.ignoreWhite = true;
employee_xml.load(xmlFileName);
employee_xml.onLoad = function(success) {
if (success) {
var xmlData = this;
this.externalScope.getetailsfrmXML.call(this.externalScope,xmlData);
} else {
trace("file not found");
public function getetailsfrmXML(details) {
trace(employee_xml.toString()+" mkmop"); -
Oracle database crashing.Need help.
Hi
We have an oracle 11.1.0.7.0 database running on windows 2003 R2. All of a sudden as of today the server crashed.
Trace logs are as below.
Can anyone provide any help on how to diagnose the issue.
Thanks
*** 2011-04-26 00:30:15.291
Process diagnostic dump for W000, OS id=6212
Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2554M/4446M, VA:1260M/2047M
CPU Load: 61%
Stack:
------------------- Call Stack Trace ---------------------
calling location entry point arg #1 arg #2 arg #3 arg #4
7C82847C 00000000 00000000 00000000 00000000 00000000
77E61C88 77E61C96 00001aa8 00001388 00000000 0f45e55c
_skgpwwait()+128 00000000 00001aa8 00001388 004c4b40 0bab7ca0
ksliwat()+2180 skgpwwait()+0 0f45e5c8 0babb460 2f371f7c 004c4b40
kslwaitctx()+146 ksliwat()+0 2ea568b0 2ea568b0 000001f4 00000000
kslwait()+158 kslwaitctx()+0 0f45e7bc 000001f4 0f45e7bc 06097a59
ksvrdp()+26715 kslwait()+0 000001f4 0000003e 00000000 0f45fd90
opirip()+813 ksvrdp()+0 00000003 0dc6e918 0dc85e78 0d6ff2dc
opidrv()+1357 opirip()+0 00000032 00000004 0f45fea8 00000000
sou2o()+45 opidrv()+0 00000032 00000004 0f45fea8 00000000
opimaireal()+263 _sou2o()+0 0f45fe9c 00000032 00000004 0f45fea8
opimai()+92 opimai_real()+0 00000003 0f45fed4 00000000 00000000
BackgroundThreadStart@4()+529 opimai()+0 00000003 0f45ff20 89a96710 0d6f0030
77E6482C 00000000 0b1a4c18 00000000 00000000 0b1a4c18
00000000 00000000 00000000 00000000 00000000 00000000
---------------- End of Call Stack Trace -----------------
Call stack acquisition performance stats:
setup time (lock acquis., memory alloc.): 0 ms
frame get time (time the target proc was suspended): 0 ms
symbol translation time: 0 ms
total time: 0 ms
Process diagnostic dump actual duration=0.109000 sec
(max dump time=30.000000 sec)
*** 2011-04-26 00:30:15.400
Waited for process W000 to initialize for 107276 seconds
*** 2011-04-26 00:50:21.400
Process diagnostic dump for W000, OS id=11304
Memory (Avail/Total): Ph:1923M/3839M, Ph+PgF:2563M/4446M, VA:1268M/2047M
CPU Load: 43%
Stack:
------------------- Call Stack Trace ---------------------
calling location entry point arg #1 arg #2 arg #3 arg #4
7C82847C 00000000 00000000 00000000 00000000 00000000
77E61C88 77E61C96 000019b0 00001388 00000000 0d85e55c
_skgpwwait()+128 00000000 000019b0 00001388 004c4b40 0bab7ca0
ksliwat()+2180 skgpwwait()+0 0d85e5c8 0babb460 2f371494 004c4b40
kslwaitctx()+146 ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
kslwait()+158 kslwaitctx()+0 0d85e7bc 000001f4 0d85e7bc 06097a59
ksvrdp()+26715 kslwait()+0 000001f4 0000003e 00000000 0d85fd90
opirip()+813 ksvrdp()+0 00000003 0c8ee914 0c935e6c 0c79f2d8
opidrv()+1357 opirip()+0 00000032 00000004 0d85fea8 00000000
sou2o()+45 opidrv()+0 00000032 00000004 0d85fea8 00000000
opimaireal()+263 _sou2o()+0 0d85fe9c 00000032 00000004 0d85fea8
opimai()+92 opimai_real()+0 00000003 0d85fed4 00000000 00000000
BackgroundThreadStart@4()+529 opimai()+0 00000003 0d85ff20 89b057d0 0c790030
77E6482C 00000000 0b18e3c8 00000000 00000000 0b18e3c8
00000000 00000000 00000000 00000000 00000000 00000000
---------------- End of Call Stack Trace -----------------
Call stack acquisition performance stats:
setup time (lock acquis., memory alloc.): 0 ms
frame get time (time the target proc was suspended): 0 ms
symbol translation time: 0 ms
total time: 0 ms
Process diagnostic dump actual duration=0.109000 sec
(max dump time=30.000000 sec)
*** 2011-04-26 00:50:21.509
Waited for process W000 to initialize for 110881 seconds
*** 2011-04-26 01:50:27.697
Process diagnostic dump for W000, OS id=10832
Memory (Avail/Total): Ph:1926M/3839M, Ph+PgF:2566M/4446M, VA:1266M/2047M
CPU Load: 11%
Stack:
------------------- Call Stack Trace ---------------------
calling location entry point arg #1 arg #2 arg #3 arg #4
7C82847C 00000000 00000000 00000000 00000000 00000000
77E61C88 77E61C96 000018fc 00001388 00000000 0dd0e55c
_skgpwwait()+128 00000000 000018fc 00001388 004c4b40 0bab7ca0
ksliwat()+2180 skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
kslwaitctx()+146 ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
kslwait()+158 kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
ksvrdp()+26715 kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
opirip()+813 ksvrdp()+0 00000003 0c54e918 0c565e78 09a2f2dc
opidrv()+1357 opirip()+0 00000032 00000004 0dd0fea8 00000000
sou2o()+45 opidrv()+0 00000032 00000004 0dd0fea8 00000000
opimaireal()+263 _sou2o()+0 0dd0fe9c 00000032 00000004 0dd0fea8
opimai()+92 opimai_real()+0 00000003 0dd0fed4 00000000 00000000
BackgroundThreadStart@4()+529 opimai()+0 00000003 0dd0ff20 89c36268 09a20030
77E6482C 00000000 0b187fb8 00000000 00000000 0b187fb8
00000000 00000000 00000000 00000000 00000000 00000000
---------------- End of Call Stack Trace -----------------
Call stack acquisition performance stats:
setup time (lock acquis., memory alloc.): 0 ms
frame get time (time the target proc was suspended): 0 ms
symbol translation time: 0 ms
total time: 0 ms
Process diagnostic dump actual duration=0.109000 sec
(max dump time=30.000000 sec)
*** 2011-04-26 01:50:27.806
Waited for process W000 to initialize for 112681 seconds
*** 2011-04-26 02:20:27.884
Process diagnostic dump for W000, OS id=9720
Memory (Avail/Total): Ph:1919M/3839M, Ph+PgF:2557M/4446M, VA:1266M/2047M
CPU Load: 43%
Stack:
------------------- Call Stack Trace ---------------------
calling location entry point arg #1 arg #2 arg #3 arg #4
7C82847C 00000000 00000000 00000000 00000000 00000000
77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
_skgpwwait()+128 00000000 00001a00 00001388 004c4b40 0bab7ca0
ksliwat()+2180 skgpwwait()+0 0dd0e5c8 0babb460 2f36f3dc 004c4b40
kslwaitctx()+146 ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
kslwait()+158 kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
ksvrdp()+26715 kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
opirip()+813 ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
opidrv()+1357 opirip()+0 00000032 00000004 0dd0fea8 00000000
sou2o()+45 opidrv()+0 00000032 00000004 0dd0fea8 00000000
opimaireal()+263 _sou2o()+0 0dd0fe9c 00000032 00000004 0dd0fea8
opimai()+92 opimai_real()+0 00000003 0dd0fed4 00000000 00000000
BackgroundThreadStart@4()+529 opimai()+0 00000003 0dd0ff20 80828c73 09a20030
77E6482C 00000000 0b187f70 00000000 00000000 0b187f70
00000000 00000000 00000000 00000000 00000000 00000000
---------------- End of Call Stack Trace -----------------
Call stack acquisition performance stats:
setup time (lock acquis., memory alloc.): 0 ms
frame get time (time the target proc was suspended): 0 ms
symbol translation time: 0 ms
total time: 0 ms
Process diagnostic dump actual duration=0.110000 sec
(max dump time=30.000000 sec)
*** 2011-04-26 02:20:27.994
Waited for process W000 to initialize for 115689 seconds
*** 2011-04-26 03:10:36.994
Process diagnostic dump for W000, OS id=10068
*** 2011-04-26 03:10:37.103
Memory (Avail/Total): Ph:1933M/3839M, Ph+PgF:2575M/4446M, VA:1267M/2047M
CPU Load: 32%
Stack:
------------------- Call Stack Trace ---------------------
calling location entry point arg #1 arg #2 arg #3 arg #4
7C82847C 00000000 00000000 00000000 00000000 00000000
77E61C88 77E61C96 00001a00 00001388 00000000 0dd0e55c
_skgpwwait()+128 00000000 00001a00 00001388 004c4b40 0d1dceb8
ksliwat()+2180 skgpwwait()+0 0dd0e5c8 0d1e0678 2f36f3dc 004c4b40
kslwaitctx()+146 ksliwat()+0 2ea26d20 2ea26d20 000001f4 00000000
kslwait()+158 kslwaitctx()+0 0dd0e7bc 000001f4 0dd0e7bc 06097a59
ksvrdp()+26715 kslwait()+0 000001f4 0000003e 00000000 0dd0fd90
opirip()+813 ksvrdp()+0 00000003 0c52e918 0c545e78 09a2f2dc
opidrv()+1357 opirip()+0 00000032 00000004 0dd0fea8 00000000
sou2o()+45 opidrv()+0 00000032 00000004 0dd0fea8 00000000
opimaireal()+263 _sou2o()+0 0dd0fe9c 00000032 00000004 0dd0fea8
opimai()+92 opimai_real()+0 00000003 0dd0fed4 00000000 00000000
BackgroundThreadStart@4()+529 opimai()+0 00000003 0dd0ff20 8a7c5db0 09a20030
77E6482C 00000000 0b1a9bc0 00000000 00000000 0b1a9bc0
00000000 00000000 00000000 00000000 00000000 00000000
---------------- End of Call Stack Trace -----------------
Call stack acquisition performance stats:
setup time (lock acquis., memory alloc.): 0 ms
frame get time (time the target proc was suspended): 0 ms
symbol translation time: 0 ms
total time: 0 ms
Process diagnostic dump actual duration=0.109000 sec
(max dump time=30.000000 sec)
*** 2011-04-26 03:10:37.103
error 2103 detected in background process
OPIRIP: Uncaught error 447. Error stack:
*** 2011-04-26 03:35:37.103
ORA-00447: fatal error in background process
ORA-02103: PCC: inconsistent cursor cache (out-of-range cuc ref)
Edited by: user8952784 on Apr 25, 2011 12:53 PMHello,
What is MOS?
MOS stand for My Oracle Support (formelly called Metalink). You'll find below their link:
https://support.oracle.com/
You'll need the Customer Support Identifier ( CSI ) to get an account.
As soon as, you can logon to MOS, then open a Service Request and send them the Alert log, trace file, ... and if possible an Incident Package so that they can diagnose the error you got.
As you are in 11.1 you can generate an Incident Package with the help of the Automatic Diagnostic Repository ( ADR ). You may follow the procedure below to create the Incident Package and manage the call with MOS:
http://download.oracle.com/docs/cd/E11882_01/server.112/e17120/diag002.htm#CHDJDBCH
Hope this help.
Best regards,
Jean-Valentin -
Oracle XE 10g database offline need help getting it back in 11g EE
Our server crashed...completely crashed...lightning took it clean out. It was older hardware running server 2003, oracle xe 10g, so we replaced it with a newer better server running 2008r2 (64bit I might add).
I need to bring the old database, tablespaces and datafiles back online with the new server and the new instance of Oracle.
I have sucessfully installed oracle 11g EE and can create new a new database (all is online with this), but I need my old data back for PCM 13.1. I cannot find any good online documentation regarding this issue, and we are down until its corrected. Obviously just copying the data over isnt going to work, so any help is much appreciated.
I have good copies of the old hard drives with the folder structures intact, but there is no chance of getting the old OS back online without purchasing old matching hardware and just slamming the drives into it.
Basically how do I get the new instance of Oracle to open and run my older database...how do I restore it?I did it...yay! Here's what I did...I installed a fresh copy of oracle 10g xe in my virtual xp mode. Stopped the database after installation...deleted and replaced the oradata and fast_recovery_area folders with my old data. Started the database and everything worked so far. In the server with 2008 r2 I installed 11g xe, same system password. I then installed SQL Developer on both computers (easier for me than typing out the scripts). In the XP mode 10g xe computer I did a FULL data pump export to a dump directory. I then moved the dump file to the new server and ran a data pump import, appending data if existing. First time, failed....checked the log and obviously I missed the fact the folder structure MUST be the same for the datafiles or I would have to remap (too much work). The default oradata folder is different in 10g than 11g. I created the oradata folder in 11g xe in the same location as 10g would put it and ran the import script again. BAM, it worked this time...I have my data back in 11g xe and my software was able to find it like it should. Thank you for your consideration and help...hope this helps someone else down the road.
-
Backup Database Problem - Need help -- thanks!!
I have backed up my LR database every few days and have had it check for corruption. Things were fine until today when I went to back it up. I received a message saying "Cannot write one file". That was the extent of the message. It didn't say that I had a corruption or give me an obvious error type warning. I rebooted my PC and repeated the maneuver without success.
I then opened my most previous DB, from last week, and when I tried to save it, I got the same "Cannot write one file" message.
LR appears to be working fine and all my metadata information seems intact.
What does this mean and what should I do? I need to back up my database otherwise I feel very vulnerable to problems.
Thanks for yor help! Marc - Syracuse, NYThank you for the interest...
I am using a Windows XP workstation and using the native LR database backup routine to backup the file to an external Western Digital harddrive. The WD HD has tons of room and, for some reason, the backup routine would tell me that it was "unable to write one file".
I've tried reverting to an prior copy of the DB and now it seems okay. But I lost some of my recent work and feel a little less secure about putting all my edits/metadata into LR if I can be at risk for losing it again in the future. -
Parse XML in PL/SQL need help
Hi All,
I'm new to PL/SQL. I need to call a web service from within the PL/SQL and then need to parse the response XML. I was able to call the web service and now I have returned SOAP response XML in CLOB. I searched on google for way to parse this XML and create some kind of list or array or collection with all the values so that later on that collection or array can be used in displaying the data or storing the data, but I couldn't found the right information, rather I got very confused.
Please help me in parsing this XML and creating some kind collection or array for later use.
Thanks
XML is
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<getMemberResponse effectiveDate="1970-10-01" endDate="2010-12-31" xmlns="http://abc.org/schema/Member/GetMember/V1">
<responseHeader xmlns="http://abc.org/schema/common/v1">
<serviceVersion>2.0.1</serviceVersion>
<actionRequested AR="QUERY" xmlns:v1="http://abc.org/schema/Member/V1" xmlns:v11="http://abc.org/schema/common/v1" xmlns:v12="http://abc.org/schema/common/v1">
<v11:transactionName>GetMemberRequest</v11:transactionName>
</actionRequested>
<requestResults>
<resultStatus>Success</resultStatus>
<resultCodes>
<resultCode TYPE="HIPAA">00000</resultCode>
<resultCode TYPE="LEGACY">00000</resultCode>
<resultCode TYPE="SDI">00000</resultCode>
</resultCodes>
<resultMessage>Success</resultMessage>
</requestResults>
<accounting xmlns:v1="http://abc.org/schema/Member/V1" xmlns:v11="http://abc.org/schema/datatypes/v1" xmlns:v12="http://abc.org/schema/common/v1">
<transactionId>ec3542e7-3191-430c-bd69-69dd5d18bf75</transactionId>
<v12:timeStamp>2011-05-23T11:52:22</v12:timeStamp>
</accounting>
</responseHeader>
<requestID>ec3542e7-3191-430c-bd69-69dd5d18bf75</requestID>
<memberDetails xmlns:v1="http://abc.org/schema/Member/V1" xmlns:v11="http://abc.org/schema/datatypes/v1" xmlns:v12="http://abc.org/schema/common/v1">
<v1:ids>
<v1:id memberIdType="SSN">00000000</v1:id>
<v1:id memberIdType="PARTYID">111111</v1:id>
<v1:id memberIdType="PARTYNUMBER">222222</v1:id>
</v1:ids>
<v1:demographics>
<v1:memberDemographicType effDate="2010-05-09" maintType="UPDATE">
<v1:name>
<v1:nameDetails>
<v11:firstName>Keith</v11:firstName>
<v11:middleName>M</v11:middleName>
<v11:lastNames>
<v11:lastName>
<v11:name>Thompson</v11:name>
</v11:lastName>
</v11:lastNames>
<v11:formattedName>Keith M Thompson</v11:formattedName>
</v1:nameDetails>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2010-08-08T02:40:24</v1:updateDate>
</v1:name>
<v1:birthDate>1954-12-24</v1:birthDate>
<v1:genderTypeCode>Male</v1:genderTypeCode>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2010-08-08T02:40:24</v1:updateDate>
</v1:memberDemographicType>
</v1:demographics>
<v1:originalContractEffDate>2010-04-01</v1:originalContractEffDate>
<v1:addresses>
<v1:address maintType="QUERY">
<v1:location addresseeType="MEMBER" effDate="1901-01-01" endDate="9999-12-31" locationUseType="HOME" primaryPerType="Y">
<v11:addressLines>
<v11:addressLine>BAY VIEW AVENUE</v11:addressLine>
</v11:addressLines>
<v11:cityName>PLYMOUTH</v11:cityName>
<v11:stateCode>TX</v11:stateCode>
<v11:postalCode>58654</v11:postalCode>
</v1:location>
<v1:createDate>2011-05-23T11:52:22</v1:createDate>
<v1:updateDate>2011-05-23T11:52:22</v1:updateDate>
</v1:address>
<v1:address maintType="QUERY">
<v1:location addresseeType="SUBSCRIBER" effDate="1901-01-01" endDate="9999-12-31" locationUseType="HOME" primaryPerType="Y">
<v11:addressLines>
<v11:addressLine>AY VIEW AVENUE</v11:addressLine>
</v11:addressLines>
<v11:cityName>PLYMOUTH</v11:cityName>
<v11:stateCode>TX</v11:stateCode>
<v11:postalCode>58654</v11:postalCode>
</v1:location>
<v1:createDate>2011-05-23T11:52:22</v1:createDate>
<v1:updateDate>2011-05-23T11:52:22</v1:updateDate>
</v1:address>
</v1:addresses>
<v1:policies>
<v1:policy effDate="2010-04-01" maintType="ADD" type="MEMBER">
<v1:ids>
<v1:id type="MEMBERID">CPIT000456</v1:id>
<v1:id type="POLICY">CPIT</v1:id>
</v1:ids>
<v1:contractType>F</v1:contractType>
<v1:dependentType>01</v1:dependentType>
<v1:offerings>
<v1:offering offeredBy="abc" offeringIdType="INSURANCE_TYPE" selected="Y">
<v1:offeringId>IV</v1:offeringId>
</v1:offering>
<v1:offering effDate="2010-04-01" maintType="ADD" offeredBy="abc" offeringIdType="BOC" selected="Y">
<v1:offeringId>GK</v1:offeringId>
<v1:recordInfo>
<v1:internalRecId>82326287</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2010-05-09T14:23:17</v1:updateDate>
</v1:offering>
</v1:offerings>
<v1:customer>
<v1:relation type="EMPLOYMENT">
<v1:customer>
<v1:id idType="ACCOUNTID">C11204</v1:id>
<v1:id idType="DIVISION">0208290000</v1:id>
<v1:customerName>BC Group</v1:customerName>
</v1:customer>
</v1:relation>
</v1:customer>
<v1:physicianRelations>
<v1:physicianRelation effDate="2010-04-01" endDate="9999-12-31" type="PCP">
<v1:ids>
<v1:id type="NPI">0</v1:id>
<v1:id type="AFFILIATIONID">1313 0025</v1:id>
<v1:id type="PROVIDERID">1313</v1:id>
<v1:id type="TIN">0</v1:id>
</v1:ids>
<v1:recordInfo>
<v1:internalRecId>98151812</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-10-23T01:10:13</v1:createDate>
<v1:updateDate>2010-10-23T01:10:13</v1:updateDate>
</v1:physicianRelation>
</v1:physicianRelations>
<v1:maintainReasonCode>AC</v1:maintainReasonCode>
<v1:recordInfo>
<v1:internalRecId>82326286</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2010-05-09T14:23:17</v1:updateDate>
</v1:policy>
<v1:policy effDate="2010-04-01" maintType="QUERY" type="SUBSCRIBER">
<v1:ids>
<v1:id type="POLICY">CPIT</v1:id>
</v1:ids>
<v1:hashCode>82326284</v1:hashCode>
<v1:contractType>F</v1:contractType>
<v1:maritalStatus>UNKNOWN</v1:maritalStatus>
<v1:offerings>
<v1:offering effDate="2010-04-01" maintType="QUERY" offeredBy="abc" offeringIdType="INSURANCE_TYPE" selected="Y">
<v1:offeringId>IV</v1:offeringId>
<v1:recordInfo>
<v1:internalRecId>82326285</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2011-01-20T04:53:52</v1:updateDate>
</v1:offering>
</v1:offerings>
<v1:customer>
<v1:relation type="EMPLOYMENT">
<v1:customer>
<v1:id idType="ACCOUNTID">C11204</v1:id>
<v1:id idType="DIVISION">0208290000</v1:id>
<v1:customerName>BC Group</v1:customerName>
</v1:customer>
</v1:relation>
</v1:customer>
<v1:maintainReasonCode>AC</v1:maintainReasonCode>
<v1:recordInfo>
<v1:internalRecId>82326284</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2011-01-20T04:53:52</v1:updateDate>
</v1:policy>
</v1:policies>
<v1:recordInfo>
<v1:internalRecId>8364745</v1:internalRecId>
<v1:objectVersionNo>1</v1:objectVersionNo>
</v1:recordInfo>
<v1:restrictedMemberIndicator>N</v1:restrictedMemberIndicator>
<v1:createDate>2010-05-09T14:23:17</v1:createDate>
<v1:updateDate>2010-08-08T02:40:24</v1:updateDate>
</memberDetails>
</getMemberResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>Hi A_Non,
Thanks so much for giving me the hint about that "text()" in XPath.
I have new question for you with same XML I'm parsing right now.
I have extracted a part(Policies) of whole XML and put it in one XMLTYPE variable. Below is that part XML.
My question is I need to look only into that policy which is active right now. In the <policy> tag there are two attributes "effDate" and "endDate". "effDate" tag will always be there for every policy and for all inactive policies also "endDate" will be there always. Problem is with the active ones, "endDate" may or may not be there. If "endDate" is there so it will be greater than or equal to sysdate and if it is not there that means it is open ended. I need to fetch only that policy which is active right now and if there is no tag as such that means member is not active as of today.
If "endDate" attribute is there then I think below XPath will work, but I'm not sure about how to handle when "endDate" attribute is not there.
/d:policies/d:policy[@type="MEMBER" and number(translate(@effDate,"-",""))<=number(translate("'||l_currDate||'","-","")) and number(translate(@endDate,"-",""))>=number(translate("'||l_currDate||'","-",""))]I have Oracle 10.1.0.4, in this in XPath comparison operators are not working so I'm using XPath functions.
Here is the XML
<v1:policies>
<v1:policy effDate="1999-05-01" endDate="1999-12-31" maintType="ADD" type="MEMBER">
<v1:ids>
<v1:id type="MEMBERID">SDF000414600</v1:id>
<v1:id type="POLICY">SDF0004146</v1:id>
</v1:ids>
<v1:contractType>F</v1:contractType>
<v1:dependentType>01</v1:dependentType>
<v1:offerings>
<v1:offering offeredBy="ABC" offeringIdType="INSURANCE_TYPE" selected="Y">
<v1:offeringId>IH</v1:offeringId>
</v1:offering>
<v1:offering effDate="1999-05-01" endDate="1999-12-31" maintType="ADD" offeredBy="ABC" offeringIdType="BOC" selected="Y">
<v1:offeringId>HA</v1:offeringId>
<v1:recordInfo>
<v1:internalRecId>39077481</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-01T01:27:04</v1:createDate>
<v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
</v1:offering>
</v1:offerings>
<v1:customer>
<v1:relation type="EMPLOYMENT">
<v1:customer>
<v1:id idType="ACCOUNTID">AS35423</v1:id>
<v1:id idType="DIVISION">0621730000</v1:id>
<v1:customerName>Medical Associates</v1:customerName>
</v1:customer>
</v1:relation>
</v1:customer>
<v1:physicianRelations>
<v1:physicianRelation effDate="1999-05-01" endDate="1999-12-31" type="PCP">
<v1:ids>
<v1:id type="NPI">0</v1:id>
<v1:id type="AFFILIATIONID">66759 0014</v1:id>
<v1:id type="PROVIDERID">231231</v1:id>
<v1:id type="TIN">0</v1:id>
</v1:ids>
<v1:recordInfo>
<v1:internalRecId>87796651</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-10-22T21:56:44</v1:createDate>
<v1:updateDate>2010-10-22T21:56:44</v1:updateDate>
</v1:physicianRelation>
</v1:physicianRelations>
<v1:maintainReasonCode>MD</v1:maintainReasonCode>
<v1:recordInfo>
<v1:internalRecId>39077480</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-01T01:27:04</v1:createDate>
<v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
</v1:policy>
<v1:policy effDate="2000-01-01" endDate="2000-12-31" maintType="ADD" type="MEMBER">
<v1:ids>
<v1:id type="MEMBERID">SDF000414600</v1:id>
<v1:id type="POLICY">SDF0004146</v1:id>
</v1:ids>
<v1:contractType>F</v1:contractType>
<v1:dependentType>01</v1:dependentType>
<v1:offerings>
<v1:offering offeredBy="ABC" offeringIdType="INSURANCE_TYPE" selected="Y">
<v1:offeringId>IH</v1:offeringId>
</v1:offering>
<v1:offering effDate="2000-01-01" endDate="2000-12-31" maintType="ADD" offeredBy="ABC" offeringIdType="BOC" selected="Y">
<v1:offeringId>HA</v1:offeringId>
<v1:recordInfo>
<v1:internalRecId>39077483</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-01T01:27:04</v1:createDate>
<v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
</v1:offering>
</v1:offerings>
<v1:customer>
<v1:relation type="EMPLOYMENT">
<v1:customer>
<v1:id idType="ACCOUNTID">C35423</v1:id>
<v1:id idType="DIVISION">0621730000</v1:id>
<v1:customerName>Medical Associates</v1:customerName>
</v1:customer>
</v1:relation>
</v1:customer>
<v1:physicianRelations>
<v1:physicianRelation effDate="2000-01-01" endDate="2000-12-31" type="PCP">
<v1:ids>
<v1:id type="NPI">0</v1:id>
<v1:id type="AFFILIATIONID">66759 0014</v1:id>
<v1:id type="PROVIDERID">3213213</v1:id>
<v1:id type="TIN">0</v1:id>
</v1:ids>
<v1:recordInfo>
<v1:internalRecId>87796652</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-10-22T21:56:44</v1:createDate>
<v1:updateDate>2010-10-22T21:56:44</v1:updateDate>
</v1:physicianRelation>
</v1:physicianRelations>
<v1:maintainReasonCode>MD</v1:maintainReasonCode>
<v1:recordInfo>
<v1:internalRecId>39077482</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-01T01:27:04</v1:createDate>
<v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
</v1:policy>
<v1:policy effDate="2001-01-01" maintType="ADD" type="MEMBER">
<v1:ids>
<v1:id type="MEMBERID">SDF000414600</v1:id>
<v1:id type="POLICY">SDF0004146</v1:id>
</v1:ids>
<v1:contractType>F</v1:contractType>
<v1:dependentType>01</v1:dependentType>
<v1:offerings>
<v1:offering offeredBy="ABC" offeringIdType="INSURANCE_TYPE" selected="Y">
<v1:offeringId>IH</v1:offeringId>
</v1:offering>
<v1:offering effDate="2001-01-01" endDate="2001-03-31" maintType="ADD" offeredBy="ABC" offeringIdType="BOC" selected="Y">
<v1:offeringId>HC</v1:offeringId>
<v1:recordInfo>
<v1:internalRecId>39077485</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-01T01:27:04</v1:createDate>
<v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
</v1:offering>
</v1:offerings>
<v1:customer>
<v1:relation type="EMPLOYMENT">
<v1:customer>
<v1:id idType="ACCOUNTID">C35423</v1:id>
<v1:id idType="DIVISION">0621730000</v1:id>
<v1:customerName>Medical Associates</v1:customerName>
</v1:customer>
</v1:relation>
</v1:customer>
<v1:physicianRelations>
<v1:physicianRelation effDate="2001-01-01" endDate="2001-03-31" type="PCP">
<v1:ids>
<v1:id type="NPI">0</v1:id>
<v1:id type="AFFILIATIONID">66759 0014</v1:id>
<v1:id type="PROVIDERID">61232132</v1:id>
<v1:id type="TIN">0</v1:id>
</v1:ids>
<v1:recordInfo>
<v1:internalRecId>87796653</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-10-22T21:56:44</v1:createDate>
<v1:updateDate>2010-10-22T21:56:44</v1:updateDate>
</v1:physicianRelation>
</v1:physicianRelations>
<v1:maintainReasonCode>LE</v1:maintainReasonCode>
<v1:recordInfo>
<v1:internalRecId>39077484</v1:internalRecId>
</v1:recordInfo>
<v1:createDate>2010-05-01T01:27:04</v1:createDate>
<v1:updateDate>2010-05-01T01:27:04</v1:updateDate>
</v1:policy>
</v1:policies>Thanks -
ABAP to XML conversion...need help for XSTL coding
Hi,
I am trying to convert ABAP internal table to XML format. I am using CALL TRANSFORMATION command. But i am not getting the exact conversion of my internal table data as i am lagging in perfection of XSLT coding that i have to maintain(in call transformation command).
I am passing the data with internal table which has deep structuring( 2 other internal tables(table types) inside it).
i am facing issue in writing the XSLT format coding(Tcode:XSLT_TOOL). I need some help on this.
Thanks,
Mahidhar.Hi,
Can you please share the XSLT program that you have created and also your ABAP structure that is going to hold the data.
Thanks,
Aanand. -
Greetings,
I am pretty new at this program, and I am trying to understand how to do my homework assignment. So I do not need the full code, just some help on how to get started.
I am trying to write a program that merges all files together whose names match a certain pattern, and writes the result to an output file. The input-file pattern will consist of a combination of "normal" filename characters and question marks (?). A question mark in the input-file pattern denotes a single-character "wild card". Thus, the pattern ab?c?.txt would denote all file names that consist of 9 characters such that:
the first two characters are ab
the fourth character is c
the last four characters are .txt
For example, this would include filenames such as abxc7.txt and abqcc.txt.
So if there are files in a folder, for example, called abc.txt, adc.txt, cat.txt, and the contents of each has two similar lines of "This is File ZZZ" Where ZZZ represents the name of the file. Then running the program with the pattern a??.txt and the output file finished.txt will result in the file finished.txt having the contents
This is file abc.txt.
This is file abc.txt.
This is file abd.txt.
This is file abd.txt.
I don't really know where to begin here. Could you help me out? ThanksSir,
Cross-posted, multi-posted and I don't know what all else up the yin-yang and beyond.
The most current thread is now below.
http://forum.java.sun.com/thread.jspa?threadID=617999&tstart=0
Sincerely,
Slappy -
ISE - CSCty54756 - how do I reindex a ISE database? Need help please!
Anybody know how to implement the workaround below?
Indexes got corrupted in MNT DB
CSCty54756
Symptom:
The ISE Dashboard will not show up any activities and when checked in the mnt-collector.out log file from support bundle you will see indexing errors
Conditions:
If you see indexing error as below :
java.sql.SQLException: ORA-01502: index 'MNT.SYS_C0011721' or partition of such index is in unusable state.
java.sql.SQLException: ORA-01502: index 'MNT.SYS_C0011720' or partition of such index is in unusable state
Workaround:
As a quick workaround Indexes needs to be re-executed and all this execution needs to be done under the guidance of MNT Dev
Further Problem Description:
When you observe if the dash board is not logging any information , even though authentications are happening successfully , then when we check the support bundle for mnt-collector.out log and if we happen to see the above SQL Exceptions , we can conclude that due to index errors , dash board is not writing any logs.Hello all,
I actually have the same problem with my Cisco ISE with Dashboard showing nothing and cisco ISE returning Database Failure like as shown below:
"Database failure (nnpc-ise, Posture)
Exception:
ORA-01502: index 'MNT.SYS_C0011756' or partition of such index is in unusable state"
Kindly advise me on how i can fix this error.
NOTE: I AM USING CISCO AS AS STANDALONE MODE I DO NOT HAVE MONITORING NODE. -
Huge Flash File Problem HELP!
Hi,
I am making a flash animation with imports from illustrator,
using copy and paste mainly, the resolution of the animation is
1280 x 1024. The fla file has crawled to 110MB and is seriously
killing my computer when i trya nd work on it. It takes 25 minutes
to save! I need the final animation to run full screen a t that
resolution. Should I be making it at that resolution
is this the problem?
please help
thanks
applesAI artwork can often be flattened in flash by selecting all
and using Ctrl + B (break apart) until
it's all 1 layer of vector data as opposed to several grouped
objects.
--> Adobe Certified Expert *ACE*
--> www.mudbubble.com
--> www.keyframer.com
feedmeapples wrote:
> Hi,
>
> I am making a flash animation with imports from
illustrator, using copy and
> paste mainly, the resolution of the animation is 1280 x
1024. The fla file has
> crawled to 110MB and is seriously killing my computer
when i trya nd work on
> it. It takes 25 minutes to save! I need the final
animation to run full screen
> a t that resolution. Should I be making it at that
resolution
>
> is this the problem?
>
> please help
>
> thanks
>
> apples
>
>
>
Maybe you are looking for
-
Unable to start Mate DE from X
So here's a weird problem i've been having since my recent attempt at migrating from Ubuntu to Arch Linux. I've installed Mate DE but almost never successfully run it on first try. What usually happens is whether I configure it to load on boot accord
-
Hello all, I have three questions: 1. Can I use report S_P99_41000101 (Display Check Register) to display my wire payments as well? I ask this because under the Further selections tab, there is the option of choosing different payment methods. 2. If
-
Can anyone recommend the best c data type for a DATE field. The samples all use the emp sample table but they conveniently never use the hire date in any examples. Thanks
-
New BW 7.0 System (ABAP+Java) as two single-stack Systems? How?
Hello, as of the current recommendation not to install a dual-stack system anymore, we are planning to setting up our new BW 7.0 sandbox-system as two single-stacks. In my understanding, I have two install two separate systems (1. AS ABAP, 2. AS JAVA
-
Migrate Business Contact Manager to Office365
Hi, I've today been told by presales at Microsoft that Business Contact Manager BCM is available to download and will work with the MS Office365 O365 Business Premium Plan. We're about to migrate a client currently on MS Office 2007 and heavily using