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

  http://www.apache-asp.org/objects.html#%24Response-%3EI368566a8

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:

  http://www.apache-asp.org/objects.html#%24Server-%3EXSL7df794aa

--Josh
_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to