Jump to content
Web Marketing Help Forum

XML declaration....

Recommended Posts



Question regarding XML..


Can I just put the XML declaration on top of existing HTML documents?

Can I intermix HTML 4.01 and XHTML documents?


THANKS for reply.....

Share this post

Link to post
Share on other sites

The title sounds confusing but if you are trying to pull data from an xml source it really is not that hard to do. So yes, you can use php code in your html to retrieve information from an xml source. If this is what you are after; you need to set .htaccess to parse php in .html files.


You may add a simple line like the one below to achieve this:


>AddType application/x-httpd-php .php .htm .html


Please let me know if this helped, or if you are trying to do something else.


Talk to you later,



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now