IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Entities in authentic browser Options · View
Marc Sauvage
Posted: Thursday, November 23, 2006 3:03:30 PM
Rank: Newbie

Joined: 10/26/2006
Posts: 4
Location: Paris
Hi,
in authentic browser I can define entities and use them in the xml file witch is open. When I close authentic browser, I loose these entities. How can I save and re-use them ?
Thanks for your answer

Regards

Marc
bigotilda
Posted: Monday, November 27, 2006 10:05:03 PM
Rank: Member

Joined: 6/13/2006
Posts: 29
Location: Gainesville, FL
In our system we have separate files that define the entities we use, and then we include these entity definition files in our schema files via a DOCTYPE section at the beginning of our schema file. In this way, these entities are available for every XML file we open with Authentic that uses that schema.

For example:
<!DOCTYPE xsd:schema [
<!ENTITY % XHTML-lat1 PUBLIC "-//W3C//ENTITIES Latin 1//EN//XML" "xhtml-lat1.ent">
%XHTML-lat1;
]>

causes the "xhtml-lat1.ent" file to be included by Authentic when it loads the schema of the XML file you are working with. Note that "xhtml-lat1.ent" is a path relative to the location of the schema file.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.