lfsml-6

Matthew Burgess ca9mbu at eos.sunderland.ac.uk
Wed Jan 15 14:24:03 PST 2003


"Matthew Burgess" <ca9mbu at eos.sunderland.ac.uk> wrote in message
news:b04mvc$38v$1 at quasar.highos.com...
> "Gerard Beekmans" <gerard at linuxfromscratch.org> wrote in message
> news:200301151519.44611.gerard at linuxfromscratch.org...
> > On January 15, 2003 03:15 pm, Matthew Burgess wrote:
> > > <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
> > > href="include.xml"/>
> >
> > No more errors that way but it doesn't show up in the html file.
>
> Do you have xmllint?  if so try
>
> xmllint --xinclude lfsexample.xml > lfsexample-all.xml
> xsltproc --output lfsexample.html lfs2html.xsl lfsexample-all.xml
>
> This should work - and if it does it either means that xsltproc doesn't
> support XInclude, or you need to pass it a parameter to enable such
> processing.
>
> Regards,
>
> Matt.

Sorry, just found it:

xsltproc --xinclude --output lfsexample.html lfs2html.xsl lfsexample.xml

Hope this helps.

Matt.


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list