xml browser

Marc Lijour marc-bbkyySd1vPWsTnJN9+BGXg at public.gmane.org
Fri Jul 30 00:30:34 UTC 2004


Le July 29, 2004 04:17 pm, Anton Markov a écrit :
> Marc Lijour wrote:
> > Le July 23, 2004 01:20 pm, Zbigniew Koziol a écrit :
> >>Background:
> >>
> >>CRM (Customer Relationship Management) by MS is a quite complex and ugly
> >>.NET  program. But interesting for me (everything new is interesting;)
> >>The version I work on (1.0) does not have good documentation available.
> >>MS has though documentation for version 1.2 but these both are quite
> >>different. There are however XML files related to DLLs, and these files
> >>describe functionality of libraries used by the software.
> >>
> >>Question:
> >>
> >>Is there a sort of tool around (sure, for Linux better) which could be
> >>used for creating let say a collection of HTML files from these XML
> >>ones, to make my reading easier? I am must admit quite new to xml.
> >
> > Of course.
> > Use XSLT (Extensible Stylesheet Language  Transformation, if I'm right).
>
> Yes, XSLT will probably be the easiest. It shouldn't be difficult to
> write an XSLT stylesheet to extract the relevant information (it may not
> be pretty, but readable). Look around and see if you can find a
> stylesheet for the XML files; that would be good.

I have just seen, while browsing in the bookshops, 2 O'Reilly books with good 
material about XML->HTML transformation using XSLT:
- XSLT
- XSLT cookbook


> If you can't find a pre-made stylesheet on the web, take a look at the
> XML files, and figure out which tags mean what (heading, etc.). Then
> read <http://www.ibiblio.org/xml/books/bible2/chapters/ch17.htm> which
> is a sample chapter from "The XML Bible 2nd edition". This chapter has
> everything you need to know about writing XSLT.
>
> Finally, get a program such as "xsltproc", and use it to apply the
> stylesheet to the XML document. For example:
>
> $ xsltproc -o file.html stylesheet.xsl file.xml

xsltproc and libxml2 in general are great tool, and faster than the Java 
counterparts.

> My 2c.
>
> --
> Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>
>
> GnuPG Key fingerprint =
> 5546 A6E2 1FFB 9BB8 15C3  CE34 46B7 8D93 3AD1 44B4
>
> Whoever says e-mail isn't secure?.. use PGP/GPG technology!
> <http://www.gnupg.org>
> For those still using  Windows:
> <http://www.glump.net/content/gpg_intro/html/gpg_intro.html>
>
> *** LINUX - MAY THE SOURCE BE WITH YOU! ***
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list