Re: [docbook] docbook5 and adding elements (long)

2007-03-31 Thread Kells Kearney
On 3/17/07, Chris Chiasson [EMAIL PROTECTED] wrote: snip I hate the reading, especially when I don't know exactly what I need to find. Experience: What you get after you needed it. /snip Oh boy, did this experience ever hurt. :( After a fair amount of reading and experimentation, I

Re: [docbook] docbook5 and adding elements (long)

2007-03-17 Thread Bob Stayton
: Kells Kearney [EMAIL PROTECTED] To: Bob Stayton [EMAIL PROTECTED] Cc: docbook@lists.oasis-open.org Sent: Friday, March 16, 2007 3:33 PM Subject: Re: [docbook] docbook5 and adding elements (long) On 3/15/07, Bob Stayton [EMAIL PROTECTED] wrote: Hi Kells, The DTD version of DocBook 5 does

Re: [docbook] docbook5 and adding elements (long)

2007-03-17 Thread Dave Pawson
Bob Stayton wrote: Do you know of a good step-by-step example of customizing Docbook5 with RelaxNG? Have you seen the DocBook 5.0 Transition Guide? It has examples: http://www.docbook.org/docs/howto/ A very good read IMHO. If you search through the archives of this mailing list, I

Re: [docbook] docbook5 and adding elements (long)

2007-03-17 Thread Kells Kearney
I have to apologize to both Dave and Bob, but they've given me far too much credit for understanding. :) I'm hoping that I can impose on your patience for just a little longer. On 3/17/07, Dave Pawson [EMAIL PROTECTED] wrote: Bob Stayton wrote: Do you know of a good step-by-step

Re: [docbook] docbook5 and adding elements (long)

2007-03-17 Thread Chris Chiasson
* How do you use the resulting RelaxNG XML file in a real-world XML document? The RNG files (or DTD files, if that's what you want to use) don't go in the XML file you are authoring. They are used by your editor to prevent you from entering invalid data and/or by your validator to identify

Re: [docbook] docbook5 and adding elements (long)

2007-03-17 Thread Dave Pawson
Kells Kearney wrote: Have you seen the DocBook 5.0 Transition Guide? It has examples: http://www.docbook.org/docs/howto/ I had read this before, but it doesn't actually show the basic mechanics so that I can just use it. For instance, * What programs are used to convert between the

Re: [docbook] docbook5 and adding elements (long)

2007-03-17 Thread Jirka Kosek
Kells Kearney wrote: * What programs are used to convert between the compact syntax and XML syntax? Thanks to the links from Dick Hamilton I understand that James Clark's 'trang' is most often used, but I'd never know that from the Transition Guide. That's why customization examples are

Re: [docbook] docbook5 and adding elements (long)

2007-03-16 Thread Kells Kearney
On 3/15/07, Bob Stayton [EMAIL PROTECTED] wrote: Hi Kells, The DTD version of DocBook 5 does not have the %local.* parameter entities. All of the customization features are in the RelaxNG version, from which the DTD version is generated. Oh? Ooops! I didn't notice that in this variation.

Re: [docbook] docbook5 and adding elements (long)

2007-03-15 Thread Bob Stayton
Hi Kells, The DTD version of DocBook 5 does not have the %local.* parameter entities. All of the customization features are in the RelaxNG version, from which the DTD version is generated. If you don't want to customize the RelaxNG and generate a DTD from it, you can just edit a copy of the

Re: [docbook] docbook5 and adding elements (long)

2007-03-14 Thread Kells Kearney
Okay, I've given Relax NG a try, and I'm stumped with it too. I've started with the assembly-language example that has been pointed out to me, and it seems to be promising. I'm still missing a step, so a correction would be most welcome! :) Here's a sample session with error message that

RE: [docbook] docbook5 and adding elements (long)

2007-03-13 Thread Dick Hamilton
Kells, I haven't worked with the DTD for DocBook 5, just the Relax NG schema, so I can't help with the specific problem you're having. With any luck someone will post a quick fix. But, if you can work with the Relax NG schema version of DocBook, here are a couple of resources that should be