With xsl:character-map a uniform substitution of specified characters by a string can be achieved. xsl:character-map must be a child of xsl:stylesheet and it contains one or more xsl:output-characters. The character specifies the original character which is replaced by the value of attribute string.
Element xsl:result-document can have an attribute use-character-maps which specifies one or several named character maps to be used for the required substitution.
In the example the standard output does not use any character map while output to file "aaa.xml" substitutes some characters.
|
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:param name="outdir">/path/to/outdir</xsl:param> <xsl:character-map name="cmap"> <xsl:output-character character="@" string=" at "/> <xsl:output-character character="ࢮ" string="?!"/> </xsl:character-map> <xsl:template match="/aaa"> <xsl:copy-of select="*"/> <xsl:result-document href="{$outdir}/aaa.xml" use-character-maps="cmap"> <xsl:copy-of select="*"/> </xsl:result-document> </xsl:template> </xsl:stylesheet> |
|
|
XML
<aaa> <bbb>joe@enternetusers</bbb> <ccc>AࢮB</ccc> </aaa> |
Output
<bbb>joe@enternetusers</bbb> <ccc>AࢮB</ccc> aaa.html
<body> <h1>Title</h1> <hr> <p>text</p> </body> aaa.xhtml
<body> <h1>Title</h1> <hr></hr> <p>text</p> </body> aaa.txt
Title
text
aaa.xml
<body> <h1>Title</h1> <hr/> <p>text</p> </body> |
| Previous chapter: | Multiple stylesheets |
| Next chapter: | Context |
| Previous page: | Output in different formats: Surf, html, xhtml, and text |
| Next page: | - - - |
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