Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: help needed

From: Manish <hello@-----.--->
To: NULL
Date: 3/3/2004 5:06:00 PM
here is my problem

i have a xml file

<form> 
 	
	<participant>
		<name>Jenny</name>
		<gender>Male</gender>
	</participant>
	<participant>
		<name>Joe</name>
		<gender>Male</gender>
	</participant>
	<household>
		<partname>Bill Clinton</partname>
		<relationship>Husband</relationship>
	</household>
	<household>
		<partname>Hillary Clinton</partname>
		<relationship>Wife</relationship>
	</household>
	<other>
		<partname>Chelsea Clinton</partname>
		<relationship>Daughter</relationship>
		<whom>Bill</whom>
		
	</other>
	
</form>
         
what i am trying to do is write a Xsl file
i want to output some text that appears only 1 time for a participant
node,household node,other node
but as there are multiple participant,household,other nodes my text header
gets repeated
for every participant ,household,other node

for eg ( i want something like this )

		Some Header for participant
------content of participant node
------content of participant node

		Some header for household
------content of participant node
------content of participant node

		Some header for other
------content of participant node
------content of participant node

i hope i explained it properly

-- 
Regards
Manish


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent