Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Displayig XML

From: "HSalim[MVP]" <HSalim@---.--->
To: NULL
Date: 8/4/2007 10:24:00 PM

Hi,
I'm using a DevExpress XtraGrid in VS2005 to display my XML document.(see 
sample doc below)
problem is the grid dispalys a lot of empty nodes.

I want just those nodes that have data - From the example below, i want to 
display
only these nodes
<eConnectRMTrxNotes>
<taRMDistribution> but not <taRMDistribution_Items>
 <taAnalyticsDistribution>
  <taRMTransaction>
   How can I suppress the "empty" nodes?

Thanks in advance for your help.

Habib




--------------------------
- <eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <RMTransactionType>
- <eConnectProcessInfo>
  <ConnectionString>Provider=SQLOLEDB;Data Source=myserver;Integrated 
Security=SSPI;Initial Catalog=mydb</ConnectionString>
  <eConnectProcsRunFirst>True</eConnectProcsRunFirst>
  </eConnectProcessInfo>
  <taRequesterTrxDisabler_Items xsi:nil="true" />
- <eConnectRMTrxNotes>
  <RMDTYPAL>7</RMDTYPAL>
  <CUSTNMBR>1000</CUSTNMBR>
  <DOCNUMBR>1111441_805073</DOCNUMBR>
  <BACHNUMB>TEST</BACHNUMB>
  <NOTETEXT>john, doe/DOB:Nov 30 2000/ADJ: xxxxxxxxxxxx</NOTETEXT>
  </eConnectRMTrxNotes>
  <taUpdateCreateCustomerRcd xsi:nil="true" />
  <taCreateCustomerAddress_Items xsi:nil="true" />
  <taRMCommissions_Items xsi:nil="true" />
  <taRMTransactionTaxInsert_Items xsi:nil="true" />
- <taRMDistribution_Items>
- <taRMDistribution>
  <RMDTYPAL>7</RMDTYPAL>
  <DOCNUMBR>1111441_805073</DOCNUMBR>
  <CUSTNMBR>1000</CUSTNMBR>
  <DISTTYPE>19</DISTTYPE>
  <ACTNUMST>201-3014</ACTNUMST>
  <DEBITAMT>52.0000</DEBITAMT>
  </taRMDistribution>
- <taRMDistribution>
  <RMDTYPAL>7</RMDTYPAL>
  <DOCNUMBR>1111441_805073</DOCNUMBR>
  <CUSTNMBR>1000</CUSTNMBR>
  <DISTTYPE>3</DISTTYPE>
  <ACTNUMST>300-1200</ACTNUMST>
  <CRDTAMNT>52.0000</CRDTAMNT>
  </taRMDistribution>
  </taRMDistribution_Items>
- <taAnalyticsDistribution_Items>
- <taAnalyticsDistribution>
  <DOCNMBR>1111441_805073</DOCNMBR>
  <DOCTYPE>7</DOCTYPE>
  <aaAssignedPercent>100</aaAssignedPercent>
  <ACTNUMST>201-3014</ACTNUMST>
  <aaTrxDim>MARKETSEGMENT</aaTrxDim>
  <aaTrxDimCode>2</aaTrxDimCode>
  </taAnalyticsDistribution>
  </taAnalyticsDistribution_Items>
- <taRMTransaction>
  <RMDTYPAL>7</RMDTYPAL>
  <DOCNUMBR>1111441_805073</DOCNUMBR>
  <DOCDATE>6/5/2007</DOCDATE>
  <BACHNUMB>TEST</BACHNUMB>
  <CUSTNMBR>1000</CUSTNMBR>
  <DOCAMNT>52.0000</DOCAMNT>
  <SLSAMNT>52.0000</SLSAMNT>
  <DOCDESCR>FL-006550</DOCDESCR>
  <SALSTERR>201</SALSTERR>
  <CSTPONBR>00-14000225</CSTPONBR>
  <CREATEDIST>0</CREATEDIST>
  </taRMTransaction>
  <taMdaUpdate_Items xsi:nil="true" />
  </RMTransactionType>
  </eConnect>




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent