Search the web
Sign In
New User? Sign Up
emacs-nxml-mode · New XML Mode for Emacs
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
nxml-mode, docbook, xinclude   Message List  
Reply | Forward Message #1948 of 1984 |
Re: [emacs-nxml-mode] Re: nxml-mode, docbook, xinclude

2009/8/7 Lennart Borgman <lennart.borgman@...>:

>> The question was about docbook?
>> I don't think even your nxml-mode includes that (nor should it?)
>
>
> It is included in the nxml-mode that comes with Emacs 23.
>
>
>> docbook is available from sourceforge. With the schema
>> for v5, from which the rnc can be added to nxml-mode
>> with no problem.

Then either pick up both versions, 4.5 and 5.0 (and keep
them up to date I guess) or link to where the schemas
can be picked up.




--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



Fri Aug 7, 2009 11:26 am

dpawso
Offline Offline
Send Email Send Email

Forward
Message #1948 of 1984 |
Expand Messages Author Sort by Date

Hi, I'm using nxml-mode to validate my Docbook and so on as I write, but I've hit a small annoyance. In my current document I'm using XInclude to bring in...
rossburton42
Offline Send Email
Jun 9, 2008
3:02 pm

... Not really. I use it by having a top level (book or article) which is nearly empty, and uses xinclude. Then I write chapters (or sections) which validate...
Dave Pawson
dpawso
Offline Send Email
Jun 9, 2008
3:18 pm

... Shame. I'm using it to pull in source code so I don't need two copies, so that approach doesn't really work. Ross...
rossburton42
Offline Send Email
Jun 9, 2008
3:32 pm

... The expanded copy is only used for validation, then dumped. I work on the 'chunks'. It does work. I've written quite a bit of docbook that way. -- Dave...
Dave Pawson
dpawso
Offline Send Email
Jun 9, 2008
3:48 pm

... The only way to do that currently is to modify the Relax NG schema....
Daniel Colascione
dancolascione
Offline Send Email
Jun 9, 2008
3:45 pm

... I've rewritten the Xinclude grammar in nXhtml to conform to the official Xinclude XSD. If this is useful for you can you double check it and maybe add the...
wyuenho
Offline Send Email
Aug 7, 2009
1:47 am

... You should be using the docbook v5 schema. nxml-mode has that as valid. ... Already done by the docbook group at Oasis. regards -- Dave Pawson XSLT XSL-FO...
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
5:07 am

... But that is only included in Emacs 23, not the standalone nxml-mode that Emacs 22 users download....
Lennart Borgman
nlborgman
Offline Send Email
Aug 7, 2009
10:42 am

... The question was about docbook? I don't think even your nxml-mode includes that (nor should it?) docbook is available from sourceforge. With the schema for...
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
10:49 am

... It is included in the nxml-mode that comes with Emacs 23....
Lennart Borgman
nlborgman
Offline Send Email
Aug 7, 2009
11:02 am

... Then either pick up both versions, 4.5 and 5.0 (and keep them up to date I guess) or link to where the schemas can be picked up. -- Dave Pawson XSLT XSL-FO...
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
11:27 am

... Could you please explain how we should handle this in Emacs? (I have added Emacs Devel to the discussion.)...
Lennart Borgman
nlborgman
Offline Send Email
Aug 7, 2009
11:31 am

... Just my point. I don't think this should be an emacs issue If you want docbook schema, html or any other schema the end user should pick up that schema...
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
11:35 am

... Thanks. I see. I really think they should be part of Emacs distribution (as they are now) and wondered whether you have some suggestion regarding Docbook ...
Lennart Borgman
nlborgman
Offline Send Email
Aug 7, 2009
11:39 am

... 4.5 is the current Oasis standard. As I said, either keep up or simply tell people where docbook is. How many schemas are you going to try and manage? ...
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
11:52 am

... It is a very good point to show them where to get the newest version since Emacs and docbook schemas might not always be in sync. I think that should be in...
Lennart Borgman
nlborgman
Offline Send Email
Aug 7, 2009
11:59 am

... http://www.dpawson.co.uk/relaxng/nxml/schemaloc.html#d574e168 Full explanation in the documentation provided with the original nxml-mode from JC -- Dave...
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
12:18 pm

... Thanks. So a doctypePublicId could be used to distinguish different Docbook versions? On the OASIS site I see that they do not distinguish rng files for ...
Lennart Borgman
nlborgman
Offline Send Email
Aug 7, 2009
12:42 pm

... It seems that the xinclude grammar is directly merged into the docbook grammar. But xinclude is meant to be general purpose, how do people validate other...
wyuenho
Offline Send Email
Aug 7, 2009
5:17 pm

... It is. It is also an xml namespaced element like any other? Hence it needs to be declared in the schema for the instance you're generating using nxml-mode....
Dave Pawson
dpawso
Offline Send Email
Aug 7, 2009
6:15 pm

... You could use the DocBook RELAX NG grammar that includes XInclude :-) ... You can probably do that with NVDL, but not in nxml-mode. Be seeing you, norm -- ...
Norman Walsh
normwalsh
Online Now Send Email
Jun 11, 2008
1:33 pm

... As expressed in a DOCTYPE declaration of a document? Yes, it can. I've used that a lot for legacy formats. You can also match on the document element...
Steinar Bang
sb@...
Send Email
Aug 23, 2009
6:22 pm

Thanks Steinar, I will look at this more later....
Lennart Borgman
nlborgman
Offline Send Email
Aug 23, 2009
10:48 pm

... This might be more appropriate on the docbook-apps mailing list? Certainly for the schema related questions. regards -- Dave Pawson XSLT XSL-FO FAQ. ...
Dave Pawson
dpawso
Offline Send Email
Aug 24, 2009
4:46 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help