RE: [xsl] Special characters and Transformation

Subject: RE: [xsl] Special characters and Transformation
From: "Khorasani, Houman" <Houman.Khorasani@xxxxxxxxxxxx>
Date: Fri, 5 May 2006 16:33:36 +0100
Sorry guys for the misunderstanding and thanks again for your advice.

I am a bit confused now:

This is the result from what I get with my new code:

<root xmlns="";>
 	<TEXT xmlns="">

What I am trying to achieve is this:
<root xmlns="";>

I am not trying to put <TEXT> into the same namespace, I am actually
trying to get rid of the namespace completely for <TEXT>.

The code is again here for a quick reference: (Sorry for the formatting.
This is the way we have to use in the company I got meanwhile totally
used to it. :)

<?xml version="1.0" encoding="us-ascii"?> <xsl:stylesheet version="1.0"
xmlns:f=""; exclude-result-prefixes="f">
	<xsl:output method="xml" version="1.0" encoding="us-ascii"

	<xsl:template match="/">
		<xsl:apply-templates select="*"/>

	<xsl:template match="f:root">
		<xsl:element name="root" namespace="";>

	<xsl:template match="f:TEXT">
		<xsl:element name="TEXT">
			<xsl:element name="Tag">
				<xsl:value-of select="f:Tag"/>

Thanks you

Current Thread