[jdom-interest] parsing entities

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Apr 30 14:07:35 PDT 2002


At 11:55 AM -0700 4/30/02, Jamal Najmi wrote:
>I have the following XML file.  I need to get to parse
>the Entity element.  How do I do that?
>

JDOM does not support unparsed entities. YOu'll need to use a 
different API. Sorry. :-(

>
><?xml version = "1.0"?>
><!DOCTYPE TEAMS_ASSET_FILE PUBLIC "-//TEAMS//DTD asset
>and link file//EN" "Tasse
>t.dtd" [
>  <!ENTITY asset000001 SYSTEM
>"file:///u01/artesia/teamsdne/jamalsandbox/workingd
>ir/1019660377474/content.xml" NDATA unspecified>
>]>
><TEAMS_ASSET_FILE>
><ASSETS>
><?TEAMS:CommandScript command='asset:import'?>
><ASSET>
><METADATA>
><UOIS
>MODEL_ID = "1"
>>
>
><DNE_ASSET_MD
>ASSET_TITLE = "asdasd dasas"
>CONTRIBUTOR = "asdas asdasd"
>DESCRIPTION = "adas asdasdas"
>
>/>
></UOIS>
></METADATA>
><CONTENT>
><MASTER FILE="asset000001"/>
></CONTENT>
></ASSET>
></ASSETS>
></TEAMS_ASSET_FILE>
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Health - your guide to health and wellness
>http://health.yahoo.com
>_______________________________________________
>To control your jdom-interest membership:
>http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list