OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Migrating from DTD to RNG Schema


Dear all,

I'm trying to migrate all my stuff from DTD to RNG Schema... and more or
less it is clear to me how to proceed. Anyway, I'm wondering how to
migrate my entity catalog:

<!DOCTYPE catalog
  PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN"
  "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd";>

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <!-- Common entities -->
  <group prefer="public" xml:base="ent/">
    <public publicId="-//AGAMURA//ENTITIES Localization V1.0//en-US"
      uri="l10n.ent"/>
    <public publicId="-//AGAMURA//ENTITIES Corporation Data V1.0//en-US"
      uri="corpdata.ent"/>
  </group>
  ...
</catalog>

l10n.ent contains statements like these:

<!ENTITY % German "IGNORE">
<![%German; [
  <!ENTITY % l10n.user PUBLIC "-//AGAMURA//ENTITIES QuXo Locale V1.0//de-DE"
    "http://www.agamura.com/quxo/dtd/1.0/ent/de-DE/locale.ent";>
  %l10n.user;
  <!ENTITY % l10n.default "IGNORE">
]]>

<!ENTITY % English "IGNORE">
<![%English; [
  <!ENTITY % l10n.user PUBLIC "-//AGAMURA//ENTITIES QuXo Locale V1.0//en-US"
    "http://www.agamura.com/quxo/dtd/1.0/ent/en-US/locale.ent";>
  %l10n.user;
  <!ENTITY % l10n.default "IGNORE">
]]>

... while corpdata.ent contains some custom entities like these:

<!ENTITY corp.name "My Company, Inc.">
<!ENTITY corp.address PUBLIC
  "-//AGAMURA//ENTITY Corporation Address V1.0//en-US"
  "http://www.agamura.com/quxo/dtd/1.0/ent/corpaddress.xml";>
<!ENTITY corp.domain "mycompany.com">


Any help would be really appreciard :-)
j3d

-- 
----------------------------------------
Giuseppe Greco
6949 Comano
Switzerland

call giuseppe.greco via Skype
phone:  +41 (0)91 234 51 09
mobile: +41 (0)79 590 33 06
email:  giuseppe.greco@agamura.com
----------------------------------------



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]