Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
XML and Related Technologies
Entities and JDOM
posted 10 years ago
How do you handle entities in JDOM?
I have something like:
<?xml version="1.0" standalone="no"?> <!-- Generator: Mayura Draw 4.3 --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [ <!ENTITY st6 "stroke:#000000;stroke-dasharray:10 4;stroke-width:4;fill:none"> <!ENTITY st7 "stroke:#000000;stroke-width:0.5;fill:#ff6633"> <svg> </svg>
I want to be able to edit the entities such as st7 with JDOM. I've looked at EntityRef in the JDOM API but I'm still lost.
[ February 15, 2005: Message edited by: Kashif Riaz ]
I agree. Here's the link:
svg + xlink
Populating ENTITY tag using batik
How to emit doctype from xsl?
JasperReports - Is connection always required?