Search the web
Sign In
New User? Sign Up
dita-users · DITA users group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Problem - Specialization   Message List  
Reply | Forward Message #3195 of 16183 |
Re: Problem - Specialization

--- In dita-users@yahoogroups.com, "Ricardo Mattiazzi" <ladraum@...>
wrote:
> Im using the full path because someone sugested me to do it, to make it
> easier to use XMetaL and DITA-OT. I think that the paths should be
relative,
> but how can i make it work with the catalog ?

You could do this for a proof of concept. If it works you can tidy it
up later as a DITA-OT plugin.

Invent a public ID (a character string) that no one else has used.
It's customary to put your company name in it somewhere.
-//Moldflow//DTD DITA MyInfoType//EN
-//Moldflow//ELEMENTS DITA MyInfoType//EN
Look in catalog-dita.xml for examples you could copy.

Add extra entries into the catalog-dita.xml file so that they point to
your file. Use URLs (forward slashes) relative to the DITA Open
Toolkit directory. (Note: catalog-dita.xml is a generated file. It
is overwritten when you run the "integrator" task. If you find your
changes are being removed, put them in catalog-dita_template.xml instead.)

Put your DTDs (.dtd and .mod) in the place that the catalog file
points to.

Make your .dtd file refer to your .mod file using a PUBLIC entity.
Instead of
<!ENTITY %
introducao-typemod
SYSTEM
"..." >
say
<!ENTITY %
introducao-typemod
PUBLIC
"-//Moldflow//ELEMENTS DITA MyInfoType//EN"
"The system ID is ignored but must be present" >
Again, look at the examples in other .dtd files.

Now your specializations ought to be as authentic as any other DITA
topic type. See if they work.








Wed Jul 19, 2006 11:56 pm

deborah_arie...
Offline Offline
Send Email Send Email

Forward
Message #3195 of 16183 |
Expand Messages Author Sort by Date

Hey all. Im making (with no much success, i may say) some specialization to meet my company needs. But, i think i did everything right, because when i validate...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 14, 2006
8:28 pm

... I'm not yet convinced that this is because of your specialization. *Are* you using a ditaval file (i.e., conditional text or filtering)? If not then it...
Deborah Pickett
deborah_arie...
Offline Send Email
Jul 15, 2006
1:16 am

I have uploaded my files in the FILES section of the group. Im not using cond text nor filtering, is just a simple (i think) test im doing. And i didnt make...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 17, 2006
12:24 pm

... Thank you for making me go find an UnRar utility. :) I'm concerned about your using absolute file paths in the system ID for your entity declarations. I...
Deborah Pickett
deborah_arie...
Offline Send Email
Jul 17, 2006
11:50 pm

Thats the point. Even XMetaL understand the specializations im making, but DITAOT doesnt. I really dont know what to do. ... -- Ladraum, vulgo Ricardo...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 18, 2006
12:08 pm

Hi Ricardo, I'll take a peak at the issues with the DITA-OT tomorrow and see if I can replicate it. From the previous notes it looks like the content is in the...
Eric Sirois
dita_guy
Offline Send Email
Jul 18, 2006
10:39 pm

Yes. This are the file locations im using. ... -- Ladraum, vulgo Ricardo Mattiazzi Baumgartner...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 19, 2006
1:11 pm

... (What's the point?) ... Perhaps because DITA-OT can't find your specialization DTDs. Have you told DITA-OT, through the catalog perhaps, where to locate...
Deborah Pickett
deborah_arie...
Offline Send Email
Jul 19, 2006
1:18 am

Im using the full path because someone sugested me to do it, to make it easier to use XMetaL and DITA-OT. I think that the paths should be relative, but how...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 19, 2006
12:06 pm

... relative, ... You could do this for a proof of concept. If it works you can tidy it up later as a DITA-OT plugin. Invent a public ID (a character string)...
Deborah Pickett
deborah_arie...
Offline Send Email
Jul 20, 2006
12:06 am

I will try it. I was told that to make the specializations work with XMetaL, i should make the paths to the files absolute. I will let you guys know of the...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 20, 2006
6:58 pm

... should make ... I hope that it doesn't come to this, but you might have to maintain two versions of the specializations DTDs, one for XMetaL Author and one...
Deborah Pickett
deborah_arie...
Offline Send Email
Jul 20, 2006
11:49 pm

i tried the steps below, but i wasnt able to make it work. The file was valid in the XMLSpy, but i wasnt able to make it export anything with the DITA -OT. I...
Ricardo Mattiazzi
ricardo_matt...
Offline Send Email
Jul 20, 2006
7:37 pm

Hi Ricardo, I think part of the is related to the catalogs. I don't this has anything to do with your speciliazation. It looks like the toolkit can't find...
Eric Sirois
dita_guy
Offline Send Email
Jul 25, 2006
6:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help