[Biojava-l] Blast XML + XSL = HTML
Mark Schreiber
markjschreiber at gmail.com
Mon Jul 23 07:45:04 EDT 2007
Hi Richard / Dmitry
A good home for this might be the biojava cookbook on the biojava wiki (
www.biojava.org). Although it isn't strictly biojava people may find it a
useful example.
- Mark
On 7/23/07, Richard Holland <holland at ebi.ac.uk> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Dmitry.
>
> Thanks for your efforts and offer to contribute your code to the BioJava
> project.
>
> You say that the existing Blast2HTMLHanlder handler is inflexible, which
> is true enough. However I don't see how substituting the handler for an
> XSL stylesheet would make it any more flexible - the user would still
> have to live with an HTML format specified by the designer of the
> stylesheet unless the wrapping code that calls the stylesheet could
> somehow dynamically modify the XML based on method calls.
>
> I'm also unsure as to whether the whole transformation is appropriate
> for BioJava (the Blast2HTMLHandler itself is on borderline territory -
> saved only by the fact that it creates the reports based on SAX events
> that can potentially come from non-BlastXML sources). BioJava is a Java
> toolkit, and the transformation from XML to HTML via an XSL stylesheet
> doesn't require Java at all.
>
> Mark - if you're reading this - guidance, please?
>
> cheers,
> Richard
>
> Dmitry Repchevsky wrote:
> > Hello!
> >
> > I used biojava Blast2HTMLHandler, but found it unflexible and slow (?).
> > Finally I made an xsl stylesheet to convert blast output into html
> > <div> element.
> > Also I have a class BlastXML2HTML to make the transform , it's pretty
> > simple.
> > May I contribute it?
> >
> > Best regards,
> >
> > Dmitry
> > _______________________________________________
> > Biojava-l mailing list - Biojava-l at lists.open-bio.org
> > http://lists.open-bio.org/mailman/listinfo/biojava-l
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGpJOs4C5LeMEKA/QRApF6AJ9kibj7mJ44W2/fTw/cYPHOx/O74gCfT3Zn
> b90G56jji+Ro32fq/kuxbJA=
> =X95V
> -----END PGP SIGNATURE-----
> _______________________________________________
> Biojava-l mailing list - Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>
More information about the Biojava-l
mailing list