Re: [docbook-apps] Tool to query dtd/schema for valid element children|attributes

From
Bob Stayton <>
Date
2005-10-03T05:48:59+00:00
ID
002d01c5c7de$244a8da0$6400a8c0@toshiro
Thread
Re: [docbook-apps] Tool to query dtd/schema for valid element children|attributes
This may not be what you had in mind, but my LiveDTD tool turns a DTD into a
hypertext document, with a clickable list of elements down the side.  A
click takes you to the content model in the DTD.  It works with DocBook and
customizations.

http://www.sagehill.net/livedtd/

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "David Nebauer" <>
To: <>
Sent: Sunday, October 02, 2005 7:59 PM
Subject: [docbook-apps] Tool to query dtd/schema for valid element
children|attributes


> I'm looking for a tool that will enable me to query the docbook dtd -- 
> given a particular element, I want to get lists of its valid children
> and attributes.  Ideally it could also provide information about an
> attribute's content type.
>
> So far I've tried the perl modules XML::DTDParser, XML::ParseDTD and
> XML::SMART::DTD.  All of them work with other DTDs, but fail to process
> http://oasis-open.org/docbook/xml/4.2/docbookx.dtd (or the local copy on
> my system).
>
> Can anyone point me to a tool that might suit my needs?  If there's a
> tool that can query RNG, I can translate the DTD using trang.
>
> Regards,
> David.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>