Try adding your own style sheet.  Store it in xdocs/style
Look at the stylesheets that are provided after xdoc execution, look at the
resulting source code to see the html tags used, which style class is used,
then override that in your own stylesheet -- since it's loaded last, it gets
used..  You can get some control that way, maybe with padding: 0px or
margin:0px type things.

----- Original Message ----- 
From: "__matthewHawthorne" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 10:11 PM
Subject: Re: Is it possible to preserve formatting in xdocs/*.xml


> Instead of using <pre> tags, you may want to try using <source> tags
> with <![CDATA[]]> blocks inside.
>
> This doesn't preserve your formatting, but it made writing the XML a lot
> easier for me.
>
>
>
>
> Matt Raible wrote:
> > I want to preserve my HTML formatting in my *.xml files under xdocs.  2
> > reasons:
> >
> > 1.  I'm putting a few code samples in my documentation.  Maven puts
> > <pre> on one line, then my code, and another </pre> on a different
> > line.  In my XML files, the code starts right after <pre> - which we all
> > know is necessary to get the spacing we desire.
> > 2.  trailing space before the closing </a> tag.
> >
> > Are there any (easy) workarounds for these issues?
> >
> > Thanks,
> >
> > Matt
>
>
> ---------------------------------------------------------------------
> 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