Newbie: XSLT variables?
Posted: Mon Sep 29, 2008 2:58 pm
Hi,
I'm new to XSLT and have a problem with using data from a template in another one.
The input (word 2007):
Output should be (indesign tagged text):
I'm able to get the first part right (<pstyle:MyStyle>), but cannot figure out how to save the information in the w:b-element for later use in the w:t-element. All these elements can contain lots of other elements. Sometimes there are w:b, and sometimes there are others, so I cannot "hard code" xslt.
I'm greateful for any help!
Eivind
I'm new to XSLT and have a problem with using data from a template in another one.
The input (word 2007):
Code: Select all
<w:p>
<w:pPr>
<w:pStyle w:val="MyStyle"/>
</w:pPr>
<w:r>
<w:rPr>
<w:b/>
</w:rPr>
<w:t>Some bold text</w:t>
</w:r>
</w:p>
Code: Select all
<pstyle:MyStyle><cstyle:Bold>Some bold text<cstyle:>
I'm greateful for any help!
Eivind