[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Getting a list of Docbook Block Level elements --can the following xpath gather a block-level list from the xsd?
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
hamilton@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/
>
>
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]