This stylesheet gives the same output as the previous one. The only difference is that the text which appears in the output is surrounded by xsl:text element. The fact that the outputs are identical is a chance. In fact, when xslt processor discovers a text which is not a part of mark-up, it automatically treats it as if surrounded by xsl:text element. This implicit treatment is based on a set of rules how to handle such a case. This implicit treatment can result in an output which differs from expected behavior as rules for merging text fragments can influence the way how spaces, line breaks and tabulators (whitespaces) are outputed.
It is better strategy to always explicitly use xsl:text for creation of text nodes (outputting text). In this way only whitespaces inside xsl:text are outputed and whitespaces appearing elsewhere inside template are ignored. This small hassle connected with writing of unnecessary elements is richly awarded by convenient finalizing of required output.
|
XSLT
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <xsl:text>Hello, world!</xsl:text> </xsl:template> </xsl:stylesheet> |
|
|
XML
<aaa/> |
Output
Hello, world!
|
| Previous chapter: | - - - |
| Next chapter: | Sequences |
| Previous page: | The first template |
| Next page: | Element xsl:value-of - getting data from the source document |
Quiksilver Board Shorts
Roxy Board Shorts
Volcom Board Shorts
Billabong Board Shorts
Quicksilver Board Shorts
Hurley Board Shorts
Quicksilveredition Board Shorts
Rusty Board Shorts
Reef Board Shorts
oneill Board Shorts
Ezekiel surf clothing Board Shorts
Paul Frank surf clothing Board Shorts
Mada surf clothing Board Shorts
Analog surf clothing Board Shorts
Quicksilver surf clothing Board Shorts
Jet Pilot surf clothing Board Shorts
Quicksilveredition surf clothing Board Shorts
Dakine surf clothing Board Shorts
Matix surf clothing Board Shorts
Reef surf clothing Board Shorts
O'neil surf clothing Board Shorts
Also, you will want to check out Stanton California so you can see what's up and they are part of Stanton City Hall as well.
You can also get Organic Skin Care products from Bliss Bath Body and you must check out their Natural Body Lotions and bath soaps
Now if you are looking for the best deals on surf clothing from Quiksilver and Roxy then you have to check these amazing deals here: quiksilver tees http://www.killerdana.com/killerdana/search2.asp?SearchResults.SearchHandle=QT1NZW5zIFNTIFRlZXN_Qj1NZW5zIFNTIFRlZXN_RD01OX5FPTBeMV4yXm51bV9uZXd_ST1QcmljZX5LPTR_TD0xfk09NH5OPTN_&SearchResults.SortAscending=False&SearchResults.SortBy=num_new&Answer=766
quiksilver shirt Quiksilver Shirt
quiksilver board short quiksilver board short
quiksilver clothing Quiksilver clothing
quiksilver apparel Quiksilver apparel
quiksilver jackets quiksilver jacket
quiksilver jeans Quiksilver Shirt
quiksilver shoes Quiksilver Shoes
quiksilver sweaters Quiksilver Sweaters
quiksilver tank Quiksilver Tanks
quiksilver tees Quiksilver Tops
quiksilver wetsuits Quiksilver Wetsuits
Hey, check out this Organic Skin Care European Soaps along with Natural Lavender Body Lotion and shea butter
This is the guy we need in government office. His name is Kevin Carr City Of Stanton Council Candidate and he is a great guy. and we can get surf t shirts surfing shirt and Swim Shop for swim wear wimming gear women's and men's This is the guy we need in government office. His name is Kevin Carr City Of Stanton Council Candidate and he is a great guy. and we can get surf t shirts surfing shirt and Swim Shop for swim wear wimming gear women's and men's