velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@4quarters.com>
Subject Re: How to use DVSL in a Servlet application?
Date Fri, 02 Jan 2004 23:05:09 GMT

On Jan 2, 2004, at 3:25 PM, Thomas Marsh wrote:

>>>> Any help is appreciated.
>>>>
>>>> I think I want to have a velocity template that processes an xml
>>>> document from the context. Is this possible?
>>>
>>> What do you want to do?  You have XML and want to produce some  
>>> output?
>>
>> Yes, I have XML returned from a database, and I can put it in my
>> velocity context in my servlet. I'd like to then process it into  
>> HTML. I
>> thought I might be able to use DVSL.
>
> Is this something I can use DVSL to do?

Yes, but you don't need to do this from a template.

You can just render the HTML out from the XML w/o having a velocity  
template.  You'll need a DVSL stylesheet, of course, so I guess you  
could say it's like having a template, but it's really not the same  
thing.

geir

>
>>
>>>
>>>>
>>>> TIA
>>>>
>>>> Tom
>>>>
>>>>
>>>> --
>>>> Tom Marsh
>>>>
>>>> mailto:marsht1@nitesco.com
>>>> http://www.nitesco.com
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail:  
>>>> velocity-user-help@jakarta.apache.org
>>>>
>>>>
>>> --
>>> Geir Magnusson Jr                                   203-247-1713(m)
>>> geir@4quarters.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail:  
>>> velocity-user-help@jakarta.apache.org
>>
>> --
>> Tom Marsh
>>
>> mailto:marsht1@nitesco.com
>> http://www.nitesco.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
> -- 
> Tom Marsh
>
> mailto:marsht1@nitesco.com
> http://www.nitesco.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>
-- 
Geir Magnusson Jr                                   203-247-1713(m)
geir@4quarters.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message