[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RE: Subject: Seeking methods using XSLT from PHP -

Subject: RE: RE: Subject: Seeking methods using XSLT from PHP - sablotroninstallation
From: Gary Cornelius <gary.cornelius@xxxxxxxxxxxxxxx>
Date: Tue, 22 Apr 2003 16:33:47 +0100
string into array xslt
Neil and Hans,

We have tried not to use any MS propietary syntax and extensions although I
hope to use the EXSLT ones in the near future. The main problem we had with
the Sablotron are largely due to lack of support for all our imported
stylesheets in our library.  As well, I am not sure that it supports
generate-id() and some of the other function that we have already used
extensively throughout xslt library. So, it looks like too much work for us
to use this method!

My colleague has been having some success with the Gnome libxml & libxslt
and presently it looks the least work to convert to, although that's still
not perfect either we have some problems with lots of the CDATA sections and
are still also trying to find out whether this is a viable alternative. I
would much rather use a Java processor myself if I could convince my
colleagues who are mainly interested in databases (particularly as the new
Xalan has all the EXSLT extentions built in!!)

Kind Regards

Gary

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Braumüller,
> Hans
> Sent: 22 April 2003 09:37
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Subject:  Seeking methods using XSLT from PHP -
> sablotron installation
>
>
> Hi Neil,
>
> i guess Gary uses MS propietary syntax and extensions.
>
> Neil, it is possibly to install sablotron through ftp if i don
> not have access to root, shell on a shared virtual hosting ? SSI,
> Php 4, Perl, CGI, MySql is installed on unix/apache.
>
> Thanks,
>
> Hans Braumüller
> -- + --
> Mail Art Not War
> http://crosses.net
>
>
> Hi Gary - just up the road from me hehe (I'm in Bristol)
>
> What sort of problems are you having - your description was
> (necessarily ?
> ) wooly, but I started with this last week - nothing too stressful but it
> worked a charm once I got my xslt right :-)
>
> Sablotron to me seems really transparent - just feed it an xml file (or
> string), a stylesheet (or string) and some parameters, it goes
> off and does
> its bit just as well as the M$ +javascript handlers.
>
> Let us know a bit more about your problem, perhaps some examples.
>
> Here's what I use for an example :
>
>          $xsltproc = xslt_create();
> // create new processor instance
>          xslt_set_base($xsltproc,
> "file://f:/htdocs/hillmanonline/calendar/");
> // set base directory (convenience method)
>          $params=array("current"=>$current,"guid"=>time());
> // hand the processor some params to pass into the stylesheet
>          $args=array();
> // dunno about this, but it needs to be an array - even an empty
> one is fine !
>
> $result=xslt_process($xsltproc,"icalendar.xml","vcal.xsl",NULL,$ar
> gs,$params);
> // Get transformed output as a string into the $result variable
>          print($result);
> // pump out the response
>
>
> Regards
> Neil Smith.
>
> At 11:16 11/04/2003 -0400, you wrote:
> >Date: Fri, 11 Apr 2003 16:06:28 +0100
> >From: Gary Cornelius <gary.cornelius@xxxxxxxxxxxxxxx>
> >Subject:  Seeking methods using XSLT from PHP?
> >
> >Hi,
> >
> >I really like to very much like to know if anyone is working successfully
> >with XSLT and PHP in some way and if so how they think to best
> approach the
> >problems?
> >
> >I am actually attempting to switching over to PHP linux from Jscript
> >MicrosoftMSXML - Initiallly I have been having a lot problems
> with Sablotron
> >due to a large amount of inheretance in the stylesheets, id functions and
> >several other bits and pieces!
> >
> >Things going through my mind!! I am wondering if libxml or something else
> >would lessen these problems!  Or, whether there is a way I can use a Java
> >processor like Xalan or something else from the PHP... can
> anyone be so kind
> >as to enlighten me on this?
> >
> >Thanks in advance for any pointers or suggestions
> >
> >Gary
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>
> ________________________________________________________________________
> This email has been scanned for all viruses.
>


________________________________________________________________________
This email has been scanned for all viruses.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.