|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: transforming without outputting original namespace
> try > > <xsl:stylesheet exclude-result-prefixes="p"> No, that won't work. So long as the <div> element is in the namespace "urn://www.photoparata.com/events.xsd", you will always get a declaration of that namespace. The OP didn't just want to get rid of the namespace declaration, what they really wanted was to have the <div> element in a different namespace. Michael Kay http://www.saxonica.com/ > > Martynas > > On 2/3/07, Sam Carleton <scarleton@xxxxxxxxxxxxxxxx> wrote: > > Thanks to David's help, I am now transforming xml that has a > > namespace. My target is a piece of HTML, so I would prefer if the > > namespace was not in the output, which it is: > > > > <div xmlns="http://www.photoparata.com/events.xsd" > > xmlns:p="urn://www.photoparata.com/events.xsd" id="titlebar"/> > > > > How do I go about getting rid of it?
|
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
|






