RE: [xsl] output an apostrophe

Subject: RE: [xsl] output an apostrophe
From: aruniima.chakrabarti@xxxxxxxxxxxxxxxxxx
Date: Fri, 1 Nov 2002 19:10:38 +0530
I was trying to output an xsl which has the following node...
<xsl:value-of select="child::*[name()='label']/@val_id"/>

i got the solution to my problem in this case... 
that is... write the statement as the following instead..
<xsl:value-of select="label/@val_id"/>

but meanwhile I came with the problem that what if I want to output the
string 
child::*[name()='label']/@val_id
on screen... 
cud not solve this... :(.... is there a solution to this??
Thanks...

Regards,
aruniima

 -----Original Message-----
From: 	David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent:	Friday, November 01, 2002 6:51 PM
To:	xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:	Re: [xsl] output an apostrophe


> want to output the following as a literal string

you need to give more information, what are you doing and what does the
system do that you say doesn't work, and what is that system?

a template of the form

<xsl:template
match="xxx">child::*[name()='mntoption']/@value</xsl:template>

should put the literal characters child::*[name()='mntoption']/@value
into the output.


David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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



DISCLAIMER:
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. E-mail transmission cannot be
guaranteed to be secure or error-free as information could be intercepted,
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message, which arise as a result of e-mail
transmission. If verification is required please request a hard-copy
version

----------------------------------------------------------------------------

This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--------------------------------------------------------------------------


DISCLAIMER:
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version

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


Current Thread