This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: rendering marginal XML
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] rendering marginal XML
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- Date: Fri, 26 Oct 2001 17:16:18 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
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