Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Word 2003 XML lsid and chunk element woes

3 views
Skip to first unread message

SergeRD

unread,
Jun 23, 2009, 4:51:01 AM6/23/09
to
Hi,
some time ago I made a test similar to the XML below. The idea was that the
listdef in the chunk would merge with the listdef in the main document. And
*lo and behold* it did (and yes I have notes to the fact but not the full xml
from that test). When I revisited the problem today befor implementation it
failed miserably with an xml error.
Question: **have I forgotten something that should make it work**, or was
the fact that it worked last time a fluke or some error/mix up on my part?

<?xml version="1.0"?>
<w:wordDocument
xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml">
<w:lists>
<w:listDef w:listDefId="10">
<w:lsid w:val="02F479E0"/>
<w:lvl w:ilvl="0">
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="360"/>
</w:tabs>
<w:ind w:left="360" w:hanging="360"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="1"/>
<w:lvl w:ilvl="2"/>
<w:lvl w:ilvl="3"/>
<w:lvl w:ilvl="4"/>
<w:lvl w:ilvl="5"/>
<w:lvl w:ilvl="6"/>
<w:lvl w:ilvl="7"/>
<w:lvl w:ilvl="8"/>
</w:listDef>
<w:list w:ilfo="0"><w:ilst w:val="0"/></w:list>
</w:lists>
<w:body>
<w:cfChunk>
<w:lists>
<w:listDef w:listDefID="10">
<w:lsid w:val="02F479E0"/>
</w:listDef>
<w:list w:ilfo="80">
<w:ilst w:val="10"/>
<w:lvlOverride w:ilvl="0">
<w:startOverride w:val="1"/>
</w:lvlOverride>
</w:list>
</w:lists>
<w:body>
<w:p>
<w:pPr>
<w:listPr>
<w:ilvl w:val="0"/>
<w:ilfo w:val="80"/>
</w:listPr>
</w:pPr>
<w:r>
<w:t>listtext</w:t>
</w:r>
</w:p>
</w:body>
</w:cfChunk>
</w:body>
</w:wordDocument>

0 new messages