-2
<para> hier ist entity "& ast;" </para >
Wunsch Ausgang:
<p> hier ist entity "*" </p >
<para> hier ist entity "& ast;" </para >
Wunsch Ausgang:
<p> hier ist entity "*" </p >
Sie haben die Einheit zu erklären:
<!DOCTYPE para [
<!ENTITY ast "*">
]>
<para>here is entity "*" </para>
Der XSLT-Code einfach transformiert para
-p
Elemente:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* , node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="para">
<p>
<xsl:apply-templates select="@* , node()"/>
</p>
</xsl:template>
</xsl:stylesheet>
Vielen Dank Sir !!! Ich suche nach einer anderen Alternative. –