[
Lists Home |
Date Index |
Thread Index
]
Title: Message
Hi,
well, can anyone help me with xsl stylesheet ?
Well I got an xml
document beginning by :
<?xml
version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet
type="text/xsl" href="Finharmony.xsl"?>
(this header is
compulsory)
now I try to make an
XSL stylesheet in order to present the data :
when I'm using a
stylesheet containing :
<?xml
version="1.0" encoding="ISO-8859-1"?>
...
I don't really
understand why this statement gives me a result :
<xsl:value-of
select="/myDom:group/Test:myTag" />
whereas
:
<xsl:for-each
select="/myDom:group">
<xsl:value-of select="Test:myTag" />
</xsl:for-each
>
does not
return anything ...
Could anyone tell me
what I should do in order to get a result whil I'm using a namespace in the xml
file ?
Because If I change
the xml file with :
and if I change the
xsl file with :
<xsl:for-each
select="/group">
<xsl:value-of select="Test:myTag" />
</xsl:for-each
>
everything is
working right .. :-//
So if anyone as an
answer thanks a lot !
Thanks in
advance
Arch
|