1 Oct 2008 17:04
Re: optional sections in XML? any xml experts?
Am Freitag, den 26.09.2008, 17:36 +0200 schrieb Olivier Sessink: > Hi all, > > the new editor widget is capable of handling syntax highlighting and > code-completion for thousands of tag-names and attributes (html and xml) > or function-names (C, PHP, GTK). > > However: this will use more memory. > > Some users might want to have all PHP functions in the PHP patterns. > Others (I do!) want to have all gtk functions in the C patterns. > > What I would like to do is to make this optional: a user can decide to > have a very small C language pattern, or one with all GTK functions, or > anything else. > > But what is an appropriate XML representation for such optional > sections? A class attribute? > And is there XML technology (XSLT?) that might help to > automatically remove the unwanted sections? XPath I guess, if you use classes. I don't think, you need XSLT to transform the XML file first. > I'm not really a XML expert, so any advice is welcome. HTH and regards, Daniel(Continue reading)
RSS Feed