You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axkit-dev@xml.apache.org by Matt Sergeant <ma...@sergeant.org> on 2003/07/09 16:49:09 UTC

[PATCH] Re: Proposal: XSP attribute interpolation

On Wed, 9 Jul 2003, Matt Sergeant wrote:

> I think we should take a leaf out of XSLT's book and allow
> interpolation in attributes, so that this would work:
>
>      if (my $n = $page->previous_page) {
>          <pagenav previous="1" page="{$n}">&lt;&lt;</pagenav>
>      }

Patch to implement this attached. Shall I apply it?

-- 
<!-- Matt -->
<:->get a SMart net</:->
Spam trap - do not mail: spam-sig@spamtrap.messagelabs.com

Re: [PATCH] Re: Proposal: XSP attribute interpolation

Posted by Jörg Walter <jw...@garni.ch>.
Am Wednesday, 09. July 2003 16:49, schrieb Matt Sergeant:
> On Wed, 9 Jul 2003, Matt Sergeant wrote:
> > I think we should take a leaf out of XSLT's book and allow
> > interpolation in attributes, so that this would work:
> >
> >      if (my $n = $page->previous_page) {
> >          <pagenav previous="1" page="{$n}">&lt;&lt;</pagenav>
> >      }
>
> Patch to implement this attached. Shall I apply it?

Looks fine. Please ;-)

-- 
CU
   Joerg