Reply
 
Thread Tools Display Modes
  #1   Report Post  
Jorge
 
Posts: n/a
Default Missing attributes XML document

I'm transforming a Word document into an XML document based on an XML Schema
using a macro. When the XML document is generated, the root element does not
include two attributes that are necessary for the document to be valid.
Instead, it just includes the attribute xmlns, which is the default namespace
declaration. The attributtes which are missing a

- xmlns:xsi
- xsi:schemaLocation

The value of the first one tells the schema validator from which namespace
the second attribute is obtained. For example:
"http://www.w3.org/2001/XMLSchema-instance"
The value of the second one tells the schema validator where default
namespace is defined (the value of xmlns). For example: "database.xsd"

Is there a way to include these attributes from Word? I cannot use XSLT
because the XSLT processor does not recognise the file for the same reason.

Regards

Jorge
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
Add checkboxes with macro in Merge document? Bryan L Tables 3 October 19th 05 04:05 PM
Word 2002 takes long time to open Word document with missing templ Kelvin Microsoft Word Help 0 September 12th 05 11:52 AM
Missing information when merging excel sheet in Catalogue document fredgo Mailmerge 1 March 24th 05 11:40 AM
Document Map Question PosseJohn Page Layout 2 March 23rd 05 01:27 PM
W2003 Missing Document Grid tab Linda Microsoft Word Help 1 January 7th 05 04:51 PM


All times are GMT +1. The time now is 11:37 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"