Home » Developer & Programmer » JDeveloper, Java & XML » Sample code required
Sample code required [message #122269] Sat, 04 June 2005 09:45 Go to next message
sreek_s
Messages: 45
Registered: May 2005
Location: Andaman Nikobar
Member
Hi,
I have a scenario as follows.

I have a formula say F1+F2+F3.
Where..
F1 = B1+B2
F2 = F6+B3
F3 = B4
F6 = F7+B5
F7 = B6

After substitution of these values my formula becomes B1+B2+B3+B4+B5+B6.

Like this there can be multiple levels of substitution. How to handle these kind of situations in a java program.

In Brief,
I need to write a java function which takes F1+F2+F3 as input and which gives B1+B2+B3+B4+B5+B6 as output.

Regds,
Srikanth
Re: Sample code required [message #122445 is a reply to message #122269] Mon, 06 June 2005 09:49 Go to previous message
sreek_s
Messages: 45
Registered: May 2005
Location: Andaman Nikobar
Member
Got the solution ...Thanks
Previous Topic: Emergency problem of creating a view of XMLType
Next Topic: load xml file into Oracle 9i table (merged cross-posts)
Goto Forum:
  


Current Time: Mon Nov 25 17:08:59 CST 2024