Re: [xsl] Aargh - wrong template applied

Subject: Re: [xsl] Aargh - wrong template applied
From: Ian Eure <ieure@xxxxxxxxxx>
Date: Wed, 19 Apr 2006 10:51:51 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Apr 19, 2006, at 12:19 AM, Michael Kay wrote:

You haven't shown your source document, but my guess is that your font
elements are in a namespace.

It's an XHTML 1.0 Transitional document, so it has the XHTML namespace bound on the root node. So, yes, the font element is in a namespace, but it's the same namespace as everything else in the document.

Here's the start of the source document:

<?xml version="1.0" encoding="utf-8"?>
<!-- FileName="Connection_cf_dsn.htm" "" -->
<!-- Type="CFDSN" -->
<!-- Catalog="" -->
<!-- Schema="" -->
<!-- HTTP="true" -->
<!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";>
<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="HTML Tidy for Mac OS X (vers 1st July 2004), see www.w3.org" />
<title>Aruba (AA)</title>


<link rel="stylesheet" href="../Factbook.css" type="text/css" />
<!--
a { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; text-decoration: none}
- -->
</head>


It's well-formed, but probably not valid. It's a cleaned up page from the CIA World Factbook.

- --
Ian Eure
Developer,
eNotes.com LLC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFERni3xuUdPD6j2IMRAnxAAJ9nFp4gjq63m6b9tGsi4tIhPMXKIQCgwA0R
XRJKXwCj2yDX+Zd5qXGzwto=
=oJXV
-----END PGP SIGNATURE-----

Current Thread