Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
XML and Related Technologies
Entities and JDOM
posted 11 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 ]
svg + xlink
Populating ENTITY tag using batik
How to emit doctype from xsl?
JasperReports - Is connection always required?