xsl-list
[Top] [All Lists]

RE: how to match true and false and display yes and no instead?

2005-07-27 12:28:11
That's funny. When I'm working with HTML my editor of choice is TextPad
and when I'm using XMLSpy I usually have my files open in TextPad at the
same time so I can switch between the two. Sometimes I just want the
bells, but not the whistles.

-----Original Message-----
From: JBryant(_at_)s-s-t(_dot_)com [mailto:JBryant(_at_)s-s-t(_dot_)com] 
Sent: Wednesday, July 27, 2005 12:27 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] how to match true and false and display yes and no
instead?


I hadn't thought of that. I'm still grinding along with a text editor, 
curmudgeon that I am.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




"Michael Kay" <mike(_at_)saxonica(_dot_)com> 
07/27/2005 02:15 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
<xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
cc

Subject
RE: [xsl] how to match true and false and display yes and no instead?






Rather than

<xsl:apply-templates select="profile/kid"></xsl:apply-templates>

you can do

<xsl:apply-templates select="profile/kid"/>

which will save you some typing.

I think the use of separate begin/end tags is usually due to the use of
certain XML editors rather than to a fondness for keystrokes. 

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--