[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Formatted output


Subject: [xsl] Formatted output
From: "Satish, L. Gnanendra" <LGnanendra.Satish@xxxxxxxxxx>
Date: Fri, 20 Sep 2002 13:29:33 +0200

Hello,
 I have a xml such as this (which is shown simpler):

<Behaviour>
 <BehaviourInfo ID="1">
	<Trap><Name>Trap1</Name></Trap>
	<Message><MessageLevel>Major</MessageLevel></Message>
 </BehaviourInfo>
 <BehaviourInfo ID="2">
	<Trap><Name>Trap2</Name></Trap>
	<Message><MessageLevel>Minor</MessageLevel></Message>
 </BehaviourInfo>
 <BehaviourInfo ID="3">
	<Trap><Name>Trap3</Name></Trap>
	<Message><MessageLevel>Cleared</MessageLevel></Message>
 </BehaviourInfo>
 <BehaviourInfo ID="4">
	<Trap><Name>Trap4</Name></Trap>
	<Message><MessageLevel>Critical</MessageLevel></Message>
 </BehaviourInfo>
</Behaviour>

I would like an HTML output like:
"An alarm messge is triggered by the traps 'trap1, trap2, trap4' and will be
cleared when the trap 'trap3' comes in."

any suggestions on this?

thanx in adv,
Gnanendra.
- - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - 
This e-mail and any attachments may contain information which is
confidential, proprietary, privileged or otherwise protected by law. The
information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee). If you are not the intended
recipient of this message, you are not authorized to read, print, retain,
copy or disseminate this message or any part of it. If you have received
this e-mail in error, please notify the sender immediately by return e-mail
and delete it from your computer.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml