Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
3.50/5 (3 votes)
See more:
hi to all,
I am creating a XML Editor. In this Editor I want to Achieve the intellisense Concept as the other editors are having.

The Detailed Description is as follow:
I am having a rich textbox whenever user type something the intellisense must be appear.
like this :

whenever XML Element starts like.. <student
and user="" press="" the="" space="" corresponding="" attribute="" must="" be="" display="" if="" node="" having="" .="" and="" not="" then="" nothing="" has="" to="" display.="" when="" close="" element="" childnodes="" or="" value="" display...........="" means="" on="" basis="" of="" typed="" text="" i="" have="" generate="" list.

<u="">My Issue:
To know Which element is having attribute and what are they and all information about that element. I am thinking about to take support of External DTD.

But I am not Having any Idea about it that how I can do this.... Like Reading DTD information and all........

Please if Any body is having any idea about it ; reply as early as possible.

If my requirement is not clear ; please let me know.....


Regards,
Adarsh
Posted

1 solution

Can you give particular example for which you need attribute information to be shown in intellisense.

What I understand by xml is, generally it contains custom tags (which contains attributes also custom).
 
Share this answer
 
Comments
Adarsh_Pandey 20-May-10 1:43am    
Thanks for your help friend... but I have resolved the issue.... thanks again.... and keep continuing answering.

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