Allow to include sections of other parts of the xml documentation.
authorEliel C. Sardanons <eliels@gmail.com>
Sat, 16 May 2009 20:01:22 +0000 (20:01 +0000)
committerEliel C. Sardanons <eliels@gmail.com>
Sat, 16 May 2009 20:01:22 +0000 (20:01 +0000)
commit2f996a3ab48899f7ede64028f34d49ce89fc0f48
treee4e44b28cc5c02310a85a4e52bffe52daa92c1b0
parent766972a3cd8262fb06438c2363a0068472b9b627
Allow to include sections of other parts of the xml documentation.

Avoid duplicating xml documentation by allowing to include other parts of
the xml documentation using XInclude.
Example:
   <xi:include xpointer="xpointer(/docs/function[@name='CHANNEL']/synopsis)" />
(Insert this line to include the synopsis of the CHANNEL function xml
documentation).

It is also possible to include documentation from other files in the
'documentation/' directory using the href="" attribute inside a xinclude
element.

(closes issue #15107)
Reported by: lmadsen

(issue #14444)
Reported by: ewieling

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@194982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Makefile
doc/appdocsxml.dtd
main/xml.c