xsl-list
[Top] [All Lists]

Re: [xsl] inserting tabs

2008-03-14 05:59:48
You can output a tab anywhere you like using

<xsl:text>&_#x09;</xsl:text>

The stylesheet can't refer to an entity declared in the source document, but
you could if you wanted declare an entity in the stylesheet document, in
which case you would be able to write &_tab; instead of &_#x09;

Ignore all the underscores in this message, they are to defend against mail
systems trying to be clever and failing. 

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

-----Original Message-----
From: oryann9 [mailto:oryann9(_at_)yahoo(_dot_)com] 
Sent: 13 March 2008 00:30
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] inserting tabs

Hello all, 

I searched through the archives and found some relevant data 
however I am still "missing the boat."
I am having xml do the inserting of tab in my xml output but 
rather should have xsl insert tabs into my xml output.
I am a newbie and this is a question for my online class. How 
do I insert tabs after each entry in my xsl code? 
For example, Jeff     Peng    

thank you



In my xml DTD doc I declare an entity like so:
<!DOCTYPE CONTACTS [
<!ENTITY tab "&#x09;">





Ok thank you!



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


--~------------------------------------------------------------------
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>
--~--

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