[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

Subject: RE: namespaces gets copied to root node with result-document
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 5 Jul 2005 18:00:46 +0100
saxon xml namespaces root element
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 

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.