[xml] Parameter entities ?
- From: Raphael Hertzog <rhertzog hrnet fr>
- To: xml gnome org
- Subject: [xml] Parameter entities ?
- Date: Thu, 21 Jun 2001 01:33:29 +0200
Hello,
does libxml fully support parameter entities ? It doesn't looks like so ...
is there any explanation ?
By parameter entity I mean things like that :
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE vide SYSTEM "test.dtd" [
<!ENTITY % debian "INCLUDE">
<!ENTITY % caldera "IGNORE">
<!ENTITY % redhat "IGNORE">
]>
<vide>
<![%debian[ Debian blabla ]]>
<![%caldera[ Caldera blabla ]]>
<![%redhat[ Redhat blabla ]]>
</vide>
This file when run through xmllint complains about the <![...]]> because
it's not a valid element. :)
Ultimately I'd even need to be able to force by command line (to xsltproc
or xmllint) one of those entities to INCLUDE in order to do a kind of
conditionnal processing... (and by default all those entities would be
set to IGNORE).
Cheers,
--
Raphaël Hertzog -+- http://strasbourg.linuxfr.org/~raphael/
Le bouche à oreille du Net : http://www.beetell.com
Naviguez sans se fatiguer à chercher : http://www.deenoo.com
Formation Linux et logiciel libre : http://www.logidee.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]