B
Brett
I am producing some formatted text using xslt, and therefore have a
lot of carriage returns. Instead of placing a:
<text>
</text>
everywhere I decided to form an entity like so:
<!DOCTYPE stylesheet [
<!ENTITY cr "<xsl:text>
</xsl:text>">
]>
and then place a &cr; everywhere I want a carriage return. It works
fine in xmlspy, but when using xsltproc, I get namespace errors,
specifically:
"warning: Namespace prefix xsl is not defined"
and
"compilation error: file foo.xslt line 1 element text
Namespaces prefix used for multiple namespaces"
Any idea on what I am doing wrong?
lot of carriage returns. Instead of placing a:
<text>
</text>
everywhere I decided to form an entity like so:
<!DOCTYPE stylesheet [
<!ENTITY cr "<xsl:text>
</xsl:text>">
]>
and then place a &cr; everywhere I want a carriage return. It works
fine in xmlspy, but when using xsltproc, I get namespace errors,
specifically:
"warning: Namespace prefix xsl is not defined"
and
"compilation error: file foo.xslt line 1 element text
Namespaces prefix used for multiple namespaces"
Any idea on what I am doing wrong?