[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: newbie questions
> as there is so little information available on XSL on the web, actually there's quite a lot, the archives of this list, the FAQ (at http://www.dpawson.co.uk) the zvon tutorials (linked from the faq), ... > I have no idea how to do this in XSL. something like the stylesheet at the end. Note that this is for the W3C XSLT Recommendation, you didn't say which XSL system you are using. If it is IE5 then that implements a very early draft of xsl which is essentially a completely different language. (However Microsoft have announced a preview of a standard xslt system `on 26th January'... David <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > <xsl:output method="html" indent="yes"/> <xsl:template match="column"> <p>[Manuscript: <xsl:value-of select="../..//@name"/>, folio: <xsl:value-of select="../@number"/>, column: <xsl:value-of select="@colnumber"/>]</p> <p> <xsl:for-each select="line"> [<xsl:value-of select="@linenumber"/>] <xsl:value-of select="."/><br/> </xsl:for-each> </p> </xsl:template> </xsl:stylesheet> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|