Re: [xml] XML document creation from DTD



On Thu, Dec 06, 2001 at 06:35:56PM +0100, Sigis Jermolovicius wrote:
Hi, 

Is there posibility to create XML document template from DTD using libxml?

  A general algorithm doesn't exist. But you can use 
    xmlValidGetValidElements()
 and
    xmlValidGetPotentialChildren()
    http://xmlsoft.org/html/libxml-valid.html#XMLVALIDGETPOTENTIALCHILDREN

If you have such an algorithm in mind.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]