Finding schema files...
2010-08-27 16:50:38 GMT
Well, like most XML tools, nxml-mode seems to be "oversized".
Basically, I don't want to place my schema files on a webserver. Why should I? And how do I guarantee they stay
current? xmllint, on the other hand, didn't even accept "file://..." --- luckily, it has a command line
option, although putting the path into the XML would have been nice.
nxml doesn't even allow any specs inside the XML file; instead it's using some obscure repository. Same as
before, I don't want my schema files to be installed on the system (it would have to be symlinks back into my
working copy anyway, but unfortuntely someone other than me checking out the stuff won't be getting
this). I don't even want to add "pointers" into my working copies into some private configuration file of
me. I just want to associate an XML file with a schema file, nothing more. I don't even want to "search" for
the schema file --- I know where it is! Believe it or not, I just happen to know the layout of my source repository.
Is there any way to stick something into an XML file that makes emacs or nxml use the correct schema file, a
SIMPLE file path? Even if it's an elisp fragment that needs to be installed so emacs reads a line like <!--
XMLSchema: ../../Schema/Data/foo.rnc --> and does the right thing? Of course, it would be nicer if
nothing had to be done to make it work.
Or am I really the only one using XML for stuff that's not some obscure worldwide distributed collection of
magic processing rules, pulling datatypes from asia into rules from china to determine how to process
documents assembled from france and italy with an encoding table from russia?
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
(Continue reading)
RSS Feed