Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamic Table from XML DataSource.
SiddamS
Hi,
I have a DataSource as follows :-
==========================================
<custom-background-portlet>
<portlet-title>Associate Profile - Education</portlet-title>
<bgd-header>
<bgd-label0>Name of School</bgd-label0>
<bgd-label1>Location</bgd-label1>
<bgd-label2>Major</bgd-label2>
<bgd-label3>Start Date</bgd-label3>
<bgd-label4>End Date</bgd-label4>
<bgd-label5>Degree/Diploma</bgd-label5>
</bgd-header>
<bgd-rows>
<bgd-row>
<bgd-col0>Indiana University of Pennsylvania</bgd-col0>
<bgd-col1>Indiana, Pennsylvania</bgd-col1>
<bgd-col2>Psychology</bgd-col2>
<bgd-col3>09/01/1994</bgd-col3>
<bgd-col4>05/01/1998</bgd-col4>
<bgd-col5>BA</bgd-col5>
</bgd-row>
<bgd-row>
<bgd-col0>Indiana University of Pennsylvania</bgd-col0>
<bgd-col1>Indiana, Pennsylvania</bgd-col1>
<bgd-col2>Other</bgd-col2>
<bgd-col3>09/01/1998</bgd-col3>
<bgd-col4>08/01/1999</bgd-col4>
<bgd-col5>MA</bgd-col5>
</bgd-row>
<bgd-row>
<bgd-col0>Georgetown University</bgd-col0>
<bgd-col1>Washington, DC</bgd-col1>
<bgd-col2>Business</bgd-col2>
<bgd-col3>08/01/2008</bgd-col3>
<bgd-col4>04/01/2010</bgd-col4>
<bgd-col5>MBA</bgd-col5>
</bgd-row>
</bgd-rows>
</custom-background-portlet>
=============================================
I need to create a Table as "bgd-label"s as Coloumn Headers and "bgd-col0,1,2,3,4,5" as Coloumn Data.
I already have knowledge on Creation of static Table with this Data Source.In My requirement I need to create it as Dynamic.
Could anyone plase help to me.
Thanks and Regards
Swetha.
Find more posts tagged with
Comments
mwilliams
Hi Swetha,
Are you able to dynamically pull in the data?
SiddamS
No Michael...............
I dont know how to reterive the overall data from XML Source...........
Could you please help to me.......
Thanks and Regards
Swetha.
mwilliams
Swetha,
I'm not sure if you can dynamically grab all the columns in the XML with them being named col0, col1, etc. I'll have to look into it to see if there's a way.
SiddamS
ok Michael,
Could you please check can we read overall data from XML and please Let me know....
Thanks and Regards
Swetha.
mwilliams
Swetha,
Row data can be dynamic, but columns will not be able to be dynamic. Do you not have a maximum number of column possiblities that you could have mapped out?