Altio Community Forums  
September 03, 2010, 11:43:27 PM
News: SMF - Just Installed!
 
   Home   Help Search  


  Note: The Altio Forums have been archived. Please send an email to support@altio.com and we will help you with any issues you may have.

Pages: [1]
  Print  
Author Topic: Mearging tow xml in single list  (Read 1102 times)
mirajgodha
Newbie
*
Posts: 6

mirajgodha
View Profile Email
« on: April 27, 2007, 06:40:28 AM »

Hi, I have tow XML like this:
XML 1:
<DisplayValues>  
   <DisplayValuesRow QUERY_CNTRL_NM="trxnTransactionDateFromDPk" filterDisplayValue="Transaction Date"/>
</DisplayValues>
XML2:
<QueryParams>
  <QueryParamsRow QUERY_CNTRL_NM="trxnTransactionDateFromDPk" QUERY_CNTRL_VAL="12"/>
<QueryParams/>

Resultant List Required:
---------------------------------------
filterDisplayValue   ---  QUERY_CNTRL_VAL
---------------------------------------
Transaction Date     ---     12
----------------------------------------

   
Now i have to make a list using these tow xml's. I want to have tow columns in list: One is pointing to /DisplayValues/DisplayValuesRow@filterDisplayValue
Second column pointing to: /QueryParams/QueryParamsRow@QUERY_CNTRL_VAL

Now the problem is how to give condition in dataSource of list(or list columns) on the basis of 'QUERY_CNTRL_NM', i.e. the filterDisplayValue and QUERY_CNTRL_VAL columns of list should mapped on the basis of 'QUERY_CNTRL_NM'attribute of both XML's.

Regards,
Miraj
Logged

Regards,
Miraj
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!