perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <>
Subject Re: Custom Tags with XMLSubsMatch
Date Sun, 10 Feb 2002 22:23:47 GMT
Martin Huber wrote:
> I understand what you mean, but I do not want to have
> dynamic data within XMLSubs, I want to have dynamic generated XMLSubs.
> So i try to explain my problem in more detail.
> Someone requests for example the document getDynamicdata.asp.
> If this is an static XML-document the XMLSubsMatch will work as expected,
> but imagine, that within this document I call a subroutine from
> global.asp which will receive an XML-document from a server via socket
> connection and I want to have XMLSubsMatch on this data too within getDynamicdata.asp.

Hey Martin,

I think I get this.  To render dynamic data with XMLSubs, you need to
execute an arbitrary ASP script at runtime.  To do this, use the 

  $Response->Include(\$script_data, @args) 

version of the API.  For more on this, see

which is a section I just added about this.  I would recommend
looking into using something like XML::Simple or XSLT for 
complex XML that you do not want to render with XMLSubs.  
For more info on XSLT integration in Apache::ASP, see
the $Server->XSLT API at:

Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA                1-714-625-4051

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message