|
Subject: [xsl] XSLT/XPATH Namespace conflict ? From: "Horacio Escalada" <HEscalada@xxxxxxxxxx> Date: Tue, 27 Apr 2004 11:29:05 -0400 |
Hi everyone,
I applying a transformation to this XML
</ActivityHeadersWrapper>
<ActivityHeaders xmlns="">
<ActivityHeader xmlns="http://tempuri2.org">
<GId xmlns="">55A7FFB3-B46F-4B58-A2C1-52F2CC4FF442</GId>
<Id xmlns="">113804</Id>
<Name xmlns="">KAYAFAR,Jahn (458)</Name>
</ActivityHeader>
<ActivityHeader xmlns="http://tempuri2.org">
<GId xmlns="">55A7FFB3-B46F-4B58-A2C1-52F2CC4FF5852</GId>
<Id xmlns="">113482</Id>
<Name xmlns="">AYVR, Jshah (45)</Name>
</ActivityHeader>
</ActivityHeaders>
</ActivityHeadersWrapper>
When I am trying to loop through ActivityHeader node it does not return
any values
<xsl:for-each select="//ActivityHeader">
<xsl:value-of select="Id" />
</xsl:for-each >
But if I remove de value of the namespace for the ActivityHeader node,
works.
Is there any way to make the loop work without removing the namespace
attribtue.
Thank you
Horacio
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] ANN: XSLT 2.0 and XPath 2, Joe Fawcett | Thread | Re: [xsl] XSLT/XPATH Namespace con, G. Ken Holman |
| RE: [xsl] ANN: XSLT 2.0 and XPath 2, Michael Kay | Date | [xsl] please help to obtain the nex, Dionisio Ruiz de Zar |
| Month |