<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The weird thing is that all other xincludes are resolved correctly, meaning that XEP does operate on the full expanded xml document. It's only the xincludes with xpointers referring to content defined by id's. Since the parse has passed the defined paragraph (<phrase id=xxx>), it fails to copy it using the xpointer reference: <xi:include href="" xmlns:xi="<a href="http://www.w3.org/2001/XInclude">http://www.w3.org/2001/XInclude</a>" xpointer="element(xxx)" /> .<div><br></div><div>If I remove all xincludes with href="" and xpointers, then it works with XEP commandline as well as from withint XMLEditor.</div><div><br></div><div>Could it be that XMLEditor has a speciel resolver that XEP outside of it doesn't?</div><div><br></div><div>Thomas</div><div><br><div><div>On 26 Nov 2008, at 14:56, Dave Pawson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>2008/11/26 Thomas Christensen <<a href="mailto:tchristensen@nordija.com">tchristensen@nordija.com</a>>:<br><blockquote type="cite">Ok. Generating a complete all in one xml file will also improve the<br></blockquote><blockquote type="cite">validation part of docbook 4.5+xincludes.<br></blockquote><blockquote type="cite">However - it works when I use XEP from within XMLEditor instead of the<br></blockquote><blockquote type="cite">commmand line XEP!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The normal xincludes (ie. href actually points to a file) works in both<br></blockquote><blockquote type="cite">places, and only the xpointer versions fails.<br></blockquote><br>Once you can see what is happening on the command line,<br>you can guess what the editor is doing behind the scenes and<br>then you choose how to do it.<br><br>Someone / something has to expand the includes prior to processing.<br>xInclude is just the same in docbook 5 btw, just that you have<br>relax NG to work with instead of the DTD's.<br><br>HTH<br><br><br><br><br>-- <br>Dave Pawson<br>XSLT XSL-FO FAQ.<br>Docbook FAQ.<br><a href="http://www.dpawson.co.uk">http://www.dpawson.co.uk</a><br>-------------------<br>(*) To unsubscribe, send a message with words 'unsubscribe xep-support'<br>in the body of the message to majordomo@renderx.com from the address<br>you are subscribed from.<br>(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html<br></div></blockquote></div><br></div></body></html>