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

Re: Schema declarations showing up in my html

Subject: Re: Schema declarations showing up in my html
From: Spencer Tickner <spencertickner@xxxxxxxxx>
Date: Mon, 4 Apr 2005 07:43:33 -0700
Re:  Schema declarations showing up in my html
Hi David,

Thanks for the reply. I'll try and find a work around, maybe strip it
out using a seperate program. You're comment did get me wondering
though. If copy-of is to be avoided how does one deal with inline
elements (<i>, <strong>). I'm pretty new to the entire xml game and so
far copy-of seems to be the only way to get them across.

Thanks,

Spence

On Apr 2, 2005 3:24 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> 
> If you want to try xslt2 then copy-of in xslt2 has an extra attribute to
> stop it copying in scope namespaces, but with xslt1 you need to avoid
> copy-of altogether, unless of course you have the option of using the
> easiest fix which is to remove the
> 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="../Styles/ActSchema.xsd"
> 
> from your source. The fact that XSD schema polute the instance documents
> with this namespace is one of their less attractive features. Relax NG
> for example explictly does not provide any inline schema declaration
> method exactly to avoid this kind of problem. Even if you are using XSD
> for validating, most validators will allow the schema to be specified
> explicitly at validation time, so not need xsl:schemaLocation "hints".
> 
> David
> 
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

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.