On Mon, Oct 06, 2003 at 11:32:36AM +0200, Hussein Shafie wrote: > >I'm sure there's something obvious I'm missing, but I would appreciate > >it if someone could just point to it so that I can slap my forehead and > >move on. I'll gladly provide any information I may have omitted on > >request. Thanks!
[...snip...] > ><?xml version="1.0" encoding="UTF-8"?> > ><cfg:configuration name="ldocbook" > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > >xmlns:xs="http://www.w3.org/2001/XMLSchema" > >xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration"> > > <cfg:detect> > > <cfg:dtdSystemId>-//Normal Walsh//DTD lDocBook//EN</cfg:dtdSystemId> > > </cfg:detect> > > <cfg:css location="ldocbook.css" > > name="Style Sheet" /> > > <cfg:template location="ldocbook.xml" > > name="Template" /> > ></cfg:configuration> > > "-//Normal Walsh//DTD lDocBook//EN" is a Public ID, not a System ID. Indeed it is. Thanks, that worked. Ok, now on to the next sure-to-be-brain-dead fix; for some reason the namespace declared in my css file (see attached ldocbook.css) is not being picked up. In particular, none of the styles for src:fragment are being applied. The (brief) comments in the style file explain what I'm doing in there, and, as before, my template looks like this: <?xml version="1.0"?> <!DOCTYPE article PUBLIC "-//Normal Walsh//DTD lDocBook//EN" "ldocbook.dtd"> <article xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"> <section> <title></title> <para></para> <src:fragment id="top"></src:fragment> </section> </article> And so everything else is coming out styled correctly, but the src:fragment is (apparently) being ignored. Once again, thanks, John -------------- next part -------------- /* Use the shipped style sheets for everything docbook ... */ @import "/home/john/download/software/xxe-std-23p1/config/sdocbook/css/sdocbook.incl"; @import "/home/john/download/software/xxe-std-23p1/config/docbook/css/docbook.incl"; @import "/home/john/download/software/xxe-std-23p1/config/sdocbook/css/print.incl"; /* ... and add to them our own simple styles for Norman Walsh's literate programming tagset. */ @namespace src url(http://nwalsh.com/xmlns/litprog/fragment); src|fragment { white-space: pre; font-family: monospace; background-color: #EEEEEE; border: thin solid gray; padding: 2px; margin: 1.33ex 0; } /* @import "/home/john/In_progress/DocBook/litprog-1.0/css/xweb.css"; */ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20031008/bc54bb39/attachment.sig

