docbook-apps

  • 1.  xml:id xl:href namespace declarations

    Posted 09-02-2006 08:56
    Is it wrong to use these attributes in a DocBook 5 document when I
    haven't declared these namespaces? The DocBook schema references the
    namespaces, but oXygen plays dumb on content completion from them
    unless I add the namespaces to the source.


    Like so:
    <chapter xml:id="blahblah"
    xmlns="http://docbook.org/ns/docbook"
    xmlns:xl="http://www.w3.org/1999/xlink"
    xmlns:xml="http://www.w3.org/XML/1998/namespace"
    version="5">

    --
    http://chris.chiasson.name/



  • 2.  RE: [docbook-apps] xml:id xl:href namespace declarations

    Posted 09-03-2006 16:59
    >


  • 3.  Re: [docbook-apps] xml:id xl:href namespace declarations

    Posted 09-04-2006 06:29
    oXygen offers all the attributes on content completion, but the
    association between the document and the DocBook schema is done probably
    based on the root element namespace, so if you do not declare the
    DocBook namespace you get no proposals. Once you add the
    xmlns="http://docbook.org/ns/docbook" namespace declaration you should
    be able to see all the attributes, including the xml:* and the ones from
    the XLink namespace - the later will be inserted by oXygen content
    completion together with a namespace declaration. oXygen does not
    require a declaration for the XML namespace.

    Best Regards,
    George
    ---------------------------------------------------------------------
    George Cristian Bina
    <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
    http://www.oxygenxml.com


    Mauritz Jeanson wrote:
    >>