XML编辑器Intellisense [英] XML Editor Intellisense

查看:85
本文介绍了XML编辑器Intellisense的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在创建一个XML编辑器.在这个编辑器中,我想实现其他编辑器所具有的智能感知概念.

详细说明如下:
每当用户键入必须出现智能提示的内容时,我都有一个丰富的文本框.
像这样:

每当XML元素开始时..< student
和user =" press =" the =" space ="相应=" attribute =" must =" be =" display =" if =" node ="具有=". ="=" and =" not =" then =" none ="=" has =" to =" display.=" when =" close =" element =" childnodes =" or = " value =" display ........... ="意味着=" on =" base =" of =" typed =" text =" i ="有=" generate ="列表.

< u =">我的问题:
知道哪个元素具有属性以及它们是什么以及有关该元素的所有信息.我正在考虑获得外部DTD的支持.

但是我对此一无所知……如何读取DTD信息等等……..

如果有人对它有任何想法的话,请请;尽快回复.

如果我的要求不清楚;请让我知道.....


问候,
Adarsh

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

推荐答案

能否举一个需要在智能感知中显示属性信息的特定示例.

我对xml的理解是,通常它包含自定义标签(其中也包含自定义属性).
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).


这篇关于XML编辑器Intellisense的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆