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

How to prevent that XML attributes ares automatically

Subject: How to prevent that XML attributes ares automatically added ?
From: Jérôme Haguet <j.haguet@xxxxxxxxxx>
Date: Wed, 22 Feb 2006 18:36:53 +0100
jasperreport
Hello

I am doing some changes in (a lot of) XML documents with XSL (using Apache Ant
1.6.5 target named <xslt .../>)
The -simple - purpose is to delete / add  / modify some attributes.

Basically, it works.

Except one thing : in some cases, it adds some attributes to some XML
elements.
I guess that this happens in order that the final XML become compliant with
the DTD specified in the top of the source XML file.
If I delete the DTD directive, no attributes are added.

Here above is an example of the added attributes :

<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN"
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport ...isFloatColumnFooter="false" whenResourceMissingType="Null"
isIgnorePagination="false">
...
</jasperReport>

The point is that I do not want these attributes to be added - for the
moment.
Any idea how to unactivate this ?

Jirtme Haguet
Stratigies - France

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.