XML/XSL

Dan Nicholson dbn.lists at gmail.com
Fri Sep 15 12:06:13 PDT 2006


On 9/15/06, M.Canales.es <manuel at linuxfromscratch.org> wrote:
>
> For the DTD and XSL the unique way I can think to be sure that both have the
> correct version and are properly installed is running a test-case. For that,
> a very simple XML document and XSL stylesheet need be created (maybe via here
> documents dumped to temp files), running xmllint and xsltproc on then,
> analyzing the output for errors.

That seems like a good plan. Looks like xsltproc and xmllint will both
read from stdin if the filename is -. So no need for temp files. Well,
I guess you need to provide the stylesheet, too.

xsltproc [options] - << "EOF"
...XML...
EOF

--
Dan



More information about the alfs-discuss mailing list