Dynamically Using XML Element name as column names
I have a requirement where I need to show data for 31 days or days of the month based on the data in the xml result.
Based on the month you are running the report, some may have 28 elements and some may have 31 elements in the data for days.
How do I dynamically show 28 columns or 31 columns etc - the trick here is I have to use the name of the XML element and not the value for column names.
My requirement is like this.
Deal --------01 -------- 02 -------- 03 -------- 04 05 .upto ... 31days
Deal 1 : 22218 : 32218 : 11918
Deal 2 : Qty1 : Qty2 : Qty3
I need to be able to use the XML Element names , Day01, Day02 etc as the column names in the report.
How can I use the XML Element name - in this case I need to remove the "Day" and use just the number part for the column name.
I can't have xml element names as numbers, thats why "Day" string is prefixed.
<Row state="">
<DEAL>Deal 1</DEAL>
<PORTFOLIO>AM ST Prod PDP</PORTFOLIO>
<CPTY>DTEGO</CPTY>
<FACILITY>MICHCON</FACILITY>
<POINT>100013 : Chestonia 17-Rec</POINT>
<TYPE>Purchase</TYPE>
<Day01>22218</Day01>
<Day02>32218</Day02>
<Day03>11918</Day03>
<Day04>11918</Day04>
<Day05>11918</Day05>
<Day06>11918</Day06>
<Day07>11918</Day07>
<Day08>11918</Day08>
<Day09>11918</Day09>
<Day10>11918</Day10>
<Day11>11918</Day11>
<Day12>23238</Day12>
<Day13>11918</Day13>
<Day14>11918</Day14>
<Day15>11918</Day15>
<Day16>32328</Day16>
<Day17>11918</Day17>
<Day18>11918</Day18>
<Day19>11918</Day19>
<Day20>11918</Day20>
<Day21>11918</Day21>
<Day22>11918</Day22>
<Day23>11918</Day23>
<Day24>11918</Day24>
<Day25>11918</Day25>
<Day26>11918</Day26>
<Day27>13511</Day27>
<Day28>13550</Day28>
<Day29>13550</Day29>
<Day30>13550</Day30>
</Row>
I have a requirement where I need to show data for 31 days or days of the month based on the data in the xml result.
Based on the month you are running the report, some may have 28 elements and some may have 31 elements in the data for days.
How do I dynamically show 28 columns or 31 columns etc - the trick here is I have to use the name of the XML element and not the value for column names.
My requirement is like this.
Deal --------01 -------- 02 -------- 03 -------- 04 05 .upto ... 31days
Deal 1 : 22218 : 32218 : 11918
Deal 2 : Qty1 : Qty2 : Qty3
I need to be able to use the XML Element names , Day01, Day02 etc as the column names in the report.
How can I use the XML Element name - in this case I need to remove the "Day" and use just the number part for the column name.
I can't have xml element names as numbers, thats why "Day" string is prefixed.
<Row state="">
<DEAL>Deal 1</DEAL>
<PORTFOLIO>AM ST Prod PDP</PORTFOLIO>
<CPTY>DTEGO</CPTY>
<FACILITY>MICHCON</FACILITY>
<POINT>100013 : Chestonia 17-Rec</POINT>
<TYPE>Purchase</TYPE>
<Day01>22218</Day01>
<Day02>32218</Day02>
<Day03>11918</Day03>
<Day04>11918</Day04>
<Day05>11918</Day05>
<Day06>11918</Day06>
<Day07>11918</Day07>
<Day08>11918</Day08>
<Day09>11918</Day09>
<Day10>11918</Day10>
<Day11>11918</Day11>
<Day12>23238</Day12>
<Day13>11918</Day13>
<Day14>11918</Day14>
<Day15>11918</Day15>
<Day16>32328</Day16>
<Day17>11918</Day17>
<Day18>11918</Day18>
<Day19>11918</Day19>
<Day20>11918</Day20>
<Day21>11918</Day21>
<Day22>11918</Day22>
<Day23>11918</Day23>
<Day24>11918</Day24>
<Day25>11918</Day25>
<Day26>11918</Day26>
<Day27>13511</Day27>
<Day28>13550</Day28>
<Day29>13550</Day29>
<Day30>13550</Day30>
</Row>
Similar Messages
-
How to use resource bundle entries for column names/title in .rpt file
<p>Our application needs to be able to support reporting in multiple languages. Hence we do not want to put language specifiec column names in the rpt file but rather use text for a particular locale during runtime which in java world is easily achievable using Resource Bundle entries.</p><p>Does JRC allow for using resource bundle entries as column names or for that matter for titles etc. in the .rpt file?</p>
Hi,
You can follow this step-by-step tutorial to find out how to achieve this using our User Function Libraries (UFLs). The walkthrough can be found here:
<a href="http://diamond.businessobjects.com/node/412">http://diamond.businessobjects.com/node/412</a>
Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a> -
How to use simple types for table column names ?
Hi,
can any one tell how to to use simple types for table column names?
It is required in internationalizing of webdynpro applications.
Regards,
RajeshHi,
1: define required column names in <SimpleType>
2:use the following code to get those values
3:bind 'text' property of Column headers to context attributes
4:take a context attribute 'Value' as type of <SimpleType>
5:set these values to context attributes
IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
Map m=simple.getEnumerationTexts();
Collection c=m.values();
Iterator it=c.iterator();
if(it.hasNext())
wdContext.currentContextElement.set<att1>(it.next().toString);
if(it.hasNext())
wdContext.currentContextElement.set<att2>(it.next().toString);
if(it.hasNext())
wdContext.currentContextElement.set<att3>(it.next().toString);
Regards
LakshmiNarayana -
Howto dynamicly bind XML element to a TextInput using BindingUtils?
The question is: Howto dynamicly bind XML element to a
TextInput component using BindingUtils?
Now I use following codes:
<!--
[Bindable] private var xml: XML =
<item><label>list1</label></item>;
// initialize code for application's initialize event
private function init(): void {
BindingUtils.bindProperty(txtDemo, "text", xml, "label");
//click event
private function test(): void {
xml.label = "something";
// txtDemo.executeBindings(); //---- no use anymore
-->
<mx:TextInput id="txtDemo"/>
<mx:Button label="Test" click="test()"/>
My really idea is when bindable xml property is changed, then
the textinput will be updated as hoped. However, no update happens
to me when I click the Test button.
But, if I make codes like that:
<mx: TextInput id="txtDemo" text="{xml.label}"/>
the text will updated when xml changs.
So, what happened, I indeed need the dynamicly bind to the
textinput compont.
Help me. thanks.You could use an ObjectProxy since all subproperties will
then be bindable:
private var _xml:XML =
<item><label>list1</label></item>;
private var _opXML:ObjectProxy = new ObjectProxy(_xml);
then in your init() function you declare _opXML as the host
object with the bindable property "label"...
// initialize code for application's initialize event
public function init(): void {
BindingUtils.bindProperty(txtDemo, "text", _opXML, "label");
//click event
private function test(): void {
_opXML.label = "something";
You'll notice that if you check your original _xml.label
property with ChangeWatcher.canWatch(), it returns false. But if
you create a dedicated object with a property that can be declared
as bindable, canWatch() returns true. You'd probably be best off to
write a lightweight class that can act as your model if you want to
work with dynamic XML binding using Actionscript. This will allow
you to use a bindable getter and setter that will give you the
dynamic functionality you're looking for.
Hope that helps. -
Table names and column names defined by other languages, not English.
Hi, everyone.
I am wondering if there are any possible problems or any inconvenience
when I define table names and column names by Japanese, not English.
Currently, we are using SQL server 2000 as a db and windows as a operating
system. In the near future, we have the plan to change the database software
and operating system to "Oracle 10g" and "Linux O/S".
I have not experienced the oracle database, which has table names and column
names defined by other languages, not English.
Personally, I would like to use English as table names and column names.
In this case, I might have to provide appropriate reasons.
Are there any possible problems or any "inconvenience" in terms of
system maintenance, development, or something else ?
What could be pros and cons in this case?
Thanks in advance.
Have a nice day.
Best Regards.
Ho.First you need to make sure your database has character set that support Japanese.
Choosing a Character Set
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#i1007681
The main "inconvenience" you will have is if the client doesn't support Japanese or unicode, it will have trouble to access the table.
And say in future after the application been developed, you want to implement the schema in some English environment, you will have hard time to do it.
My point is English tablename and column names doesn't prevent you use it in Japanese environment and save Japanese data but not vice-versa. Hope you understand. -
Query to find out the table name and column name..
Hi Experts,
I have an Oracle DB in which has more than 50 tables and 100,000 records. I want to get the record which contains *"ITxtVarValue references a non existing text"* the text.
Is there any query there to find out the table name and column name of this particular record where it reside?
Please help. Any help will be rewarded.
Thanks,
GUsing this forum's search function, I found a thread that should give you an idea: How to find out a tablename
C. -
Passing table name and columns name as parameters to procedure
i need a procedure that take table name and column names as parameters .
it should display all values in those columns
like
if i execute procedure p ( t1,c1,c2)
it should display c1,c2 values in t1 table
if i execute procedure p ( t1, c1,c2,c3)
it should display c1,c2,c3 values in t1 tables
no of column parameters changesSee if this helps...
First, read the manual on collections.
Second, define your expected results. You want to output the results to the screen? You cannot perform a 'select' in PL/SQL. You will have to select your output into another collection, then loop through that.
Finally, I am curious why this is necessary versus performing a regular query.
Take a look at this incomplete code.
create or replace
package dave_pac
IS
TYPE col_name_list IS VARRAY(20) OF VARCHAR2(30);
PROCEDURE SFA_TAB_COL1
(p_tname IN VARCHAR2
,p_cnames IN col_name_list);
END;
create or replace
package body dave_pac
IS
PROCEDURE SFA_TAB_COL1
(P_tname IN varchar2
,p_cnames in col_name_list)
IS
l_stmt long;
l_rc number;
begin
l_stmt :='select '||p_cnames(1);
for i in 2..p_cnames.count
loop
l_stmt :=l_stmt||' , '||p_cnames(i);
end loop;
l_stmt:= l_stmt||' from '|| p_tname ;
execute immediate l_stmt;
end ;
END dave_pac; -
Insert a trademark symblol to my swf dynamicly using XML
hello there,
i am trying to insert a trademark symblol to my swf dynamicly
using XML,
i tried every thing i could "caved the xml in every format
known to man kind, wrote some AS script to replace thin join, i
tried to hard code the symble" but nothing worked.
i am running flash8.
help is needed plz.
today is the DEAD LINE.
plz.Okay, test files are up in the following directory:
www.saffronthread.com/test
You can guess which ones are for you. I didn't deal with the
whole IE stupidness, so you my need to click on the page. But I've
got several different text fields some runtime some author
environment and sample text. Works for me on Mac and on the PC I
checked. Let me know what you find out.
As for System.useCodePage it is very seldom an actual
solution to the problem. It is a solution for when you want to be
sure that the user's Flash Plugin uses the computer's code page for
text rendering. Read the help entry for it and you will see that it
is not a solution for making sure that the most people possible
will correctly receive my text. It is more a solution for, I want
to make sure that those with Chinese operating systems are able to
correctly see the Chinese text I have encode with my special
encoding.
Most questions that get a "Oh, you must use
System.useCodePage answer" are more like, "I want to make sure that
everybody on every type of system can see my special characters."
The answer for that tends toward proper use of UTF-8 and that is my
guess for your problem. That your XML file is not being saved as
UTF-8. If System.useCodePage is helping you that tells me that your
XML editor is saving to some odd (maybe very popular, but not
UTF-8) encoding. -
Dict View name and column names
Hi,
Oracle 11.2.0.1
Windows XP
I wish to get the output of all the dictionary views with their name and column names something like this :
VIEW NAME
Name Null? Type
VIEW NAME
Name Null? Type
...Please tell me how do I get the above output for all the dict view from dict table.
Thanks.Step 1:
set serveroutput on;
set feed off;
set head off;
set pages 200;
spool dict.sql;
declare
tn varchar2(50);
cursor c is select table_name from dict order by table_name;
begin
open c;
loop
fetch c into tn;
dbms_output.put_line('begin');
dbms_output.put_line('dbms_output.put_line(' ||chr(39) || tn ||chr(39) ||');');
dbms_output.put_line('end;');
dbms_output.put_line('/');
dbms_output.put_line('desc ' || tn || ';');
exit when c%NOTFOUND;
end loop;
close c;
end;
Step 2:
Just edit dict.sql to remove top and bottom lines.
spool dictcols.txt
@dict.sql;
spool off;
But, this is not a good way to obtain your desired output. I am sure, other members can do it very smartly and efficiently.
Regards
Girish Sharma -
Use variable in SQL for column name
Hi All,
We want to use a user input as a column name in APEX.
For e.g user will enter "ALLOWABLE_AMOUNT" then the query will be as follows :
select Rule,rule_name,rule_desc,"User Input" from rule_dim
where "User_input" > 100
So here the User_input will be substitued with Allowable_amount. Is this doable using any bind/substitution variables ? I tried ":P2_USER_VARIABLE" and "&P2_USER_VARIABLE." but did not work.
Please advice.Hi Andy,
You do that with an Interactive Report and a Dynamic Action.
I'll assume that you're using APEX 4.2
Here's how:
Create Page 2 with an Interactive Report
Create New Page > Report > Interactive Report > Next > Next
Enter a SQL Select statement: select Rule,rule_name,rule_desc from rule_dim
Next > Create > Edit Page
Create the item P2_USER_VARIABLE
Add Item > Number Field > Next
Item Name: P2_USER_VARIABLE
Next > Next > Next
Source Used: Always, replacing any existing value in session state
Source Type: Static Assignment (value equals source attribute)
Create Item
Create a Dynamic Action to refresh the Interactive Report when P2_USER_VARIABLE is changed
Add Dynamic Action
Name: Refresh IRR
Next >
Event: Lose Focus
Selection Type: Item(s)
Item(s): P2_USER_VARIABLE
Next >
Action: Refresh
Next >
Selection Type: Region
Region: Report 1 (10)
Create Dynamic Action
Add the ALLOWABLE_AMOUNT to the Interactive Report
Report 1
Region Source: SELECT * FROM (select Rule,rule_name,rule_desc, :P2_USER_VARIABLE AS ALLOWABLE_AMOUNT from rule_dim) WHERE ALLOWABLE_AMOUNT > 100
Apply Changes > Apply Changes
Get the Interactive Report to submit P2_USER_VARIABLE
Report 1
Page Items to Submit: P2_USER_VARIABLE
Apply Changes
Change the Heading for ALLOWABLE_AMOUNT in the Interactive Report
Interactive Report
Change the Heading of ALLOWABLE_AMOUNT to &P2_USER_VARIABLE.
Apply Changes
Run
Enter something into the USER VARIABLE field and select something else on the page. Watch the last column update to that value.
Tim. -
Dynamic UPDATE statement with parameters for column names.
Hello,
On this* website I read "The SQL string can contain placeholders for bind arguments, but bind values cannot be used to pass in the names of schema objects (table or column names). You may pass in numeric, date, and string expressions, but not a BOOLEAN or NULL literal value"
On the other hand, in this Re: execute immediate with dynamic column name update and many other
posts people use EXECUTE IMMEDIATE to create a dynamic UPDATE statement.
dynSQL:='UPDATE CO_STAT2 CO SET CO.'||P_ENT_B_G_NAME||' = '||P_ENT_E_G_WE||'
WHERE ST IN
(SELECT ST FROM STG_CO_STAT2_TEST CO WHERE
'||P_ST||' = CO.ST AND
CO.'||P_ENT_E_G_NAME||' > '||P_ENT_E_G_WE||' AND
CO.'||P_ENT_B_G_NAME||' < '||P_ENT_E_G_WE||');';
EXECUTE IMMEDIATE dynSQL ;
Since this statement is part of a Stored Procedure, I wont see the exact error but just get a ORA-06512.
The compiling works fine and I use Oracle 11g.
http://psoug.org/definition/EXECUTE_IMMEDIATE.htmOK I extracted from all of your posts so far that I have to use "bind-variables with :"
From all the other tuorials and forums posts, I assume using the pipe is correct so I added those as well into the script:
set serveroutput on format wraped;
DECLARE
dynSQL VARCHAR2(5000);
P_ENT_E_G_NAME VARCHAR2 (100) :='test1'; P_ENT_E_G_WE VARCHAR2 (100) :='01.02.2012'; P_ENT_B_G_NAME VARCHAR2 (100) :='01.01.2012';
P_ST VARCHAR2 (100) :='32132';
BEGIN
dynSQL:= 'UPDATE CO_STAT2 CO SET CO.'||:P_ENT_B_G_NAME||' = '||:P_ENT_E_G_WE||'
WHERE ST IN (SELECT ST FROM STG_CO_STAT2_TEST CO WHERE
'||:P_ST||' = CO.ST AND
CO.'||:P_ENT_E_G_NAME||' > '||:P_ENT_E_G_WE||' AND
CO.'||:P_ENT_B_G_NAME||'
< '||:P_ENT_E_G_WE||')';
--this is somehow missing after the last < '||:P_ENT_E_G_WE||')';
dbms_output.enable;
dbms_output.put(dynSQL);
--EXECUTE IMMEDIATE dynSQL;
END;Problem:I think I figured it out, the dates that I parse into the query need additional ' -
Using select list value as column name in SQL
Folks,
Thanks in advance for any help with this
I have a select list with two values (Instance and Username) created by
STATIC2:Username;USERNAME,Instance;INSTANCE
I am trying to pass the value of this (:P2_SELECT) and use it as a column name in a SQL query as below
select USERNAME,
INSTANCE
from table_name
where :P2_SELECT like '%'||:P2_TEXTSEARCH||'%'
When I substitue the :P2_SELECT for one of the values (either instance or username) this works fine
I suspect it is due to how Application Express interprets the value of :P2_SELECT
Any help would be much appreciated!
GarethThanks Munky that worked a treat!
The next hurdle I have now is that because I have changed the region type to "PL/SQL Function(returning SQL Query)" there is no longer the option to add sorting to the columns as I have had to change the Source option to "Use Generic Column Names (parse query at runtime only)"
I will have a scout around and see how I can get around this
Gareth -
Need to use Select List value as column name
I want to have a WHERE ? IS BETWEEN ? AND ? clause.
I am using the PL/SQL Query returning a SQL Query as a report. This uses bind variables for items I had set on my form..... If I hardcode something like:
'WHERE STARTDATE IS BETWEEN '||
'TO_DATE(:P1_START,''dd-MON-YYYY HH24:MI'') AND '||
'TO_DATE(:P2_END,''dd-MON-YYYY HH24:MI'')';
I have no problem, but I have 2 date columns, STARTDATE and ENDDATE, and would like to use the value in a select list and not have to hardcode "STARTDATE" in there. I have not been able to do this, does anyone know how to use a bind variable as a column name? From reading some posts I think it might not be possible.Heather,
You're on the right track, just glue in the column name so that it becomes part of the returned query string from the function (...'WHERE '||:COLNAME||' IS BETWEEN '|| ...).
Note that the bind variable is not part of the returned query string, but the column name obtained from the bind variable when the function executes does become part of the query string.
Scott -
Using PL/SQL to retrieve column names and column values
If I have a table as follows
Table A(
meal varchar2(32),
beverage varchar2(32),
desert varchar2(32));
and the table contains a row
meal beverage desert
pork chops iced tea apple crisp
Is there a way in pl/sql to retrieve the column names along with the values. I have an object type
DATA_DEFINITION_T AS OBJECT (
"FIELD_NAME" VARCHAR2(32),
"FIELD_VALUE" VARCHAR2(32)
I need to store the column name in field_name and the column value in field_value.
So the result would be:
FIELD_NAME = meal
FIELD_VALUE = pork_chops
FIELD_NAME = beverage
FIELD_VALUE = iced tea
FIELD_NAME = desert
FIELD_VALUE = apple crisp
Thanks in advance.Hi,
try this procedure ....just create it and give the table name..the object M_DATA_TAB has the required data
procedure l_fill_data_dict(p_table_name varchar2) is
connection_id EXEC_SQL.CONNTYPE;
bIsConnected BOOLEAN;
cursorID EXEC_SQL.CURSTYPE;
nIgn PLS_INTEGER;
m_val VARCHAR2(40);
m_col_name varchar2(40);
m_col_val varchar2(240);
m_cnt number;
m_id number := 0;
m_incr number := 0;
p_sqlstr varchar2(4000);
p_sql_cnt varchar2(4000) ;
p_org_sql varchar2(4000);
TYPE DATA_DEFINITION_TABS IS RECORD (
FIELD_NAME VARCHAR2(32),
FIELD_VALUE VARCHAR2(240));
TYPE DATA_DEFINITION_TAB IS TABLE OF DATA_DEFINITION_TABS;
M_DATA_TAB DATA_DEFINITION_TAB := DATA_DEFINITION_TAB();
--m_file text_io.file_type;
Begin
-- m_file := text_io.fopen('c:\eg.txt','w');
--Set default connection
connection_id := EXEC_SQL.DEFAULT_CONNECTION;
bIsConnected := EXEC_SQL.IS_CONNECTED;
IF bIsConnected = FALSE THEN
message('Connection Failed');
RETURN;
END IF;
--Find the total no.of columns in the given table
p_sql_cnt := 'Select COUNT(column_name) from user_tab_columns where table_name='''||p_table_name||''' order by column_id';
cursorID := EXEC_SQL.OPEN_CURSOR;
EXEC_SQL.PARSE(cursorID, p_sql_cnt, exec_sql.V7);
EXEC_SQL.DEFINE_COLUMN(cursorID, 1, m_val,40);
nIgn := EXEC_SQL.EXECUTE(cursorID);
IF (EXEC_SQL.FETCH_ROWS(cursorID) > 0) THEN
EXEC_SQL.COLUMN_VALUE(cursorID, 1, m_val);
end if;
EXEC_SQL.CLOSE_CURSOR(cursorID);
--EXEC_SQL.CLOSE_CONNECTION;
m_cnt := m_val;---column count
---get the column names from the user_Tab_columns and fetch the values from the given table for that column...
For i in 1..m_cnt loop
m_id := m_id+1;
p_sqlstr := 'Select column_name from user_tab_columns where table_name='''||p_table_name||''' and column_id ='||m_id||' order by column_id';
cursorID := EXEC_SQL.OPEN_CURSOR;
EXEC_SQL.PARSE(cursorID, p_sqlstr, exec_sql.V7);
EXEC_SQL.DEFINE_COLUMN(cursorID, 1, m_col_name,40);
nIgn := EXEC_SQL.EXECUTE(cursorID);
IF (EXEC_SQL.FETCH_ROWS(cursorID) > 0) THEN
EXEC_SQL.COLUMN_VALUE(cursorID, 1, m_col_name);
end if;
EXEC_SQL.CLOSE_CURSOR(cursorID);
--fetch the column value from the given table
p_org_sql := 'select DISTINCT '||m_col_name||' from '||p_table_name;
cursorID := EXEC_SQL.OPEN_CURSOR;
EXEC_SQL.PARSE(cursorID, p_org_sql, exec_sql.V7);
EXEC_SQL.DEFINE_COLUMN(cursorID, 1, m_col_val,240);
nIgn := EXEC_SQL.EXECUTE(cursorID);
Loop
nIgn := EXEC_SQL.FETCH_ROWS(cursorID);
IF (nIgn > 0) THEN
EXEC_SQL.COLUMN_VALUE(connection_id, cursorID, 1, m_col_val);
M_DATA_TAB.extend();
M_DATA_TAB(M_DATA_TAB.last).field_name := m_col_name;
M_DATA_TAB(M_DATA_TAB.last).FIELD_VALUE := m_col_val;
m_incr := m_incr+1;
-- text_io.put_line(m_file,m_col_name||'##'||m_col_val);
else
exit;
End if;
End loop;--loop of records in the table for the given column
EXEC_SQL.CLOSE_CURSOR(cursorID);
End loop; ---loop of columns in the table
--text_io.fclose(m_file);
message('Total no. of items in the object='||m_incr);
EXEC_SQL.CLOSE_CONNECTION;
EXCEPTION
When EXEC_SQL.Invalid_Connection then
message('invalid connection');
when EXEC_SQL.Package_Error then
message('pkg err');
when EXEC_SQL.Invalid_Column_Number then
message('invalid col num defined');
when others then
MESSAGE(SQLERRM);
End;
Regards
Dora
Edited by: Dora on Sep 27, 2009 3:13 PM -
Restriction for tag name and column name
It seems that the XML tag name has to be the same as the
corresponging column name when using xmlgen.insertXML. Is there
any plan to relax this restriction?
nullYes, tag names have to be the same as the corresponding column
names. That is the how we can figure out which tag/element
should be loaded into which column. This seems to be the simples
and the cleanest way of mapping tags to columns. Nevertheless, we
are open to suggestions.
Also, keep in mind that you can use XSLT to do all sorts of
transformation (including tag name transformations) to your XML
document, before inserting it into the database. This might
solve your problem.
B Lou (guest) wrote:
: It seems that the XML tag name has to be the same as the
: corresponging column name when using xmlgen.insertXML. Is there
: any plan to relax this restriction?
Oracle Technology Network
http://technet.oracle.com
null
Maybe you are looking for
-
Perhaps most of you already know this, but for those who don't... Open Windows Media Center --> Tasks --> Settings --> TV --> Recorder --> Recorder Storage and adjust your storage location settings. You can also adjust the recording quality so you ha
-
Cash Sale 106 has been saved (no delivery created)
Dear Team, while Saving the Cash Order i am facing a error called Cash Sale 106 has been saved (no delivery created) and also when i check the pricing In pricinh Condition value is also showing 0 Can u help me out Regards VP
-
I have a created a JSP page with the purpose of displaying on a mobile device. In the provider.xml page and I have put content type for both html as well as for mobile XML. When I view the page in the browser, it works fine, however when I click the
-
My son has a habit of disabling the "Require password after sleep or screen saver begins" setting whenever my wife lets him play a game on her account. I notice every other setting on the "Security & Privacy -> General" tab is protected by the lock
-
WLS6.1 SP2 - Sorting JMS messages by priority fails to work
I have an app that uses a QueueSender to send messages of various priorities, 5 and 9: queueSender.send(myMessage, DeliveryMode.PERSISTENT, myMessagePriority, Message.DEFAULT_TIME_TO_LIVE); I have configured a