Hi,
I am trying to do an XML to XMl conversion and having some trouble. I want to copy the value of a node but not its childrens value.
here is the input XML:
Code:
<addremark oprocedure="1">
<Para id="d210e105"> May be inoperative provided:<RemarksList id="d210e110">
<Para id="d210e112">Operational Procedures below are followed, and</Para>
<Para id="d210e118">
<RED id="d210e120">Repairs are made within two flight days. </RED>
</Para>
</RemarksList>
</Para>
</addremark>
here is my XSLT:
Code:
<xsl:for-each select="additem/Para[position()=1]">
<para>
<xsl:value-of select="."/>
</para>
</xsl:for-each>
I want the desired output to be:
<para> May be inoperative provided:</para>
but I get all the children values.
Thanks