Sorry, been fighting being sick...

However, I don't recall seeing mention of default values...  Just the resultant 
document has unwanted attributes added...

So, if this is in fact that situation...I'm confused about the posting to this 
list...  Have you tried to execute your XSLT outside Ant?  If so and the result 
is the same...probably the wrong list to submit questions...

Sorry, not trying to be a jerk...but based on what I read - it lead me to 
believe that the issue was somehow related to the XSLT task...


---- Robert Koberg <[email protected]> wrote: 
> 
> As I wrote previously, the XML parser is using the DTD to fill in the  
> default attributes/values. Nothing to do with Ant or XSL -- basic XML.
> 
> -Rob
> 
> 
> On Feb 17, 2009, at 5:46 PM, <[email protected]> wrote:
> 
> >
> > Why would you say it has nothing to do with XSLT?
> >
> > ---- Robert Koberg <[email protected]> wrote:
> >>
> >> On Feb 17, 2009, at 4:22 PM, <[email protected]> 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 <[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]
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to