xsl-list
[Top] [All Lists]

Re: APOSTROPHE in select="..."

2002-12-16 06:46:32

 anyone can tell me how can I generate an apostrophe character

this is a FAQ

To get an apostrophe in a string you need to use " to delimit the
string so you just need the Xpath expression "'"

To get the three characters "'" into an XML attribute is a question
about XML not XPath or XSLT, there are several ways, for example either
of the following:

select=""'""
select='"'"'

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



<Prev in Thread] Current Thread [Next in Thread>