Re: Report stylesheet bug (was: [pgadmin-support] Insert the SQL
Re: Report stylesheet bug (was: [pgadmin-support] Insert the SQL
От:
Dave Page <dpage@postgresql.org>
Дата:
Ezequias Rodrigues da Rocha wrote:
> I say comments not Report Notes.
>
> Source and Comment are definetly not ok.
>
> See my attached image.
Ahh, sorry - misread your message. After spending an hour or so trying
to figure it out with one of the guys here, I've come to the conclusion
that we simply don't know why it's broken (I'm far from an expert in
XSL). If anyone has an idea, I'm all ears...
The stylesheet can be found at
http://www.pgadmin.org/docs/1.6/default-xsl.html - the problem appears
to be in the last two template, the first of which should call the
second but apparently does not. The second is used for the notes and SQL
at the bottom of the reports so is obviously not totally broken:
Regards, Dave.
Re: Report stylesheet bug (was: [pgadmin-support] Insert the SQL
От:
"Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>
Дата:
Dave, I really needs a css different from default. Do you have any ? I don't know notthing about css neither xls but a little of xml. I only want a nice documentation and a way to put some images to personalize my document too. Any help will be welcomed. Regards Ezequias 2006/11/23, Dave Page : > Ezequias Rodrigues da Rocha wrote: > > I say comments not Report Notes. > > > > Source and Comment are definetly not ok. > > > > See my attached image. > > Ahh, sorry - misread your message. After spending an hour or so trying > to figure it out with one of the guys here, I've come to the conclusion > that we simply don't know why it's broken (I'm far from an expert in > XSL). If anyone has an idea, I'm all ears... > > The stylesheet can be found at > http://www.pgadmin.org/docs/1.6/default-xsl.html - the problem appears > to be in the last two template, the first of which should call the > second but apparently does not. The second is used for the notes and SQL > at the bottom of the reports so is obviously not totally broken: > > > >> > > > > > > > > > > > > > > > > >
> > > > > > > select="substring-after($string, $from)" /> > > > > > > > > > > > Regards, Dave. > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Atenciosamente (Sincerely) Ezequias Rodrigues da Rocha =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- A pior das democracias ainda é melhor do que a melhor das ditaduras The worst of democracies is still better than the better of dictatorships http://ezequiasrocha.blogspot.com/
Re: Report stylesheet bug
От:
Dave Page <dpage@postgresql.org>
Дата:
Ezequias Rodrigues da Rocha wrote: > Dave, I really needs a css different from default. Do you have any ? I > don't know notthing about css neither xls but a little of xml. > > I only want a nice documentation and a way to put some images to > personalize my document too. > > Any help will be welcomed. Sorry, I don't have any alternate stylesheets, XSL or CSS. I would suggest just taking the CSS at the top of http://www.pgadmin.org/docs/1.6/default-xsl.html, and saving it in a file which you then use as an external custom stylesheet. Then just adjust the color options until you get what you are looking for. If you want to do more than can be done in CSS, then you will need to do a similar exercise with the XSL stylesheet, but that's *much* more complex. I find the following site a good reference for HTML/CSS/XML/XSL info: http://www.w3schools.com/default.asp Regards, Dave.