Bill, You need to do the following: <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ead="urn:isbn:1-931666-22-9" xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns="http://www.w3.org/1999/xhtml"xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes" xmlns:xlink="http://www.w3.org/1999/xlink" exclude-result-prefixes="ead fn xdt xlink xs" > Add the @exclude-result-prefixes to your xsl:stylesheet element. For individual elements, there is some other tricks. Mike Ferrando IT Specialist Library of Congress Washington, DC (202) 707-4454 ----- Original Message ---- From: Bill Walker <[log in to unmask]> To: [log in to unmask] Sent: Tuesday, September 9, 2008 12:03:34 PM Subject: EAD 2 XHTML I am attempting to transform EAD to XHTML. My XSL stylesheet <xsl:stylesheet> element has several namespaces which get output as attribute to the opening <html> element. Here is my opening stylesheet element: <xsl:stylesheetversion="2.0"xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:ead="urn:isbn:1-931666-22-9" xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns="http://www.w3.org/1999/xhtml"xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes"xmlns:xlink="http://www.w3.org/1999/xlink"> Here is the resulting HTML element: <htmlxmlns:fn="http://www.w3.org/2005/02/xpath-functions"xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes"xmlns="http://www.w3.org/1999/xhtml"xmlns:xs="http://www.w3.org/2001/XMLSchema"xmlns:xlink="http://www.w3.org/1999/xlink"xmlns:ead="urn:isbn:1-931666-22-9"> Here is my <xsl:output> element: Of course, these namespace attributes are not valid for the <html> element, but are required for <xsl:stylesheet>. How do I resolve this problem? Bill Walker Imaging Field Services Officer Amigos Library Services, 14400 Midway Road, Dallas, TX 75244-3509 800-843-8482 x2853 972-340-2853 (direct) 972-991-6061 (fax) Email: [log in to unmask] Web: www.amigos.org