Thanks Richard, ended up making the following list Block Elements: CalloutList | ItemizedList | OrderedList | SegmentedList | SimpleList | VariableList | Caution | Important | Note | Tip | Warning | Address | LiteralLayout | ProgramListing | Screen | ScreenShot | Synopsis | Example | InformalExample | Figure | InformalFigure | Table | InformalTable | Para | SimPara | FormalPara | Equation | InformalEquation | Figure | ScreenShot | Graphic | MediaObject | QandASet | BlockQuote | CmdSynopsis | Epigraph | FuncSynopsis | Highlights | MsgSet | Procedure | Sidebar
Regards On Fri, Jan 6, 2012 at 5:20 PM, Richard Hamilton <hamil...@xmlpress.net>wrote: > Alex, > > I don't think that this xpath will do what you want, since many inlines > allow other inlines as child elements. > > I suggest checking out the DocBook Definitive Guide, which has a section > titled: "Logical Divisions: The Categories of Elements in DocBook," which > lists the Block and Inline elements. > > The Definitive Guide can be found online at: > > http://docbook.org/tdg/en/html/docbook.html > > Best Regards, > Richard Hamilton > ------- > XML Press > XML for Technical Communicators > http://xmlpress.net > hamil...@xmlpress.net > > On Jan 6, 2012, at 3:04 AM, Alex Muir wrote: > > > Hi, > > > > I've been googling now for a while trying to get a complete list of > block-level elements for docbook but thus far haven't found it easy to come > across. Anyone know what the list is or where to find it? > > > > Would the following xpath get all the block-level elements from the > docbook.xsd or is it too inclusive? > > > > //xs:element[exists(descendant::xs:element)]/@name > > > > I just went on the assumption that a block level element would have > another element with it however I'm not familiar enough with docbook to > know if the resulting list which clearly contains a lot of block-level > elements is accurate. > > > > Regards > > > > > > -- > > Alex Muir > > Instructor | Program Organizer - University Technology Student Work > Experience Building > > University of the Gambia > > http://sites.utg.edu.gm/alex/ > > > > Software engineers needed to lecture part-time at UTG for 2012. Please > contact me if interested. > > > > Low budget software development benefiting development in the Gambia, > West Africa > > Experience of a lifetime, come to Gambia and Join UTSWEB - > http://sites.utg.edu.gm/utsweb/ > > > > > > > > > > > > > > -- Alex Muir Instructor | Program Organizer - University Technology Student Work Experience Building University of the Gambia http://sites.utg.edu.gm/alex/<https://sites.google.com/a/utg.edu.gm/utsweb/> Low budget software development benefiting development in the Gambia, West Africa Experience of a lifetime, come to Gambia and Join UTSWEB - http://sites.utg.edu.gm/utsweb/<https://sites.google.com/a/utg.edu.gm/utsweb/>