all groups > dotnet xml > july 2007 >
You're in the

dotnet xml

group:

tag position


tag position sam
7/22/2007 12:00:00 AM
dotnet xml:
I need to know a way for knowing tag position in a xml like this:

<AAA>
<BBB>
<CCC>
<DDD_1/>
<DDD_2/>
<DDD_3/>
</CCC>
<BBB/>
</AAA>
I need to get that AAA = 1, BBB=2,CCC=3,
DDD_1=4, DDD_2=4,DDD_3=4

thanks for help.
Sam


Re: tag position sam
7/22/2007 12:00:00 AM
Excuse me it was sent twice.
sam
"sam" <none@none.fr> a écrit dans le message de news:
e0nrW$CzHHA.3768@TK2MSFTNGP06.phx.gbl...
[quoted text, click to view]

RE: tag position Mischa
7/26/2007 10:50:01 AM
Sam,

How and when do you need to retrieve the numbering? Is it as part of an Xsl
transformation or is it when you read the content of an Xml file
AddThis Social Bookmark Button