Re: XML
| From: | Andreas Sisask | Date: | Wed, 04 Apr 2001 14:56:40 +0000 |
| Subject: | Re: XML | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47061@lists.php.net to get a copy of this message | ||
I have a docdef.dtd file which defines a document. Now, if I parse some
doc1.xml file which refers to this
docdef.dtd, that is it contains the line
<!DOCTYPE whateva SYSTEM "docdef.dtd">
I want to chek if the doc1.xml really is correct as defined - has the syntax
(elements, nesting and whatever I have defined in docdef1.dtd)
And as I got answers from several people, it is not possible.
Andreas
"Joe Stump" <joe@earth.care2.com> wrote in message
news:20010404093613.H12128@zorka.com...
> AFAIK php doesn't care about extensions (ie .html vs .htm) - if it's valid
> XML and expat supports it then you should be good to go. I've parsed .rdf
just
> fine...
>
> --Joe
>
> On Wed, Apr 04, 2001 at 03:09:36PM +0200, Andreas Sisask wrote:
> > Hello,
> >
> > Does php have some feature of using .dtd or .xsd in parsing an .xml
file?
> > I mean for example if I parse some .xml (which refers to some .dtd) it
> > checks that the .xml is correct or if not then
> > gives quite exact error about it.
> >
> > Andreas
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
/***************************************************************************
***\
> * Joe Stump - PHP/SQL/HTML Developer
*
> * http://www.care2.com -
> http://www.miester.org -
http://gtk.php-coder.net *
> * "Better to double your money on mediocrity than lose it all on a
dream." *
>
\***************************************************************************
***/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>