xsltProcessor setParameter : send an undefined number of params

前端 未结 3 1888
眼角桃花
眼角桃花 2021-01-23 04:24

I have an XSL file.

I have a PHP file with a XSLTProcessor named $bob.

I want to send to my xsl transformation some parameters.

So, I write

3条回答
  •  余生分开走
    2021-01-23 04:45

    How about concatenation in PHP?

    $bob->setParameter("", "message", "Hi:it's bob:How are you ?");
    

    and tokenization in XSLT code:

    
    
    
    
    
    
    
    

提交回复
热议问题