xsl-list
[Top] [All Lists]

[xsl] [XML namespaces]

2009-03-23 21:33:17
I am having trouble processing the following XML containing
namespaces. I couldn't extract the value of namespaced tags.

<item>

...

<dc:source>http://blog.myspace.com/kristindunngalbraith</dc:
source>

<weblog:title></weblog:title>
<weblog:description></weblog:description>

<dc:lang>en</dc:lang>
<weblog:tier>3404</weblog:tier>

...
</item>


For instantece, how can I extract the <dc:source> value through XSLT ?
Can I use <xsl:for-each select:"dc:source"> ? Why not ?

I thank you in advance




--
Pedro Henrique Marques Lira
Laboratório Nacional de Computação Científica
Av. Getúlio Vargas, 333. Sala 1A-24
Petrópolis - Rj

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>