Hi,
Chris Curran kindly gave me a script today that will automatically
generate xi include directives, as used by publican in the
[book_name].xml file. I found this was good for getting existing docs
ready for publican. The script can be found at
http://fedoraproject.org/wiki/MurrayMcAllister
If you can't wait, it is also here:
#!/bin/sh
for i in $( ls ); do
if [[ "$i" == *.xml ]];
then
echo -en "\074xi\072include href=\042"
echo -n $i
echo -e "\042
xmlns\072xi\075\042http\072\057\057www\056w3\056org\00572001\057XInclude\042
\057\076"
fi
done
Thanks Chris!
Kind Regards,
Murray.
---------------------------------------------------------------------
pub 1024D/81B3FDEB 2007-09-19 [expires: 2008-09-18]
Key fingerprint = 4ED9 9907 5BF0 4132 2B46 20D1 C0C6 362D 81B3 FDEB
Murray McAllister (Fedora Docs Project / mdious) <murray.mcallister(a)gmail.com>
sub 2048g/B04CFA0C 2007-09-19 [expires: 2008-09-18]