Subject: RE: rendering marginal XML
From: "Chris Bayes" <chris@xxxxxxxxxxx>
Date: Fri, 26 Oct 2001 17:16:18 +0100
|
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
|