|
Subject: [xsl] another namespace question From: Fred Christian <fredc@xxxxxxxxxx> Date: Wed, 14 Jan 2009 10:46:07 -0800 |
______ Input XML ____________________ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <DD> <this>The Theta character θ</this> <that>A non math character Σ</that> <that>A non math character ≈</that> </DD>
____________ XSLT __________________ <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="2.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="UTF-8" indent="yes" method="xml"/> <xsl:output encoding="iso-8859-1" method="xml" indent="yes" name="xml"/>
</xsl:stylesheet> --------------------------------------------
_______ Default output ______________ <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml"> <body>a bunch of stuff <i>goes here</i>.</body> </html> --------------------------------------------
____ What I wish anotherOutputFile.xml looked like _________
<?xml version="1.0" encoding="iso-8859-1"?>
<DD>
<this>The Theta character θ</this>
<that>A non math character <span>Σ</span>
</that>
<that>A non math character <span>≈</span>
</that>
</DD>
--------------------------------------------| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Using XSLT as a namespace, Nathan Potter | Thread | Re: [xsl] another namespace questio, Fred Christian |
| Re: [xsl] Using XSLT as a namespace, Nathan Potter | Date | Re: [xsl] another namespace questio, Fred Christian |
| Month |