Hi,

I'd like to know if it's possible to declare a general
entity in the value of a parameter entity...

Here's an example:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE File [
        <!ELEMENT File ( Text? ) >
        <!ELEMENT Text ( #PCDATA )>
        <!ENTITY % entdecl "<!ENTITY someent
&quot;BigTest&quot;>">
%entdecl;
]>
<File>
        <Text>
                test &someent; testend
        </Text>
</File>

Internet explorer can't read it, XML SPY can, and
xerces (non-validating) give this error when parsing:

Expected system or public id
<line>6</line>
<column>10</column>

Maybe the syntax is not rigth...?



Thanks a lot,

Jeff.

______________________________________________________________________ 
Find, Connect, Date! http://personals.yahoo.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to