Hello,

I'd like to use jelly to transform an XML doc to another, but I ran into a 
problem.
----------------------
Source XML (try.xml):

<?xml version="1.0"?>
<!DOCTYPE MNL [
    <!ENTITY eacute "EACUTE">
    <!ENTITY oacute "OACUTE">
]>
<MNL>
&eacute;
&oacute;
</MNL>

-------------
Jelly script:

<j:jelly xmlns:j="jelly:core" xmlns:jj="jelly:jeez" xmlns:x="jelly:xml" 
xmlns:jsl="jelly:jsl">
    <jj:echo>Loading document</jj:echo>
    <x:parse var="doc" xml="try.xml" validate="no  "/>
    <jj:echo>....loaded</jj:echo>
    <x:copyOf select="$doc" />
</j:jelly>

----------
Result:

     [echo] Loading document
     [echo] ....loaded
<?xml version="1.0" encoding="UTF-8"?>
<MNL>
&eacute;EACUTE
&oacute;OACUTE
</MNL>




Can anybody help me?

Thanks in advance

czinkos



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to