Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Displayig XML Displayig XMLTo: 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> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
