ASP Error: 70
Description: Permission denied
Source: Microsoft VBScript runtime error

[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Questions about footnotes

Subject: RE: Questions about footnotes
From: Stuart Brown <sbrown@xxxxxxxxxxx>
Date: Tue, 21 Jan 2003 17:01:32 -0000
footnotes before or after period
Hi Gustaf,


> 1. The first is off-topic to XSL, but I expect to find the 
> knowledge among
> you. If a footnote number appears at the end of a sentence, 
> should it be
> before or after the period? I've seen both. Is it a matter of 
> culture? Do
> you prefer this?

I prefer to put the footnote after the period if it is a clarification of
the whole clause, or before it if it merely refers to word(s) which happen
to end the sentence.

> 2. Sometimes there are more footnotes on one sentence:
> 
>   ...and three footnotes.^[1, 2, 3] <-- This means everything 
>                                         inside the brackets are
>                                         in superscript.
> 
> The markup (abbreviated) may look like this:
> 
>   <p>...and three footnotes.<note/><note/><note/></p>

You need to test if the following node (no matter what type it is) is a
note. following-sibling::*[1] will return the next element node, and so
would return true for "hello<note/> world<note/>" so you need:

<xsl:if test="following-sibling::node()[1][self::note]">

is the correct test. This would, however, fail if there was white space
between the nodes and you did not have xsl:strip-space in place.

> 3. I forgot the third question while writing. It will pop up 
> when I send this.

The answer's 73.

Hope that helps,

Stuart

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.