OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "David Nebauer" <davidnebauer@switch.com.au>
To: <docbook-apps@lists.oasis-open.org>
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: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]