W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2003

RE: TR/xquery-operators/#func-doc

From: <David.Pawson@rnib.org.uk>
Date: Wed, 14 May 2003 10:22:17 +0100
Message-ID: <9B66BBD37D5DD411B8CE00508B69700F049E1798@pborolocal.rnib.org.uk>
To: public-qt-comments@w3.org

That's what I was missing.
I'm happy with that.
  Be prepared for the fuss though.
  'I have to re-write all my stylesheets'


Thanks Jeni.

regards DaveP>
.


> Rather than using the above (or the above with namespaces) as data
> elements in your stylesheet and then doing something like:
> 
>   <xsl:value-of 
> select="name(document('')/*/my:months/*[$monthNum])" />
> 
> you would declare a global variable:
> 
> <xsl:variable name="months">
>   <January />
>   ...
> </xsl:variable>
> 
> and then do:
> 
>   <xsl:value-of select="name($months/*[$monthNum])" />

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 
Received on Wednesday, 14 May 2003 05:22:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:24 GMT