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

Re: question about construct of xml tag with namespace

Subject: Re: question about construct of xml tag with namespace
From: Dmitri Snytkine <d.snytkine@xxxxxxxxx>
Date: Sun, 31 May 2009 19:36:35 -0400
Re:  question about construct of xml tag with namespace
Thank you. I will be using the <content:encoded> then, since my
document is for a browser-based xsl transformation and that's how the
tag usually looks like in all RSS 2.0 feeds.

On Sun, May 31, 2009 at 7:19 PM, Vyacheslav Sedov
<vyacheslav.sedov@xxxxxxxxx> wrote:
> they are same when xmlns:content="content" declared at ancestor for second
> <encoded xmlns="content">some content</encoded> is prefered in most
> cases (see XHTML, ODF, OOXML)
> <content:encoded>some content</content:encoded> is used mostly in
> cases when elements from other namespaces mostly mixed (xslt is good
> example - we are usually use xsl: prefix)
> with best wishes,
> Slav
> On Mon, Jun 1, 2009 at 2:49 AM, Dmitri Snytkine <d.snytkine@xxxxxxxxx>
>> Hello!
>> This is not specific to xslt, it's related to xml in general.
>> Are these 2 tags basically the same:
>> <encoded xmlns="content">some content</encoded>
>> and
>> <content:encoded>some content</content:encoded>
>> If they are the same, then which one is better to use?

Current Thread


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.
First Name
Last Name
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.