Loading ...
Sorry, an error occurred while loading the content.

1397XML - problem with variable scoping

Expand Messages
  • luciflatum
    Nov 2, 2003
      Hi all!
      I am using the XML engine to embed dynamic content into an HTML page
      via Apache::ASP. What I need is a simple way to retain the values of
      the variables between different XML tags within the same page.

      Something like this:

      ---TOP OF PAGE---

      <my:display variable="loaded1"/>

      ---END OF PAGE---

      This layout triggers a problem: if I use the strict pragma I can't use
      the same variables (each my:: function is isolated in scope); if I
      declare a global variable in my::load_all there are all the usual
      conflicts between different sessions.

      Does anybody know how to fix this?


      To unsubscribe, e-mail: asp-unsubscribe@...
      For additional commands, e-mail: asp-help@...
    • Show all 5 messages in this topic