This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Value of next node


While  applying for-each or apply templates when i am on Node "ce1", I want 
to check if in the next node "ce2" contains "name" attribute or sub-element, 
or not. I cannot hardcode names "ce2". If there is something similar to
"following-siblings" which only takes me to next node.

<root>
	<components>
		<ce1 name='a'>
			<name>Account View</name>
		</ce1>
		<ce2 name='b'>
			<src>abc.gif</src>
		</ce2>
		<ce3 name='b'>
			<src>abc.gif</src>
		</ce3>
	</components>
</root>

Thanks and Regards,

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]