[XML-DEV Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xml-dev] XML friendly runtime templating languages
- To: Robert Koberg <rob@...>
- Subject: Re: [xml-dev] XML friendly runtime templating languages
- From: "M. David Peterson" <m.david.x2x2x@...>
- Date: Mon, 28 Mar 2005 22:44:20 -0700
- Cc: XML Developers List <xml-dev@...>
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Y8zRsbHtd+ObpbNhe+sKaPLA+j2KuHUStRaQx0ydfTenaSd16soo62Gso4CFZxuNIh2A0ka9UEuCE50l5/pOLO2MRqpyngBAc7NRDgvAAVw9pT5Ka11rCg5WPu/J86cZRUi7/fp4ZZN6adXOZcpgEYQ8E3FyUXMpTvtyZSfK9Uk=
- In-reply-to: <4248E18B.4060007@...>
- References: <4248B15C.8050204@...> <f8da4eba05032820407473bf9c@...> <4248E18B.4060007@...>
- Reply-to: "M. David Peterson" <m.david.x2x2x@...>
And in fact checking your post again I do see where you bring this out...
I saw this
<snip/>
I posted a minor annoyance about
still having to do some redundant coding for SGML attribute minimazation
brought into XML:
#set ($isChecked = $page.getBoolean("isChecked"))
#if ($isChecked)
<input ... checked="checked"/>
#else
<input .../>
#end
</snip>
which at the end of a long dev-day triggered a response focused on
something you obviously didnt want. I wonder, do they have a bit
recycling facility over on your side of the internet or are you stuck
with this for the long term? ;)
Enjoy your XSLT infested evening...
On Mon, 28 Mar 2005 21:03:07 -0800, Robert Koberg <rob@...> wrote:
> M. David Peterson wrote:
> > Hi Robert...
> >
>
> Hi M.,
>
> > There are lots of different ways you can hack your XSLT to conform
> > more to your desired format but probably the easiest is simply:
> >
> > <input>
> > <xsl:if test="boolean(@checked)">
> > <xsl:attribute name="checked">checked</xsl:attribute>
> > </xsl:if>
> > </input>
>
> Yea, I know how to do it in XSL. That was not the question. I distinctly
> said I wanted to avoid XSL as a runtime templating language. I am using
> XSL to produce (pre-generate) the runtime template language pages that
> are scalable and performant in a high volume environment.
>
> >>*I was wondering if there are other runtime templating languages out
> >>there that I am missing.* I am not including XSLT for runtime processing
> >>because of its need to parse the XML source for each transformation.
> >>
>
> best,
> -Rob
>
--
<M:D/>
:: M. David Peterson ::
XML & XML Transformations, C#, .NET, and Functional Languages Specialist
|