they are same when xmlns:content="content" declared at ancestor for second case
<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(_dot_)snytkine(_at_)gmail(_dot_)com> wrote:
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?
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--