Help - Search - Members - Calendar
Full Version: Xml / Xslt /xsl-fo Etc On Pdaxrom
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
allanjard
Hello all,

Does anyone know of any programs for pdaxrom that will let me perform xsl-fo etc transforms? The editor part is obviously just a text editor, although a specialist application would be nice as well. I couldn't see any, but there might be something I missed...

Thanks
Allan
jh
Well... libxml is currently in the pdaXrom, so that's a good start. I can't imagine compiling libxslt with the SDK would be too hard... I can actually give it a shot sometime today. That gets you started...

In my three-second google search I saw "xmlroff - xmlroff (http://xmlroff.sourceforge.net/) is a free open source project based on libxml2 and other GNOME libraries. It is written in C"

Is that something that would work for you? I wonder how many gnome libraries it actually uses... if it's not much than it should be ok to compile, too.

jason
allanjard
Hi Jason,

xmlroff certainly looks like it would probably work.

I must try and set up the SDK compiler on my machine.... (edit - I guess I can't - just looked and I don't see a cross compiler for PPC or a native on the c1000 sad.gif )

Thanks
Allan
jh
Ok... just tried to compile xmlroff... it has a dependency on libgnomeprint >= 2.8 but the version in pdaxrom is 2.6.2. I'm afraid if I try and compile a newer version of ligbnomeprint I might get into dependency hell and wind up compiling a good portion of gnome 2.8.

Maybe an older version supports an older libgnomeprint. I was able to compile the latest libxml2 and libxslt (xslt required an upgrade of libxml2), though.

jason
allanjard
That's wonderful - thanks. Any chance you could post them? I just remembered that I installed Virtual PC on my powerbook ages ago (used it at the time and not since...) so I'll try installing a cross compiler on that (its getting complicated... lol). Then I'll fidget around with whatever packages I can find as well.

Thanks
A
jh
QUOTE(allanjard @ Aug 18 2005, 12:58 AM)
That's wonderful - thanks. Any chance you could post them? I just remembered that I installed Virtual PC on my powerbook ages ago (used it at the time and not since...) so I'll try installing a cross compiler on that (its getting complicated... lol). Then I'll fidget around with whatever packages I can find as well.

Thanks
A
*


Sure, I'll make an ipk sometime today. Currently they'll install to /usr/local/* which might not be best since then you'll have two libxml installations. I think I'll redo libxml to install to /usr/* so it will upgrade the existing package.

At least with libxslt you'll have xsltproc to do transforms... I'll try a few when I install it on my Z.

As for VitrualPC... sashz and laze have been talking about a livecd that would work for compiling stuff... you might just be able to boot up VirtualPC off that ISO when it comes out...? I'm not familiar with virtualpc but I know vmware will boot off an ISO image.

jason
allanjard
Hi,

I think VirtualPC will boot a LiveCD, it certainly boots from CD for installing an OS (Windows...) so I think that is definitely my top option. I presume the compiler is gcc based, so I might have a look at setting up an environment for cross compiling in OSX as well.

Thanks very much for having a look at the xsl stuff for me - it is much appreciated!

Allan
jh
Here we go:

libxml2 2.6.20
and
libxslt 1.1.14

They'll both install into /usr/local/* so it won't clobber your existing libxml2. I've installed them both on my C1k and ran a quick xstlproc and it worked fine without modifying my LD_LIBRARY_PATH, etc...

Let me know if you have any problems. The libxml2 package is kind of big (4mb)... I could probably split that up into a couple ipks if it's a problem. It has some sample code, manpages, include files... stuff you probably don't need/want.

jason
allanjard
Fantastic - thank you very much. I'll give it a go on my Z when I get back home tonight. I'll let you know how I get on.

Allan
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.