Tin Pham wrote: > http://www.xmlmind.com/xmleditor/tutorial.html#id.s2.3 show the use of > XIncludes. > > The tutorial shows how one can take a repetitive phrase such as, "Foo > Bar Inc.", place it in an external file and make a reference to it. This > allows one to change "Foo Bar Inc" to "Tin Bar Inc" at one place and see > it propagate throughout. > > I tried the tutorial with a xhtml document and successfully made a > reference to VATrates.html. However, when I try the same steps with a > docbook document the paste step did not work. > > Is XIncludes possible in a docbook document? > If I can not do this with a docbook document, then can somebody suggest > another way of doing this? > > References, > http://www.xmlmind.com/pipermail/xmleditor-support/2004-August/002190.html > http://www.xmlmind.com/pipermail/xmleditor-support/2004-June/002047.html >
It sure works, unless you are trying to XInclude an XHTML <span> in a DocBook document. For DocBook, you need to use <phrase>s. Please find attached to this email, the VATrates.html converted to DocBook (VATrates.xml + a simple <chapter> test using it: TestVATrates.xml); just to give you a quick start. -------------- next part -------------- A non-text attachment was scrubbed... Name: VATrates.xml Type: text/xml Size: 4115 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20041013/f73e98c9/attachment.xml -------------- next part -------------- A non-text attachment was scrubbed... Name: TestVATrates.xml Type: text/xml Size: 542 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20041013/f73e98c9/attachment-0001.xml

