开发者

Question on XSLT noNamespaceSchemaLocation

开发者 https://www.devze.com 2023-02-19 04:29 出处:网络
My incoming XML has the following <ROOT-PARENT xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"

My incoming XML has the following

<ROOT-PARENT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:noNamespaceSchemaLocation="ASR_V3.0.1_proposed.xsd">

I am using a Inline XSLT in Scripting Functoid in BizTalk 2010

I want to navigate one of the child nodes but I am unable to ge开发者_StackOverflowt the values. Do i need to

My XSLT looks like

<EXTERNALTAG xsi:noNamespaceSchemaLocation="ASR_V3.0.1_proposed.xsd">
     <xsl:for-each select ="//MILESTONES/MILESTONE">
          <P><xsl:value-of select="."/></P> 
     </xsl:for-each>
</EXTERNALTAG>

The above doesn't seem to work. Any idea what i need to do in order to take care of the xsi:noNamespaceSchemaLocation

Thanks in advance

Karthik


OK. If my XSLT looks like this

<EXTERNALTAG> <xsl:for-each select ="//MILESTONES/MILESTONE"> <P><xsl:value-of select="."/></P> </xsl:for-each> </EXTERNALTAG>

everything is working fine

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消