Thanks David, that makes sense--I should have figured that out for myself, but I suppose I was having a brain cramp!
thanks, --Tim > -----Original Message----- > From: David Cramer [mailto:dcra...@motive.com] > Sent: Tuesday, March 09, 2010 5:39 PM > To: Tim Arnold; docbook@lists.oasis-open.org > Subject: RE: [docbook] dbhtml pi and parsing > > Your <figure> isn't complete, so the document isn't valid against the > schema. A <figure> requires more than just an <info> element, thus > "unfinished element". See: > http://www.docbook.org/tdg5/en/html/figure.html > > I guess you can include some empty/dummy content to make it valid and > then have the real stuff come from the dbhtml-include. > > David > > > -----Original Message----- > > From: Tim Arnold [mailto:tim.arn...@sas.com] > > Sent: Tuesday, March 09, 2010 11:10 AM > > To: docbook@lists.oasis-open.org > > Subject: [docbook] dbhtml pi and parsing > > > > hi, > > I have a figure that will include an xhtml file when it's > > processed by the docbook xslt stylesheet: > > > > <figure xml:id="allg4" remap="Listing"> > > <info><title>Testing</title></info> > > <?dbhtml-include href="/home/htm/allg4.htm" ?> </figure> > > > > But I get an error from the xerces parser with this command line: > > /usr/local/bin/java > > -Dorg.apache.xerces.xni.parser.XMLParserConfiguration= \ > > > > org.apache.xerces.parsers.XIncludeParserConfiguration \ > > -jar > > /u/tiarno/freebsd/oNVDL/bin/onvdl.jar > > /DocBook/V5.0/docbook.nvdl filename.xml > > > > The error is "error: unfinished element", apparently > > referring to the processing instruction. > > > > what am I doing wrong? > > > > thanks for any advice, > > --Tim Arnold > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org > > For additional commands, e-mail: docbook-h...@lists.oasis-open.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-h...@lists.oasis-open.org