i want to tag the " book index" like
the " book index" like
-----------------------------------------------------------------------------------------------------------
INDEX
AC (Advance Audio Coding), 5, 15
Automated Self-Optimization of Cellular Networks, 144
Automatic frequency planning. See AFP
Automatic neighbor relation. See ANR
Backup service coverage, 193–4, 196
BAL (BCCH Allocation List), 114, 213
Balancing, 23, 25, 43, 115, 156, 169, 173, 175, 184, 186–91, 217
techniques, 188, 250, 255
differential, 233–4, 236, 243, 248, 251
procedure, 76, 177–8
requests, 171–2
Band, 11–13, 99, 191–3, 213Bandwidth, 8, 13, 81, 94, 97–8, 100, 181–2
------------------------------------------------------------------------------------------
i just want to find the indent level using c# coding, also i want tag the index like this
the first grouping end with enter mark. i want group the index using their indent level, pleaseguide me to do this process please
Javeed M ShaikhPosted Oct 19, 2011, 8:34 PM
Mahesh ChandPosted Oct 19, 2011, 7:01 PM
Sam HobbsPosted Oct 19, 2011, 5:43 PM
I am sorry, but I do not understand the question. What do you need help with? Do you need help reading the file or writing it or do you need help designing it or something else?
Javeed M ShaikhPosted Oct 19, 2011, 10:21 AM
please try the following when generating your XML file:
XmlTextWriter writer = new XmlTextWriter("myxmlfile.xml",null);
writer.Formatting = Formatting.Indented;
Please do not forget to mark "Accepted Answer".