<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
I was able to get <span style="font-size: 12px; color: rgb(2, 29, 167); "><xi:include</span><span style="font-size: 12px; color: rgb(249, 151, 94); "> href</span><span style="font-size: 12px; color: rgb(255, 148, 80); ">=</span><span style="color: rgb(171, 69, 0); font-size: 12px; ">"../install-guide/basic-install-files/basic-install_architecture.xml"</span><span style="font-size: 12px; color: rgb(249, 151, 94); ">
xpointer</span><span style="font-size: 12px; color: rgb(255, 148, 80); ">=</span><span style="color: rgb(171, 69, 0); font-size: 12px; ">"xmlns(db=<a href="http://docbook.org/ns/docbook">http://docbook.org/ns/docbook</a>) xpath(//*[@xml:id = 'basic-install_architecture'])"</span><font color="#021da7">>
to work where the xml:id matches an xml:id in the included file. </font>
<div><font color="#021da7"><br>
</font></div>
<div><font color="#021da7">but what I really like to do is something like </font></div>
<div>
<div style="margin: 0px; font-size: 12px; color: rgb(171, 69, 0); "><span style="color: #021da7"><xi:include</span><span style="color: #f9975e"> href</span><span style="color: #ff9450">=</span>"../install-guide/basic-install-files/basic-install_architecture.xml"<span style="color: #f9975e">
xpointer</span><span style="color: #ff9450">=</span>"xmlns(db=<a href="http://docbook.org/ns/docbook">http://docbook.org/ns/docbook</a>) xpath(//*[@xml:id = 'basic-install_architecture']/*[not(self:db:chapter)])"<span style="color: #021da7">></span></div>
<div style="margin: 0px; font-size: 12px; color: rgb(171, 69, 0); "><span style="color: #021da7"><br>
</span></div>
<div style="margin: 0px; font-size: 12px; color: rgb(171, 69, 0); "><span style="color: #021da7">where I could include content, but strip out the source path hierarchy and replace it with new. </span></div>
<div style="margin: 0px; font-size: 12px; color: rgb(171, 69, 0); "><span style="color: #021da7">The reasoning is to change source chapters or sections into just raw content that could be inserted into an existing section or chapter. </span></div>
<div apple-content-edited="true">
<div style="font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">
<span class="Apple-style-span" style="font-size: 13px; "><span style="font-family: Calibri; font-weight: bold; color: gray; margin: 0px; padding: 0px; "><br class="Apple-interchange-newline">
<br>
</span></span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">
<span class="Apple-style-span" style="font-size: 13px; "><span style="font-family: Calibri; font-weight: bold; color: gray; margin: 0px; padding: 0px; ">Sean Roberts</span></span><span class="Apple-style-span" style="font-size: 13px; "><br>
</span><span class="Apple-style-span" style="font-size: 13px; "><span style="color: gray; font-family: Calibri; margin: 0px; padding: 0px; ">Infrastructure Strategy</span></span></div>
<div style="font-size: 14px; "><span class="Apple-style-span" style="font-size: 13px; "><font color="#808080" face="Calibri"><a href="mailto:seanrob@yahoo-inc.com">seanrob@yahoo-inc.com</a> </font></span><span style="color: gray; font-family: Calibri; font-size: 13px; ">(925)
980-4729</span></div>
</div>
</div>
<br>
<div>
<div>On Aug 6, 2013, at 1:37 PM, David Cramer <<a href="mailto:david.cramer@rackspace.com">david.cramer@rackspace.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">On 08/06/2013 02:41 PM, Sean Roberts wrote:<br>
<blockquote type="cite">oxygen is complaining about pointer scheme xpath is not supported and<br>
that a well-formed document requires a root element<br>
maven fails with expression could not be evaluated.<br>
<br>
<chapterxmlns="<a href="http://docbook.org/ns/docbook">http://docbook.org/ns/docbook</a>"<br>
xmlns:xi="<a href="http://www.w3.org/2001/XInclude">http://www.w3.org/2001/XInclude</a>"<br>
xmlns:xlink="<a href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink</a>"version="5.0"<br>
xml:id="bk001-ch003-associate-general"><br>
<title>Associate General</title><br>
<xi:includehref="../basic-install/src/basic-install_controller-common.xml"xpointer="xmlns(db=<a href="http://docbook.org/ns/docbook">http://docbook.org/ns/docbook</a>)<br>
xpath(//*[@xml:id = 'controller-os']/*[not(self::db::title)])"><br>
</blockquote>
<br>
Ok, change self::db::title to self::db:title (just a single colon<br>
between the namespace prefix and the element name).<br>
<br>
You will see that warning in Oxygen, but it's just a warning (not a<br>
validation error). This is because Oxygen doesn't recognize the xpointer<br>
schemes. I'll contact Oxygen to ask if they plan to add support for the<br>
xmlns and xpath schemes.<br>
<br>
Btw., it looks like the content you're including uses conditional<br>
text/profiling. So you'll want to add to the configuration section of<br>
your pom a param to indicate which profile you want (e.g. ubuntu).<br>
Otherwise you get all conditions:<br>
<br>
<profileOs>ubuntu</profileOs><br>
<br>
David<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>