Re: XML
| From: | Sebastien Roy | Date: | Wed, 04 Apr 2001 15:10:37 +0000 |
| Subject: | Re: XML | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47068@lists.php.net to get a copy of this message | ||
Sorry, but i'm not sure to understand your response... (maybe it's the question
that I don't understand)
I thought that the question was ansking for a simple way to validate a xml document
with his associated dtd by a php script. It would be very useful for me to validate
the xml document once it has been created. Only to be sure that it is still
well-formed after that I made my changes on it.
Regards,
Sebastien Roy
sroy@galeasec.com
Joe Stump wrote:
> 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