I was pretty simple.  I followed the instructions in the INSTALL file:

1.  ./configure
2.  make
3.  make install

How are you serving the page?  I used the script written by Justin
Grant on phpbuilder.net to get started.  I used my own XML and
XSLT.  It was interesting.  I had to tweak the XSLT script slightly.
There are still some differences between how Sablotron parser renders
the html and IE 6.0 and Saxon render the XSLT.  I have to look into
it further.

Step 1 was getting it working.

If you are interested here is my test data:

   http://www.eccnet.com/php/test-xslt.php

Hope this helps.   

Betty

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |        
[EMAIL PROTECTED]                    | Washington,DC SGML/XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  

On Fri, 15 Jun 2001 [EMAIL PROTECTED] wrote:

> can you send me please the compiling instructions that you have used for sablotron 
>to run correctly in php?
> My problem is that my php (4.0.5) is now compiled correctly with sablotron and it 
>recognise it functions but when i try a transformation just gives me nothing i ve 
>tried with many xml and xsl even with examples that sablotron users send me..
> whats this problem? thanks
> 
> 
> 
> --------------------------------------------------------------------------
> 14/06/2001
> Betty Harvey <[EMAIL PROTECTED]>
> --------------------------------------------------------------------------
> >
> >
> >Pavel:
> >
> >     Thank you very much.  I downloaded php4.0.5 and 
> >recompiled with this version and works!!! Yeah!!!  I felt
> >like I was beating my head against a brick wall.
> >
> >Betty
> >
> >///////////////////////////////////
> >Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
> >Electronic Commerce Connection, Inc. |        
> >[EMAIL PROTECTED]                    | Washington,DC SGML/XML Users Grp
> >URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
> >////////////////////////////////\//  
> >
> >On Thu, 14 Jun 2001, Pavel Hlavnicka wrote:
> >
> >> 
> >> There is problem with versions. Old sablotron (and PHP extensin) used 
> >> the older version of expat - libxmltok and libxmlparse. Newr version use 
> >> new expat - libexpat
> >> 
> >> Problem is, taht your PHP extension tries link with older librarie which 
> >> are not present on your system.
> >> 
> >> You have to upgrade the version of the extension or find the file where 
> >> -lcmltok and -lxmlparse are specified and replace them with -lexpat.
> >> 
> >> HTH
> >> 
> >> Pavel
> >> 
> >> Betty Harvey wrote:
> >> 
> >> > I have an installation of PHP and MySql.  This is working well.
> >> > I am trying to compile PHP with Sabletron support.  My environment
> >> > is Redhat Linux 7.0
> >> >    php-4.0.4pl1
> >> >    Sablot-0.52
> >> > 
> >> > When I compile PHP with the following command:
> >> > 
> >> > compile --with-mysql --with-apxs --with-sablot
> >> > 
> >> > the compile goes fine.  However, when I go to install it,
> >> > I get the following error:
> >> > 
> >> > /usr/bin/ld: cannot find -lxmltok
> >> > collect2: ld returned 1 exit status
> >> > make[1]: *** [libphp4.la] Error 1
> >> > make[1]: Leaving directory `/home/harvey/php-4.0.4pl1'
> >> > make: *** [install-recursive] Error 1
> >> > 
> >> > Does anyone have any suggestions?
> >> > 
> >> > Betty
> >> > 
> >> > ///////////////////////////////////
> >> > Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
> >> > Electronic Commerce Connection, Inc. |        
> >> > [EMAIL PROTECTED]                    | Washington,DC SGML/XML Users Grp
> >> > URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug/
> >> > ////////////////////////////////\//  
> >> > 
> >> 
> >> 
> >> 
> >> 
> >
> >
> >

Reply via email to