docbook-apps

  • 1.  Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 15:01
    Is there a Docbook XML editor which enforces the Docbook schema during editing?

    I am looking for an editor which loads the Docbook XML schema and then
    only allows the creation of tags which are allowed at the current
    position in the XML document.

    Dan



  • 2.  Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 15:04
    On 15/01/15 10:01 AM, Dan Shelton wrote:
    > Is there a Docbook XML editor which enforces the Docbook schema during editing?
    >
    > I am looking for an editor which loads the Docbook XML schema and then
    > only allows the creation of tags which are allowed at the current
    > position in the XML document.

    My favourite one is XMLMind's XXE: http://www.xmlmind.com/xmleditor/

    FWIW,
    Stefan


    --

    ...ich hab' noch einen Koffer in Berlin...




  • 3.  Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 15:14
    On 15 January 2015 at 16:04, Stefan Seefeld <stefan@seefeld.name> wrote:
    > On 15/01/15 10:01 AM, Dan Shelton wrote:
    >> Is there a Docbook XML editor which enforces the Docbook schema during editing?
    >>
    >> I am looking for an editor which loads the Docbook XML schema and then
    >> only allows the creation of tags which are allowed at the current
    >> position in the XML document.
    >
    > My favourite one is XMLMind's XXE: http://www.xmlmind.com/xmleditor/
    >

    OK, but is there an opensource version which doesn't rely on java?

    Dan



  • 4.  Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 15:19
    On 15/01/15 10:13 AM, Dan Shelton wrote:
    > On 15 January 2015 at 16:04, Stefan Seefeld <stefan@seefeld.name> wrote:
    >> On 15/01/15 10:01 AM, Dan Shelton wrote:
    >>> Is there a Docbook XML editor which enforces the Docbook schema during editing?
    >>>
    >>> I am looking for an editor which loads the Docbook XML schema and then
    >>> only allows the creation of tags which are allowed at the current
    >>> position in the XML document.
    >> My favourite one is XMLMind's XXE: http://www.xmlmind.com/xmleditor/
    >>
    > OK, but is there an opensource version which doesn't rely on java?

    I'm not aware o any Free XML editor that is comes close to what I would
    expect any XML editor worth its name to be able to do. I regularly look
    for alternatives (myself preferring Free Software if possible), but
    always come back disappointed.
    http://en.wikipedia.org/wiki/Comparison_of_XML_editors gives you an
    overview.
    (Additional constraints such as "no java" reduce your chances even
    further...)

    Stefan

    --

    ...ich hab' noch einen Koffer in Berlin...




  • 5.  Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 15:12
    On Thu, 15 Jan 2015, Dan Shelton wrote:

    +--
    | Is there a Docbook XML editor which enforces the Docbook
    | schema during editing?
    |
    | I am looking for an editor which loads the Docbook XML schema and then
    | only allows the creation of tags which are allowed at the current
    | position in the XML document.
    +--

    This emacs mode does all that. I use it all day every day:

    http://www.nmt.edu/~shipman/doc/nxml/

    Best regards,
    John Shipman, Web Developer, National Radio Astronomy Observatories;
    john@nmt.edu, http://www.nmt.edu/~shipman/



  • 6.  Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 19:25
    I'd like to reiterate the Emacs mention. I’m not a very big Emacs guy, but I did use it during some heavy XML editing, and I configured it using one of the more featureful XML modes, which I believe was nxml. While obtuse to a non-Emacsen, it’s very powerful, and you gain the benefits of the full emacs capability, which I find lacking in most other XML editors. It’s the closest thing I’ve reached to a proper full-featured editor that actually makes my workflow easier, rather than harder.






    --
    Aaron W. Hsu | arcfide@sacrideo.us | http://www.sacrideo.us
    Please support my work: https://www.gratipay.com/arcfide/
    ???? ????????? ???????? ?????? ?????? ??????????? ???????? ??????????





    From: John W. Shipman
    Sent: ?Thursday?, ?January? ?15?, ?2015 ?10?:?12? ?AM
    To: Dan Shelton
    Cc: DocBook Apps, docbook@lists.oasis-open.org





    On Thu, 15 Jan 2015, Dan Shelton wrote:

    +--
    | Is there a Docbook XML editor which enforces the Docbook
    | schema during editing?
    |
    | I am looking for an editor which loads the Docbook XML schema and then
    | only allows the creation of tags which are allowed at the current
    | position in the XML document.
    +--

    This emacs mode does all that. I use it all day every day:

    http://www.nmt.edu/~shipman/doc/nxml/

    Best regards,
    John Shipman, Web Developer, National Radio Astronomy Observatories;
    john@nmt.edu, http://www.nmt.edu/~shipman/

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org


  • 7.  Re: [docbook-apps] Restrictive Docbook XML editor which enforces Docbook schema?

    Posted 01-15-2015 15:18
    Hello,

    IDEs like Eclipse and IntelliJ IDEA don’t quite prevent you from inserting the wrong element or attribute, but once you’ve fetched the XSD they help with tag completion and also immediately flag invalid markup (in red text for example). Both those IDEs let you run validation, making it straightforward to find markup errors.

    Of course both IDEs have you edit text. Neither have WYSIWYG capabilities as far as I know.

    Regards,
    Mark

    > On 15 Jan 2015, at 16:01, Dan Shelton <dan.f.shelton@gmail.com> wrote:
    >
    > Is there a Docbook XML editor which enforces the Docbook schema during editing?
    >
    > I am looking for an editor which loads the Docbook XML schema and then
    > only allows the creation of tags which are allowed at the current
    > position in the XML document.
    >
    > Dan
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >