ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <sflo...@nc.rr.com>
Subject Re: Ant XSL: inserting unwanted attributes
Date Tue, 17 Feb 2009 22:39:49 GMT

Not sure I agree with that at all...

I am using the XSLT task to convert Ant scripts/Subversion logs to HTML...

Not sure why Ant would add attributes.  If you are using XSLT to convert, Ant is certainly
not going to add attributes for you...

Has nothing to do with Ant.

---- Robert Koberg <rob@koberg.com> wrote: 
> 
> On Feb 17, 2009, at 4:22 PM, <sfloess@nc.rr.com> wrote:
> 
> >
> > Scott:
> >
> > I do a fair bit of XSLT/XSD work related to an ESB at work.
> >
> > Is it possible for me to get a copy of your XSLT so I can review it?
> 
> has nothing to do with XSL...
> 
> 
> >
> >
> > ---- Scott Stark <sstark@us.ibm.com> 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/IBM@IBMUS
> >> sstark@us.ibm.com
> >> 400 W. 15th Street, 12th floor
> >> Austin, TX 78722
> >> 1-512-469-6512 (T/L: 595-6512)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message