I need to reformat the paragraph into the block format.
How can I do it besides table tags?Please see attachment.
Step numbers have their tags and the paragraphs have their tags around.
Evlich
11-06-2002, 04:54 AM
I think that the block style is the default for an ordered list. So if you can transform the block into an ordered list then you should be fine.
The problem is that my xml writers have already made such a code that I cannot use <list> tags. For example,
<STEP1 >
<LABEL >a.</LABEL>
<PARA >
Let's go to the Zoo.
Let's go to the Zoo.</PARA>
</STEP1>
<STEP1 >
<LABEL >b.</LABEL>
<PARA >
Let's go to the Zoo.
Let's go to the Zoo.</PARA>
</STEP1>
So, if I make <STEP1> as a list item, <PARA> still will not be a block. If I make <PARA> a <div> block text, for example, It will be separated from <LABEL>, which shoud stay on the same line.
<PARA> should be just indented. I used style:"text-indent: -3em"
it doesn't work.
My brain is cracked! I cannot think about anything else!Help!
Evlich
11-06-2002, 10:32 PM
Can you post a full DTD? I am wondering if this list is prosibly in main element. Something like:
<steps type="a">
<step>Do This</step>
<step>Do That</step>
<step>You are Done!</step>
</steps>
In which you could translate the <steps> to a list and then apply templates for the <step> to be translated into a <li>.
Evlich
11-07-2002, 01:24 PM
Did that help, or did you fix it on your own? I thought that you said that you couldn't change the DTD?
No, I couldn't. I am going to talk to my writers.
Evlich
11-07-2002, 11:59 PM
Ok, sounds good. Good luck with your project!