OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] xml:id xl:href namespace declarations


I probably broke it somehow, as with the problem Sorin solved where
xincludes were working, but the URIs weren't following xml base. I'll
look into it later since it isn't a deal-breaker.
Peace,

On 9/5/06, George Cristian Bina <george@oxygenxml.com> wrote:
> Hi Chris,
>
> I get the xml:id attribute, make sure it is not already entered, in that
> case oXygen will not present it again.
>
> Best Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> http://www.oxygenxml.com
>
>
> Chris Chiasson wrote:
> > it's strange though - it offerse some xml:* attributes, but not xml:id
> > (???)
> >
> > On 9/4/06, George Cristian Bina <george@oxygenxml.com> wrote:
> >> 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:
> >> >> -----Original Message-----
> >> >> From: chris.chiasson@gmail.com
> >> >> 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">
> >> >
> >> >
> >> > It should not be necessary to declare the namespace with the 'xml:'
> >> prefix
> >> > anywhere (since it is a special predeclared prefix). So the xml:id
> >> behaviour
> >> > seems like a Oxygen quirk.
> >> >
> >> > The XLink namespace must always be declared if you want to use it.
> >> >
> >> > /MJ
> >> >
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> >> > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
> >> >
> >>
> >
> >
>


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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]