Click here to Skip to main content
15,879,535 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to select the nodes using some conditions in treeview from xml
Sample XML Code is:
XML
<w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" w:cs="Times New Roman" w:eastAsia="Times New Roman" />
 <w:b />
 <w:caps w:val="true" />
 <w:color w:val="auto" />
 <w:spacing w:val="0" />
 <w:position w:val="0" />
 <w:sz w:val="28" />
 <w:shd w:fill="auto" w:val="clear" />
 </w:rPr>
 <w:t xml:space="preserve">Learning Objectives</w:t>
 </w:r>


in that i want to extract "Learning objectives" but matching the font style and size.Any One can help me.Please reply me very urgent.

Thanks & Regards,
G.Mariappan
Posted
Comments
BillWoodruff 12-Nov-13 9:24am    
Please clarify your question: what exactly do you mean by "extract" ?

Do you have a WinForm TreeView which is bound to an XML data source ?
G.Mariappan(a)Murugan 12-Nov-13 9:38am    
Hi Billwoodruff,Thanks for ur reply..
i am loading xml to winform treeview, input xml file is like what i mentioned above ,in that i need to group the tags as font and their size,then i need to extract from the tag <w:t>
BillWoodruff 12-Nov-13 10:40am    
Sorry, I'm having a little trouble understanding what you are doing.

Are you able to create/load the TreeView now ? Is all the information in the TreeView that you need/expect: if not, what's missing ?

It would be helpful to know what the nodes in your TreeView looked like when it was in the form you wish it to have.
G.Mariappan(a)Murugan 14-Nov-13 7:12am    
Thanks for reply

Actually I read the xml and load it into treeview. In that above XML tag I filter to extract the "LEARNING OBJECTIVE" using <w:rfonts font="" tag="" and="" <w:sz="" w:val="28">. Now I finish that.

Thanks you very much for your reply Billwoodruff

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900