Re: Parsing XML with DTD

From: Date: Thu, 22 Nov 2007 20:20:29 +0000
Subject: Re: Parsing XML with DTD
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264974@lists.php.net to get a copy of this message
Skip Evans wrote: > Hey all, > > I've been asked if it's possible to parse XML files given a DTD file > that describes the elements within it, so I've been looking through the > docs at php.net. > > So far I've found this: > > http://us.php.net/manual/en/ref.xml.php > > Which has some samples on, but nothing that I see will take a DTD file > and parse the XML accordingly. use php5 and the DOM extension (not XML and not DOMXML): http://us.php.net/manual/en/ref.dom.php > > I'm thinking something like this is probably possible. > > I'm still looking through the docs, but if anyone can point me in the > right direction would be appreciated. > > Thanks! > Skip >

« previous php.general (#264974) next »