LXML Processor

Status
Not open for further replies.

pallavi1811

Seniorius Lurkius
1
Hi

i have a query regarding LXML processor. I have an Input XML file and a Stylesheet to be applied on that XML. The processing will be done through LXML processor. But there is a XPATH issue due to which i am not getting my output.

Input XML:

<a:doc xmlns:lncr="http://www.w3.org/1999/XSL/Transform/a">
<a:content>
<doc xmlns="http://www.w3.org/1999/XSL/Transform/base/1/">
<c:COPYRIGHT>text</c:COPYRIGHT>
</doc>
</a:content>
</a:doc>

Styelsheet applied:

<xsl:template match="/*>
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:apply-templates select="a:doc/a:content/doc/c:COPYRIGHT"/>
</xsl:copy>
</xsl:template>

The above highlighted <apply-templates> is not working in LXML processor. Pleaassseee help!!!
 
Status
Not open for further replies.