xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Kostas Maistrelis" <pinakas AT gmail.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] entities
- Date: Mon, 24 Jul 2006 21:06:16 +0300
I want to make a procedure that returns the same result with the method
document.toXml()
with one difference:
I want to leave the entities without a translation (Like the current
behavior of toXML() method for the & entity)
For example i want to build a document and then to get back the same
view with a procedure like the toXml() method.
<?xml version="1.0"?>
<!DOCTYPE demo [
<!ELEMENT demo (#PCDATA)>
<!ENTITY laquo "«">
<!ENTITY raquo "»">
]>
<demo>
amp: &
laquo: «
raquo: »
</demo>
Now i Have this result :
<?xml version="1.0"?>
<!DOCTYPE demo [
<!ELEMENT demo (#PCDATA)>
<!ENTITY laquo "«">
<!ENTITY raquo "»">
]>
<demo>
amp: &
laquo: «
raquo: »
</demo>
Is that possible to happen?
Thanks in advance
-
[XOM-interest] entities,
Kostas Maistrelis, 07/24/2006
- Re: [XOM-interest] entities, Tatu Saloranta, 07/24/2006
Archive powered by MHonArc 2.6.24.