You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by Ivan Habunek <iv...@gmail.com> on 2010/05/04 10:48:24 UTC
Doxia snippets and XML
Hi!
While working on the documentation, I came across a problem with
including XML snippets via APT.
This is the file from which the snippet is taken (appender_echo.xml):
http://pastebin.com/CidGqScw
And in appenders.apt, I'm linking this file with the following line:
%{snippet|id=doxia|file=src/examples/resources/appender_echo.xml}
However, all I'm getting when I generate the site is an empty box,
without any content.
There is only one place in the current log4php documentation where an
XML snippet is used, at the very bottom of the Filters page
(http://logging.apache.org/log4php/docs/appender-filter.html). There,
the content is also missing. However, the example in question
(filter_stringmatch.xml) is also missing the SNIPPET START and END
comments specified in the maven documentation
(http://maven.apache.org/guides/mini/guide-snippet-macro.html).
Does anybody know how to get XML snippets to work?
Regards,
Ivan
Re: Doxia snippets and XML
Posted by Christian Grobmeier <gr...@gmail.com>.
Sorry I don't have a clue about that. I think it was Christian Hammers
who brought this in.
Christian - could you comment if possible?
On Tue, May 4, 2010 at 10:48 AM, Ivan Habunek <iv...@gmail.com> wrote:
> Hi!
>
> While working on the documentation, I came across a problem with
> including XML snippets via APT.
>
> This is the file from which the snippet is taken (appender_echo.xml):
> http://pastebin.com/CidGqScw
>
> And in appenders.apt, I'm linking this file with the following line:
> %{snippet|id=doxia|file=src/examples/resources/appender_echo.xml}
>
> However, all I'm getting when I generate the site is an empty box,
> without any content.
>
> There is only one place in the current log4php documentation where an
> XML snippet is used, at the very bottom of the Filters page
> (http://logging.apache.org/log4php/docs/appender-filter.html). There,
> the content is also missing. However, the example in question
> (filter_stringmatch.xml) is also missing the SNIPPET START and END
> comments specified in the maven documentation
> (http://maven.apache.org/guides/mini/guide-snippet-macro.html).
>
> Does anybody know how to get XML snippets to work?
>
> Regards,
> Ivan
>