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

Reply via email to