Just curious, does your XSLT have an output element in it? For example: <xsl:output method = "xml" version = "1.0" indent = "yes"/>
---- Scott Stark <[email protected]> wrote: > > Hi all, my first post here, from a relative newbie, so hopefully my > question isn't too off-base. > > I'm running an Ant build using <xslt> that reads an XML file, makes a few > changes using the specified XSL, and outputs to another XML file, which, > except for the changes I'm making in the XSL, should be identical to the > source. > > The problem is that unwanted attributes often appear in the output XML. For > example: > > <choicetable> <!-- in the source document --> > > becomes > > <choicetable keycol="1"> <!-- in the output document --> > > and > > <codeblock> <!-- source --> > > becomes > > <codeblock xml:space="preserve"> <!-- output --> > > There's nothing in my XSL that's inserting these attributes. Any idea > what's going on? Thanks. > > Scott > > Scott Stark/Oakland/i...@ibmus > [email protected] > 400 W. 15th Street, 12th floor > Austin, TX 78722 > 1-512-469-6512 (T/L: 595-6512) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
