[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: More namespaces and XSLT

Subject: Re: More namespaces and XSLT
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 7 Oct 2000 11:53:29 -0600 (MDT)
xslt exclude namespace
Raimond Brookman wrote:
>  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
> [...]
> <?xml version="1.0" encoding="UTF-16"?>

You should also submit a bug report for not getting the UTF-8 encoding you
requested.

> After reading some more in Michael Kay's book, I expected no namespace
> declarations in the output because of exclude-result-prefixes.

I was just reading about this stuff again yesterday to understand why I
needed to specify exclude-result-prefixes in included stylesheets, not
just the master. (exclude-result-prefixes only has scope in the document
it appears in, which makes sense now that I think about it)

Anyway as far as I can see, your expectation was correct. You are saying
you want to exclude declarations for namespace nodes that are for the
namespace URIs identified by certain prefixes in your stylesheet. The
nodes you copied from the source tree have some of those namespace URIs.
The prefixes in the source document shouldn't matter.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at         My XML/XSL resources:
webb.net in Denver, Colorado, USA           http://www.skew.org/xml/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.