[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: namespaces gets copied to root node with result-d
Use exclude-result-prefixes="dyn saxon" on the xsl:stylesheet element. Michael Kay http://www.saxonica.com/ > -----Original Message----- > From: Arian Hojat [mailto:arianhojat2000@xxxxxxxxx] > Sent: 05 July 2005 17:25 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: namespaces gets copied to root node with > result-document > > Hello all, > I am making a new html document with > xsl:result-document, and my namespaces I use in my > stylesheet get copied into the html output and i was > wondering why since its not explicitly set, and how to > stop that. > ########## > <xsl:stylesheet version="2.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:dyn="http://exslt.org/dynamic" > xmlns:saxon="http://saxon.sf.net/"> > ... > <xsl:result-document href="html/{$FileName}.html" > method="html"> > <html> > <head> > .... > ########## > outputs this html file > ########## > <html xmlns:dyn="http://exslt.org/dynamic" > xmlns:saxon="http://saxon.sf.net/"> > <head>... > ########## > thanks in advance. > > > > __________________________________ > Yahoo! Mail Mobile > Take Yahoo! Mail with you! Check email on your mobile phone. > http://mobile.yahoo.com/learn/mail
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|