perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Multiple xml inputfiles?
Date Thu, 07 Nov 2002 21:13:09 GMT


> In JSP you can do this:
>         <xsl:apply xsl="/xsl/programcalendar_xml.xsl">
>         <programdata>
>         <%= ServletCaller.get("getcalendarXML",props)
> %>
>         <%= ServletCaller.get("getprogram",props) %>
>         </programdata>
>         </xsl:apply>
>

Do

Execute ({inputfile => 'my.xml', recipe => 'EmbperlLibXSLT',
xsltstylesheet => 'posts.xsl'})

and my.xml contains

         <programdata>
         [- Execute ("getcalendarXML") -]
         [- Execute ("getprogram") -]
         </programdata>


if the xmls files doesn't contain any Embperl command you may want to change
the Execute calls to

         [- Execute ({inputfile => "getcalendarXML", syntax => 'Text'}) -]

to avoid missinterpretation of the content

Hope this helps

Gerald



-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message