Tobias,
let me answer the few questions not related to PHP (which I have no
experience with):
(1) contains() is implemented; it should work OK in Sablot 0.50 and
0.51. If there's a problem please send the XSL/XML files.
(3) the content type of the output document can be specified using
<xsl:output media-type="image/svg+xml"/>
(another message) xsl:strip-space is not implemented yet.
Tom
Tobias Reif wrote:
> Hi;
>
> I'm using sablotron as a PHP-module (installed by
> PHP-triad 1.4).
>
> 1.
> Is the XPath-function
> contains()
> implemented? I seem to have problems with it.
>
> 2.
> What would be the simplest and shortest PHP-file to
> start a transformation (one XML-file with one
> XSLT-file) and pass values for variables in the XSLT
> from a HTML-form?
> What would the PHP-file look like to transform
> contacts.xml
> with
> contacts.xslt
> with the value "postal_only" for the variable
> $level_of_details
> in the XSLT:
>
> <xsl:param name="level_of_details"/>
>
> 3.
> I have an XML-file contacts.xml which I transform to
> SVG with contacts2SVG.xslt using saxon; it works.
> I'm also able to transform XMLs to HTML using
> sablotron as a PHP-module.
> I'm also able to generate SVGs with PHP.
> How to transform XML-files into SVG-files with XSLT
> and sablotron?
> How to set the extension ".svg" and the MIMEtype
> "image/svg+xml"?
>
> Tob
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
>
>