> what i do for that is write a specific php function to build xml data
> from database and put it in a phpvar for instance $xml
>
> same for xsl
>
> and then  run
> xslt_process($xsl,$xml,$ouput) ;
> print($output) ;
>
> the problem is that it is not streamline like the equivalent xml_parse
> () php function from expat.

 In addition xslt_process() doesn't allow to set XSL params.

> maybe this is too rudimentary for whar you want ?

 Yes. I want to use in XSL templates such things as:
  document('db:/user_properties/user_id')/text_size  and
  <xsl:include href="db:/system_properties/layout_rules/layout_id"/>


 One way that I see to do that is to change sablot php module
(ext/sablot.c).
 But it's not correct method IMHO.


> > > >  Is it possible to set your own schema handler under php
> 4.0.4pl1?
> > >
> > > Hi I don't understand your question
> >
> >  I mean URI scheme different from 'file:' and 'arg:'.
> >
> >  I want some my XML documents and XSL templates to be requested from
> > database by Sablotron.
> >  For example by 'db:' scheme.
> >
> >  Sablotron allows to set URI scheme handler.
> >
> >  But php 4.0.4pl1 sablot module doesn't (only SAX handler, and error
> > handler).
> >
> >  I want to find a way to do that.


Reply via email to