A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
XML and Related Technologies
Entities and JDOM
Joined: Jan 08, 2005
Feb 15, 2005 04:03:00
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 ]
subject: Entities and JDOM
svg + xlink
Populating ENTITY tag using batik
How to emit doctype from xsl?
JasperReports - Is connection always required?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014