Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
[email protected] arvind.sv@gmail.com is offline
external usenet poster
 
Posts: 1
Default Repeating content controls, anyone?

Hi,

I've struggled to find any info about this. I'm trying to bind a custom
XML document to a repeating control in Word 2007. But, of course, as
you know, there is no repeating content control in Word 2007.

I've looked at InfoPath 2003, and it does exactly what I need (after I
load the custom XML). But, I need a docx file whereas InfoPath doesn't
export to docx. I know about the round-about InfoPath - MHT - docx
route, but I'd prefer not to take that.

I cannot do any Interop stuff to open the document and add content
controls by hand, as some of this has to happen on the server side. I
could parse the XML and create content control XMLs, but it's not
really an ideal solution.

A merge field of type "Directory" does what I need. But, I need XML
mapping. On the server side.

So, my question is: Am I missing something? Is there an easy wasy to
bind repeating XML like the one shown below to some kind of repeating
content control? If not, do you know of any such feature coming up in
Word soon?

Any help is appreciated,
Arvind

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default Repeating content controls, anyone?

I've struggled to find any info about this. I'm trying to bind a custom
XML document to a repeating control in Word 2007. But, of course, as
you know, there is no repeating content control in Word 2007.

I've looked at InfoPath 2003, and it does exactly what I need (after I
load the custom XML). But, I need a docx file whereas InfoPath doesn't
export to docx. I know about the round-about InfoPath - MHT - docx
route, but I'd prefer not to take that.

I cannot do any Interop stuff to open the document and add content
controls by hand, as some of this has to happen on the server side. I
could parse the XML and create content control XMLs, but it's not
really an ideal solution.

A merge field of type "Directory" does what I need. But, I need XML
mapping. On the server side.

So, my question is: Am I missing something? Is there an easy wasy to
bind repeating XML like the one shown below to some kind of repeating
content control? If not, do you know of any such feature coming up in
Word soon?

Well, there is nothing "below" in your message, but I think I understand
what you're asking. You want a control that can show a "list" of nodes
under a single XML node? The way a ListObject in Excel can do this?

No, there's no equivalent in Word that will populate anything
automatically. You'd have to parse the XML. I don't know what the final
document is supposed to be, but it might be simpler for you to "target"
the data to something other than ContentControls.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best approach to manage 4 documents with 80% common content [email protected] Microsoft Word Help 2 June 22nd 06 10:29 AM
Bug for Table of Content Steven Microsoft Word Help 1 May 26th 06 12:30 PM
Table of Content Suzanne S. Barnhill Microsoft Word Help 0 April 11th 06 02:31 PM
Table of Content Auto Update Jane McDowell Tables 1 November 22nd 05 08:28 AM
Urgent! Web service submission fails with zero content length Paul Robinson Microsoft Word Help 1 September 16th 05 04:37 PM


All times are GMT +1. The time now is 05:59 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"