Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Welcome to the Monastery
 
PerlMonks  

Re^3: Perl to DocBook

by ghenry (Vicar)
on Jul 08, 2006 at 18:22 UTC ( [id://559961]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: Perl to DocBook
in thread Perl to DocBook

I don't understand. Where is this code?

What more do you need other than <programlisting>?

Walking the road to enlightenment... I found a penguin and a camel on the way.....
Fancy a yourname@perl.me.uk? Just ask!!!

Replies are listed 'Best First'.
Re^4: Perl to DocBook
by jmerelo (Sexton) on Jul 09, 2006 at 18:10 UTC
    This is what I mean, to have this kind of listing within programlisting:
    <emphasis>#!/usr/bin/perl</emphasis> <function>print</function> "A estas horas, el Estudiante, no creyendo +su buen suceso y deshollinando con el vestido y los ojos el zaquizamí...\n"; <function>sleep</function> <constant">10</constant>;
    I'm not aware of docbook filters doing that kind of stuff automatically, that's why I've hacked that script. The question is, is there any other (better) way of doing it?

      No, no. You don't do this inside <programminglisting>

      You are trying to do presentational tagging inside this. The XML tags are for content markup. The presentation is done via XSLT Stylesheets.

      In all the Docbook XML I have written/read, (Fedora, Amanda, Samba, Gentoo etc.) it's never done the way you are trying to do it.

      I may be way off, but if you have an example of where you have seen it done this way, I'd love to read it.

      Thanks,
      Gavin.

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a yourname@perl.me.uk? Just ask!!!
        Actually, I haven't seen it anyways, but I'd like to do it this way.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://559961]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.