Skip to main content

developerWorks >  XML  >  Forums  >  Thinking XML forum  >  developerWorks

how to add my own data into document xml    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1
UBm

Posts: 1
Registered: Nov 03, 2009 01:54:51 PM
how to add my own data into document xml
Posted: Nov 03, 2009 04:37:19 PM
Click to report abuse...   Click to reply to this thread Reply
I am using Word 2007 xml markup (developer tab->load a schema->double click to markup a paragraph in word). After the markup, I open document.xml from zip utility, my goal is to add some user defined data for each markup. The data is supposed to be transparent to the user, i.e. not visible from word GUI
for example, for this markup (which show up in document.xml as customXml below)
<w:customXml w:uri="http://xbrl.us/us-gaap/2008-03-31" w:element="AccountingChangesAndErrorCorrectionsTextBlock">
  • <w:r>
  • <w:rPr>
<w:sz w:val="20" />
<w:szCs w:val="20" />
</w:rPr>
<w:t>Refer to the information under the caption "Ownership of Securities—Common Stock and Total Stock-Based Holdings of Management" in IBM's definitive Proxy Statement to be filed with the Securities and Exchange Commission and delivered to stockholders in connection with the Annual Meeting of Stockholders to be held April 24, 2007, all of which information is incorporated herein by reference</w:t>
</w:r>
</w:customXml>
I want to add the following data to this markup.
<ix:nonFraction ix:contextRef='FY2007' ix:decimals='2' ix:name='ct-Tax:CalculationOfCTLiabilityProfits' ix:unitRef='GBP' xmlns:ix='http://www.xbrl.org/2008/inlineXBRL' xmlns:ct-Tax='http://www.govtalk.gov.uk/uk/fr/tax/uk-hmrc-ct-Tax/2008-10-07'>9,542,610.00</ix:nonFraction>

Where can I add this xml fragment to document.xml? Is there any xml tag available to do it?

thank you
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums