XInclude support may be a bit weak there but I found a processor that would map stream to
stream (
https://github.com/etourdot/xincproc).
In any case, for attachments, one would also wish base64 encoding (so that files are...
erm... files!) which is not in XInclude so would need a (non-standardized) extension.
The current state is a pretty much done core and most
of the API and a
started XAR output module (document/attachment part is pretty much
done, still need to work on generic events for xclass/xobjects). See
https://github.com/xwiki-contrib/wiki-stream.
Will this include an uploader for a single xml file (and its inclusions) into a remote
wiki?
That would be the really useful thing that is often breaking for me (I have a command-line
uploader but it seems to create fuss recently).
It would probably be better to forget about Package
class and look
directly at wiki stream.
Can you give a little "handbook" for the case of:
- producing a xar from a set of xml sources
- uploading a set of xml files
?
Thanks in advance.
Paul