[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Special characters and Transformation

Subject: RE: Special characters and Transformation
From: "Khorasani, Houman" <Houman.Khorasani@xxxxxxxxxxxx>
Date: Fri, 5 May 2006 16:46:18 +0100
RE:  Special characters and Transformation
Wow it works.  Finally I understand what exactly you mean. I have to
conclude all the sub elements into the parent namespace in order to get
rid of the namespace.

Thank you so much, I have learned something very important today.

Regards
Houman

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: 05 May 2006 16:42
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Special characters and Transformation

>
> This is the result from what I get with my new code:
>
> <root xmlns="http://www.fo.com">
>  	<TEXT xmlns="">
>  		<Tag>bla</Tag>
>  	</TEXT>
> </root>
>
> What I am trying to achieve is this:
> <root xmlns="http://www.fo.com">
>  	<TEXT>
>  		<Tag>bla</Tag>
>  	</TEXT>
> </root>
>
>
> I am not trying to put <TEXT> into the same namespace, I am
> actually trying to get rid of the namespace completely for <TEXT>.

In the desired output above, the TEXT element is in the namespace
http://www.fo.com.

So if you want to achieve that output, you must put the TEXT element in
that
namespace, as previously advised.

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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.