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
|
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.
|