Subject: [XML namespaces]
From: Pedro Henrique Marques <pedrohml@xxxxxxxxx>
Date: Mon, 23 Mar 2009 22:32:52 -0300
|
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
Laboratsrio Nacional de Computagco Cientmfica
Av. Getzlio Vargas, 333. Sala 1A-24
Petrspolis - Rj
|