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

Re: How to avoid adding defaulted attributes

Subject: Re: How to avoid adding defaulted attributes
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxx>
Date: Fri, 10 Jan 2014 12:57:22 +0000
Re:  How to avoid adding defaulted attributes
On Fri, Jan 10, 2014 at 12:43 PM, David Carlisle <davidc@xxxxxxxxx> wrote:
> On 10/01/2014 10:31, Ihe Onwuka wrote:
>>
>> It was an expedient solution on the presumption that he could and
>> was going to look at the schema.
>
>
> yes but looking at the schema doesn't help, if the schema/dtd defaults
> shape="rect" on every a element (as the HTML4 one does) and you don't
> want those but do want the 1 in a million times where someone has
> shape="rect" in their source, then you can't just remove all attributes
> that are defaulted by the schema, you have to stop the schema defaulting
> attributes. You can do that by commenting put the doctype or using a
> catalogue to point to a dtd that doesn't default or in newer saxon
> releases at least by using a command line switch to tell the system not
> to add the defaults.
>
>

ah well it would have been the first thing I would have tried and it
was obviously wrong then. apologies to the OP.

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.