XQuery to make two tags from a single tag
Hi allI use OSB 11 g. I get an XML like this:
< DOC >
< INFO >
< ATTRIBUTE ID = "name" >
ABCD < VALUE > < / VALUE >
< / ATTRIBUTE >
<! - option - >
< ATTRIBUTE ID = 'date' >
< VALUE >
29/09/09
19/09/11
< / VALUE >
< / ATTRIBUTE >
<! - option - >
< ATTRIBUTE ID = "accNo" >
< VALUE > 823748923987 < / VALUE >
< / ATTRIBUTE >
<! - option - >
< ATTRIBUTE ID = "address" >
< VALUE > XYZW < / VALUE >
< / ATTRIBUTE >
< / INFO >
< / DOC >
Only when the ID = "date", I want to change the ATTRIBUTE tag like
< ATTRIBUTE ID = 'date' >
< VALUE > 29/09/09 < / VALUE >
< VALUE > 19/09/11 < / VALUE >
< / ATTRIBUTE >
Y at - it no XQuery to do this in OSB?
Help, please!
Thanks in advance!
Kind regards
Knockaert
Try this: -.
Assign [
Replace [content of the node] [. / * [1]] [Replace [whole node] of [". / / ATTRIBUTE[@ID="date "]]
to [finalValueDate]
For each [attribute] [./*:doc/*:info /...]
./*:DOC/*:INFO/*:ATTRIBUTE
[body]
Indexed by [undefined Variable] with countdown in [undefined Variable]
Do)
If ([$attribute/@ID...]
$attribute/@ID = "date".
)
then)
Assign [fn: normalize-sp...]
FN:Normalize-Space($attribute/*:value/Text())
on the [date]
./*[1]
in [finalValueDate] with [fn:substring($d...)]
FN: Substring($date, 1, 8)
Replace [content of the node] [. / * [2]]
./*[2]
in [finalValueDate] with [fn:substring($d...)]
FN: Substring($date, 10, 8)
. ["/ / ATTRIBUTE[@ID="date "]
in [body] with [
)
)
It worked for me. I got the following response:
Tags: Fusion Middleware
Similar Questions
-
can update us two columns from a single table at a time
Hi all
We can write an update on towing both columns
as set of update < table name > < Column1 > = 'xx' and < colmn2 > = "uu" where < Column3 > 'rrr '.
Thank youYou can.
Like this
update
set
='xx' , ='uu' where 'rrr' Concerning
Sankar MNInstall Oracle GoldenGate Linux to synchronize two schemas from database on a single server
Hi all
I have to synchronize two schemas from database (Oracle 12 c) in a single host RedHat Linux to demonstrate and understand the use of OGG V12.1.2.1.0. I try to do. But it's complicated and confused me because I am new to Oracle and Linux. I followed this tutorial ( install Oracle GoldenGate for Oracle 12.1.2 on CentOS/6.x to 6.x/RHEL Linux 6.x EL ). But it is difficult to understand how I can match with two diagrams of database on a single server.
And I found this tutorial (Oracle GoldenGate on Linux: two-way replication of Oracle 11 GR 2 to Oracle 11 g 2). He said: "" If you have that one host, it may be useful to change the /etc/hosts file to create aliases forhost01.example.com and host02.example.com.". What it really means?The other seems to be useful. But it's totally different from 1. Is that this will help my job since I use 12 c Oracle Server?
Can I get some tips to continue my task?
Here's another tutorial - http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Integrated_Replicat/index.html
It has everything set up on a single Linux host.
Synchronize two schemas from database on a linux server using Oracle GoldenGate
I followed this guide ( http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/12c/OGG12c_Installation/index.html?cid=9167 & ssid = 0 ) and for two different databases running on the same instance of database schemas.
What I have now is a Linux server with two Oracle database schemas. I have access through my Linux virtual machine. I want to do the synchronization possible between them.I use Oracle GoldenGate to make this possible. What should I do now? Goldengate is must be installed in the server too? I'm totally new to this situation. Can someone give me at least the major steps before going to the more comprehensive study?
Well understood. This helped.
Install Oracle GoldenGate Linux to synchronize two schemas from database on a single server
How long should I until I can make longer transitions from 01:00 clips?
(It's one of those 'is it me? Or the software? Or just tired? ("things.)
I'm working on the project where - it seems - almost all of the clips are "too short" and require the FCP create transition (using what used be called the ripple tool, I think).
I can understand that for five seconds shorter clips, of course; but as an experience, I wrote a couple of them with themselves, to get a few images at each end use - up to 10-15 seconds, and they were always too short. I slowed them even further... still too short, red on both sides.
So I wonder: just what is the duration of the minimum clip for a gradual transition decently? Same 02:00 would be better than these 01:00 and: 16 flashes I get and I do not remember whether this way in other projects.
Thank you very much
IW
Manages media are needed.
Try a test with two clips:
Make a point in two seconds from the outset and a point off 2 seconds from the end of each clip.
Place the two items in the timeline panel, and then add a second two cross dissolve.
Should work.
FCP X can also let you know if there is no handle media and asks if you want a transition to the detriment of shorten the clips.
Al
I bought two subscriptions on a single account. The account is blocked
! I bought two subscriptions on a single account. The account is blocked
What should do?
Contact support - for the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...
Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache. If it fails to connect, try to use another browser.
Creative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )
I try to insert two images in a single document, group them, and then export it to a jpg file but cannot do
Hello sara,.
For my part, I prefer to use my German PS in this way (I try to translate the commands):
Use the same height for both images.
Open the first image in PS.
Use Bild > Arbeitsflache (Image > work plan?) See screenshot:
From there:
Give him the new with, by clicking on the left or the right indicating the hand playing around (trial and error).
Now you can insert your second image.
Hans-Günter
Two actions with a single button Oracle adf
Hello
Dear all,
I want two action with a single button. Before posting, I studied this thread, but it seems that it cannot solve my problem two actions with a single button?
It's my button and its action http://4.bp.blogspot.com/-tpP5wIW8JLI/T66zhLZgG0I/AAAAAAAAAPY/F1A-Ka8KGPY/s1600/req1.JPG
getReqID button is actually a call to a procedure that returns a value to his class of action. The cb1_action function is...
public String cb1_action() {}
BindingContainer links = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("getReqID");
Object result = operationBinding.execute ();
int id = Integer.parseInt (result.toString ());
System.out.println ("result =" + id);
If (! operationBinding.getErrors () .isEmpty ()) {}
Returns a null value.
}
Returns a null value.
}
It works very well. Don't know I want to, click this button, it also opens a page of .jsff. but I'm unable to open this page.
Help, please
Thank you
Muhammad NasirThe first image you provided shows a small 'Attention' sign on the "request for quote-global-TF" which, I guess, gives you the sentence.
This warning tells you that there is a problem with the task flow that you imported from the pot. Move the mouse over the warning sign a see what message you get from the frame on the error. If you don't get one, in 'source' view and look for red or orange squares in the gutter of the right hand. Scroll to the position of the red square and move the mouse over the underlined part red or orange of the code.Timo
can I save two devices on a single iCloud?
can I save two devices on a single iCloud?
Yes, if they use the same account Apple ID (iCloud).
Can I synchronize the activity of health between two watches from Apple?
I have two Apple - one for work, one for out watches. If I change watches in the middle of the day, the follow-up of the first watch of activity is not synchronized with the second watch. Is it possible to enable this so that the follow-up activity is specific for the whole day?
Thank you!
N ° it is not possible to synchronize the activity of health between two watches from Apple.
How to make new tags and color change it
I would like to make new tags and change the color on the new tags, so I have a different color can you please help and tell me how it is done
It is what explains how new, but you can use these 7 colors.
WHY MAKE TWO COPIES OF EMAILS THAT I SEND IN MY OUTBOX
SAME AS MOST HIGH: WHY MAKE TWO COPIES OF EMAILS THAT I SEND IN MY OUTBOX
I guess that your account is Outlook.com or Gmail. These two put mail in your Outbox and Thunderbird does.
If it's an of these, go to menu (alt + T) tools > account settings > copies and folders and change your sent does not save a copy in.
can I have two apple on a single device ID
can I have two apple on a single device ID
Hi, no you can use only a single iD associated with a single device.
two watches from apple under the same apple account
I bought two watches from apple, and I connect each with separate I call using the same account from apple, now I am facing a problem if a compose one of two phones both sound!
I had a problem with the digital button when using 2 watches on the same account. the engineer in the store told me that they are not designed to work with more of a watch on the same account. I created my wife with a new account and linked accounts by adding him as a member of the family. All purchases are still going through my account, but the watches work now perfectly
error 2615 while trying to make a dvd from a video podcast
trying to make a dvd from a video podcast, I tells me unable to complete a task error 2615?
You posted on a forum for users of Microsoft Security Essentials.
You have a hardware problem or software. Check with the manufacturer of your PC or your manufacturer of DVD or your software for additional DVD burning support.
Maybe you are looking for
-
I need to create a second library for locations other than itunes music files?
Mac book air with library itnes. Should high resolution I create a second library of music to not get data via itunes without loss to music downloads?
-
CD/DVD ROM IO error - please help
Hi all I've just adapted to a new TEAC DW-224th on my TECRA S1 because the former was damaged (it has been detected, but its mechanics did not work at all after an access to an airport). This is detected by the operating system (Win XP) and mechanica
-
Direct printing on 6700 wireless option
I implemented the 6700 for wireless network and all is well with computers. I'm trying to print directly from the iphone Tablet and they indicate the print file sent, but printer does not respond. I see a configuration option that says "Direct wire
-
Why am I reading GREEN when I add a photo or titles on my project?
I'm working on a project which should soon. When I overlay the titles with text on them, the playback screen displays a green screen. These aren't the flashes of green color that others speak. I even shared the YouTube project to preview and YES, the
-
How to continually take and record waveforms with neither 5102
a machine generates waves sinusoidal time randomly. I want to permanently take and record waveforms in 10s by NI 5102. How to do? Thank you very much!!