Patrick\’s Bytes

3, September 2007

Tabular data with OpenXML Custom XML

Filed under: OpenXML — patrickyong @ 8:52 am

A lot of my partners are excited with the Content Control capability found in the WordProcessingML of OpenXML format. This opens up opportunity to create document generation module within their own application or used OpenXML as a simple e-form solution. Well then the next common question is how to host tabular data in WordProcessingML? Some thing like below

<OrderDetails>
   <OrderItem>
      <ItemCode>123</ItemCode>
     <Quantity>1</Quantity>
   </OrderItem>
   <OrderItem>
      <ItemCode>A345</ItemCode>
     <Quantity>12</Quantity>
   </OrderItem>
</OrderDetails>

To

Item Code Quantity
123 1
A345 12

I did a Live Search today and found out that Mike Ormond from Microsoft UK come out with this sample so I do not need to spend endless nights creating one. Thanks Mike! He has the sample code here and 3 WMV presentations posted online. So you guys must go grab it!!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: