Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Steve Rickaby
At 5:23 am -0500 3/2/06, Alan Houser wrote: >Unfortunately, there's no way to do this with an XML DTD. However, it's not >hard to determine an element's nesting level when processing XML with XSLT or >even a FrameMaker EDD. For example, a FrameMaker EDD might specify a text >prefix of "Element

Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Steve Rickaby
At 6:08 am +1100 3/2/06, mcarr at allette.com.au wrote: >DocBook is a worthless bucket of elements. Sorry. I had a look yesterday >and quickly found two examples that were enough to reconfirm my opinion. >The first was that footnotes can contain paras that can contain footnotes, >so you could have

Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Alan Houser
This is correct -- you can only alert based on nesting depth. I suspect one could write an FDK client to actually restrict the legal nesting depth as you describe. One of the more obscure XML schema languages (Schematron) already provides this capability outside FrameMaker. -Alan Steve Rickaby

Re: Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Alan Houser
This is correct -- you can only alert based on nesting depth. I suspect one could write an FDK client to actually restrict the legal nesting depth as you describe. One of the more obscure XML schema languages (Schematron) already provides this capability outside FrameMaker. -Alan Steve Rickab

Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Alan Houser
Unfortunately, there's no way to do this with an XML DTD. However, it's not hard to determine an element's nesting level when processing XML with XSLT or even a FrameMaker EDD. For example, a FrameMaker EDD might specify a text prefix of "Element nested too deeply" to report back to the author

Re: Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Steve Rickaby
At 5:23 am -0500 3/2/06, Alan Houser wrote: >Unfortunately, there's no way to do this with an XML DTD. However, it's not >hard to determine an element's nesting level when processing XML with XSLT or >even a FrameMaker EDD. For example, a FrameMaker EDD might specify a text >prefix of "Element

Re: Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Alan Houser
Unfortunately, there's no way to do this with an XML DTD. However, it's not hard to determine an element's nesting level when processing XML with XSLT or even a FrameMaker EDD. For example, a FrameMaker EDD might specify a text prefix of "Element nested too deeply" to report back to the author

Newbie structure Q: was Re: Structure/Schema - Custom or off the shelf?

2006-02-03 Thread Steve Rickaby
At 6:08 am +1100 3/2/06, [EMAIL PROTECTED] wrote: >DocBook is a worthless bucket of elements. Sorry. I had a look yesterday >and quickly found two examples that were enough to reconfirm my opinion. >The first was that footnotes can contain paras that can contain footnotes, >so you could have botto