Less Readable -maybe- More elegant

Also we could have (Less Readable -maybe- more elegant)

1.1.1 Render Alternative Content [was 1.1.3]: For any content element,
the user can choose to render any types of recognized alternative
content that are present. (Level A)

Precondition p1: There is a means for a user to select that alternative
content be rendered.

Test 0001 Assertion: The user can choose to render any type of
alternative content that is available for any element

IF content_element contains alternative_content THEN
	indicate alternative_content is available
ENDIF

IF content_element contains anchor to alternative_content THEN
	indicate alternative_content is available
ENDIF

IF alternative_content chosen (Predicated on p1) THEN
	IF anchor THEN
		BEGIN
			resolve anchor; retrieve content
			generate alternative_content from retrieved
		EXCEPTION
			WHEN content not retrievable
				alternative_content = error_message
		END	
	ENDIF
	render alternative_content
ENDIF


-- 
Si.

PS I check my email at 08:00 and 17:00 GMT. If you require a faster
response please include the word 'fast' in the subject line.

=======================
Simon Harper
My Business Card   - http://simon.harper.name/about/card/
Schedule a Meeting - http://doodle.com/simon.harper.name

University of Manchester (UK)
Web Ergonomics Lab - Information Management Group
http://wel.cs.manchester.ac.uk

Received on Monday, 20 May 2013 11:29:22 UTC