Hi Robert,

Firstly, make sure you are using the new set of stylesheets. The pipeline should be:

xsltproc .../wordml2normalise.xsl $1 | \
xsltproc .../normalise2sections.xsl - | \
xsltproc .../sections2blocks.xsl - | \
xsltproc .../blocks2dbk.xsl -

I have been doing work on the system lately (mainly on tables), but I have not been testing variablelist support (yet - I am planning on more thoroughly testing all supported elements).

In any case, it may be a good idea to pull the latest versions from the SVN repository.

Cheers,
Steve Ball

On 06/05/2008, at 3:55 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] > wrote:

Hi all,

I'm working with the roundtrip-stylesheets in order to create a
docbook-XML-file out of a WordML-XML-file. But I have problems to use
the variablelist-format.

In the word-file I got 2 paragraphs. The first is formatted as
variablelist-term

and the second as
variablelist

the wordML-file looks like this - and I think this is ok:

         <w:p wsp:rsidR="00307CBA" wsp:rsidRPr="00420A71"
         wsp:rsidRDefault="004E1A46" wsp:rsidP="00307CBA">
           <w:pPr>
             <w:pStyle w:val="variablelist-term"/>
             <w:rPr>
               <w:lang w:val="EN-GB"/>
             </w:rPr>
           </w:pPr>
           <w:r wsp:rsidRPr="00420A71">
             <w:rPr>
               <w:lang w:val="EN-GB"/>
             </w:rPr>
             <w:t>Term 1</w:t>
           </w:r>
         </w:p>
         <w:p wsp:rsidR="0000014A" wsp:rsidRPr="00420A71"
          wsp:rsidRDefault="004E1A46" wsp:rsidP="00D062B8">
           <w:pPr>
             <w:pStyle w:val="variablelist"/>
             <w:rPr>
               <w:lang w:val="EN-GB"/>
             </w:rPr>
           </w:pPr>
           <w:r wsp:rsidRPr="00420A71">
             <w:rPr>
               <w:lang w:val="EN-GB"/>
             </w:rPr>
             <w:t>description of term 1</w:t>
           </w:r>
         </w:p>


But if I do this:

xsltproc /usr/share/docbook-xsl/roundtrip/wordml-normalise.xsl $1 | \
xsltproc /usr/share/docbook-xsl/roundtrip/wordml-sections.xsl - | \
xsltproc /usr/share/docbook-xsl/roundtrip/wordml-blocks.xsl - | \
xsltproc /usr/share/docbook-xsl/roundtrip/wordml-final.xsl -

I receive:

No match found for variablelist-term
No match found for variablelist

All other stuff works fine but the variablelist not.

Any hints to get the variablelist working? I use the following
stylesheets:

pages2normalise.xsl 7266 2007-08-22
normalise2sections.xsl 7266 2007-08-22
sections2blocks.xsl 7266 2007-08-22
wordml2normalise.xsl 7266 2007-08-22

Thanks in advance.

Regards

Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED] open.org




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to