From: Cameron S. <ca...@sh...> - 2003-09-01 11:30:12
|
On Saturday 30 Aug 2003 11:36 pm, Artur Hefczyc wrote: > Now we want to include in master document everything apart from > <sectioninfo/> element with it's content. > We can include content of above document apart from <sectioninfo/> > with following command: > <xi:include > href="samplefile.xml#xpointer(/section/*[name()!='sectioninfo']/descendant- >or-self::*)" xmlns:xi="http://www.w3.org/2001/XInclude" /> Thinking again about how to remove <sectioninfo> from all the guides, it might be easier to run all the guides through a XSL filter which strips <sectioninfo> before calling the docbook parsing. This way, we don't need to edit the source guides. The stripping XSL could be called from generguide.sh. -- Cameron Shorter http://cameron.shorter.net Open Source Developer http://generguide.sourceforge.net http://mapbuilder.sourceforge.net http://geotools.org Senior Software Engineer http://www.adi-limited.com |