[Catalyst] Xml data to html

Nickolay Platonov nickolay8 at gmail.com
Mon Sep 15 22:57:57 BST 2008


If you are looking for XML Parser I can recomend to use XML::LibXML instead
any other.

On Tue, Sep 16, 2008 at 12:29 AM, J. Shirley <jshirley at gmail.com> wrote:

> On Mon, Sep 15, 2008 at 12:53 PM, Pedro Guevara
> <peter at capybara-software.com> wrote:
> > Well I thought to make a script but It's going to take me a lot of time.
> > Because is a complex tree of data, so I supossed that some module of
> > Catalyst would do it for me.
>
> [stop]
>
> No, Catalyst is an MVC framework.  It helps structure -your- code and
> other code into logical compartments so that it is easier to develop,
> maintain, etc.
>
> What you want is "perl".  That's the programming language Catalyst is
> written in.
>
> > It's like
> > <libraries>
> >     <library name=3D"Wolf">
> >           <book name=3D"The King">
> >           <book name=3D"The Queen">
> >     </library>
> >     <library name=3D"Fox">
> >           <book name=3D"The Castle">
> >           <book name=3D"The Dragon">
> >     </library>
> > <libraries>
> >
> > And it retrieves: like html
> >
> > Libraries
> > <table>
> >    <tr>
> >         <td>Library :</td><td> Wolf</td>
> >         <td>Books:</td><td>      The King,    The Queen</td>
> >    </tr>
> >     <tr>
> >         <td>Library :</td><td> Fox</td>
> >         <td> Books:</td><td>      The Castle,    The Dragon</td>
> >     </tr>
> > </table>
> >
> > I expect you could understand me...
> > Thanks for your help...
>
> You probably want XSLT, since it is exactly for transforming XML to
> other formats (such as HTML).
>
> There are many ways to do this, and many perl modules available to help:
> http://search.cpan.org/search?query=3DXslt&mode=3Dall
>
> -J
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080916/26f63=
4ee/attachment.htm


More information about the Catalyst mailing list