CAT tool (Déjà Vu) needs DTD or XML schema

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Joost
Propeller Head
Posts: 45
Joined: Wed Jan 02, 2008 1:32 am

CAT tool (Déjà Vu) needs DTD or XML schema

Post by Joost »

Hi,

My CAT tool needs some kind of DTD or XML schema in order to translate xml files. Where can I find a DTD or XML schema for my Flare 5 webhelp project?

Any help appreciated,

Joost
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by LTinker68 »

If you build WebHelp output and view the source code of the Default.htm file then you'll see the DTD call. Assuming it's the same for all types of online output (I'm a bit fuzzy on DTD) then for topics it's...

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
and for the frameset it's...

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
The XML attribute of the html tag (assuming that's what you want) is...

Code: Select all

xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd"

Hope that helps.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Joost
Propeller Head
Posts: 45
Joined: Wed Jan 02, 2008 1:32 am

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by Joost »

LTinker68 wrote:If you build WebHelp output and view the source code of the Default.htm file then you'll see the DTD call. Assuming it's the same for all types of online output (I'm a bit fuzzy on DTD) then for topics it's...

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
and for the frameset it's...

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
The XML attribute of the html tag (assuming that's what you want) is...

Code: Select all

xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd"

Hope that helps.
What I am trying to do, is have my Flare Webhelp projects translated. The problem is that Déjà Vu does not recognize index entries, a-links and cross-references as translatable text. I read in their documentation that you need to set up an xml filter, and therefore you need a dtd or xsd.

Can Flare be localized using a classic CAT tool? And if so, how? If not, I am really screwed... Everything has already been translated in Déjà Vu.

I tried to go to the page of the madcap.xsd, but the page is not found. How can I get the physical file?

Thanks,

Joost
RamonS
Senior Propellus Maximus
Posts: 4293
Joined: Thu Feb 02, 2006 9:29 am
Location: The Electric City

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by RamonS »

Contact support and ask them. If MadCap doesn't have it then nobody does.
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by Andrew »

The files are in your installed folders for Flare. For me, that is here:

C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\Schemas

Look for that Schemas folder. The XML schemas will be there.
Flare v6.1 | Capture 4.0.0
Joost
Propeller Head
Posts: 45
Joined: Wed Jan 02, 2008 1:32 am

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by Joost »

Andrew wrote:The files are in your installed folders for Flare. For me, that is here:

C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\Schemas

Look for that Schemas folder. The XML schemas will be there.
Right, they do ship it along then. Thanks.
Joost
Propeller Head
Posts: 45
Joined: Wed Jan 02, 2008 1:32 am

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by Joost »

Joost wrote:
Andrew wrote:The files are in your installed folders for Flare. For me, that is here:

C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\Schemas

Look for that Schemas folder. The XML schemas will be there.
Right, they do ship it along then. Thanks.
I tested it with the Madcap.xsd. It seems to work fine, except for the index entries. They don't seem to come along in the CAT tool.
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: CAT tool (Déjà Vu) needs DTD or XML schema

Post by Andrew »

I'm afraid I can't help you with that -- I've not tried to use those schemas.
Flare v6.1 | Capture 4.0.0
Post Reply