The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Re: XML Generation in VisualWorks

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Re: XML Generation in VisualWorks Posted: Sep 6, 2005 9:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Re: XML Generation in VisualWorks
Feed Title: Michael Lucas-Smith
Feed URL: http://www.michaellucassmith.com/site.atom
Feed Description: Smalltalk and my misinterpretations of life
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Michael Lucas-Smith

Advertisement

Spotted in At Least You're not Totally Engulfed in Flames. This guy is playing with the XML DOM tree in VW (which is exceptional btw!) and he's trying to make an RSS feed by building up the XML document.

James Robertson has modelled the RSS objects so that he can generate an RSS feed from regular objects, not XML.

And I generate RSS using SimpleWeb which has an API like the following:

self rss: [:rss |
	rss description: 'This is my description'.
	rss item: [:item |
		item title: 'This is my item'.
		item description: 'This is the description of the item']]. 
 

So on and so forth. Both techniques work well for reducing noise in the code and allowing you to abstract things further than just an XML DOM tree.

Read: Re: XML Generation in VisualWorks

Topic: Next up - comment registration for Silt Previous Topic   Next Topic Topic: Implementing Ajax.NET-based Lookup Server Control

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use