Adquirir xml em php

Sim, mas vê se os encodings coincidem, ou seja, se tiveres encoding="ISO-8859-1" no XML, então vais ter que ter algo do género no HTML:

Código:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
 
Ok fiz o seguinte:
Pág. XML
Código:
<?xml version="1.0" encoding="ISO-8859-1"?>
Pág. HTML
Código:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
O problema parece-me é que a pág. XML puxa uma XSL. Será mesmo disto?
No código também aparecem outras coisas que não percebo como
Na xml:
Código:
<catalog xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:xlink="http://www.w3.org/1999/xlink">
e na HTML:
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Abraço
 
Última edição:
Back
Topo