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]

RE: rendering marginal XML


This should do it

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
	<xsl:template match="/msgs">	
		<html>
			<head></head>
			<body><xsl:apply-templates
select="msgSent/status" /></body>
		</html>
	</xsl:template>
	<xsl:template match="status">
		<xsl:value-of select="preceding-sibling::r" /> ERROR:
<xsl:value-of select="." /> AT: <xsl:value-of
select="preceding-sibling::recieved" /><br />
	</xsl:template>
</xsl:stylesheet>

Ciao Chris

XML/XSL Portal
http://www.bayes.co.uk/xml


 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]