| Store | Cart

Re: maxvars

From: Thomas Krichel <kric...@openlib.org>
Wed, 7 Jan 2015 22:44:43 +0000
  Bjoern Hoehrmann writes

> You can write complicated functions in Perl using `register_function`.

  Yes. Actually I have done that in the past, and it worked. 
  But there are architectural considerations that make this approach
  not what I am looking for. 

  I could also prep the data in the DOM, to split textual values, say
  into <line> elements. But that would be very complicated once I want
  to layout several columns. Incidentally it was at the attempt of
  several columns that I first hit this maxvars issue.

  All this because there a limit here that most people would 
  agree with makes no sense on modern hardware.

> I forget whether there is a way to check in the XSLT whether a Perl> helper function is available (and use the XSLT-only version> otherwise).

  Yes, there is I think. 

> Also it might be an option to use http://exslt.org/ extension> functions. I would consider that for performance and stability> reasons in any case.

  I am not sure how that would make the requirement for variable
  creation at recursion go away. I need to create at least one
  variable at each recursion step, don't I? I could try to compress
  all information I need at any recursive step into one variable, but
  it would make the code close to unreadable.

-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel
_______________________________________________
Perl-XML mailing list
Perl...@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Recent Messages in this Thread
Thomas Krichel Jan 06, 2015 11:25 pm
Shlomi Fish Jan 07, 2015 09:38 am
Thomas Krichel Jan 07, 2015 09:07 pm
Bjoern Hoehrmann Jan 07, 2015 10:17 pm
Thomas Krichel Jan 07, 2015 10:44 pm
Nick Wellnhofer Jan 07, 2015 10:52 pm
Thomas Krichel Jan 07, 2015 11:03 pm
Nick Wellnhofer Jan 07, 2015 11:22 pm
Thomas Krichel Jan 08, 2015 07:49 pm
Messages in this thread

Previous post: Re: maxvars
Next post: Re: maxvars