473,322 Members | 1,718 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

XML namespace and wordml

2
I have an xml document and xsd that I am using basically as a template. And I want to copy the xml into a new file and create a new xsd that might have different fields. So when I make the copy of the xml template I want to also create a new xsd. This is all working fine... Except that I need to change the namespace in the new xml document to look at the namespace from the new xsd. I know how to do that from searches in this forum, but then when I open the xml in Word 2003 it does not recognize the namespace. Apparently it is not sufficient to just edit the xml for the new namesapce. The new namespace must be in the Word 2003 schema library. So... How do I, using vb.net, copy an xml document, create a new xsd, set the new namespace in the xml, and have it open and function in Word?
May 19 '07 #1
1 1813
galiap
2
I created an xsl schema using WordML.
I need to insert pages(this is done) and also on each page must have "continue from page.."
For example on page 2 must be written "continue from page 1".
Here is some code:
<w:ftr ><w:p><w:pPr><w:pStyle w:val="Footer"/>
<w:jc w:val="right"/></w:pPr>
<w:r w:rsidR="00332213">
<w:t xml:space="preserve">Страница </w:t>
</w:r>
<w:fldSimple w:instr=" PAGE \* MERGEFORMAT ">
<w:r w:rsidR="00332213">
<w:rPr><w:noProof/></w:rPr>
<w:t>1</w:t>
</w:r>
</w:fldSimple>
<w:r w:rsidR="00332213">
<w:t xml:space="preserve"> от </w:t>
</w:r><w:fldSimple w:instr=" NUMPAGES \* MERGEFORMAT ">
<w:r w:rsidR="00332213"><w:rPr>
<w:noProof/></w:rPr><w:t>1</w:t>
</w:r>
</w:fldSimple>
</w:p></w:ftr>

How can I get the number of the previous page from the next page?
Nov 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tom Frey | last post by:
Hi, is there any solution available for transforming WordML XML files to PDF on server requests. Here is basically what I'm looking for: We have like 15 different types of contracts that have...
5
by: Clifford W. Racz | last post by:
Has anyone solved the issue of translating lists in Word 2003 (WordML) into xHTML? I have been trying to get the nested table code for my XSLT to work for a while now, with no way to get the...
0
by: Logician | last post by:
Can anyone point me in the right direction for XML creation from WordML, after using a JPEG/OCR? Problem ======= 1. The WordML has font tags, and I need just data tags for reading by ..NET ...
0
by: Altsoft Xml2PDF | last post by:
Xml2PDF formatting engine version 2.3 May 25, 2004 Altsoft N.V. Altsoft N.V. is proud to announce the release of version 2.3 of its Xml2PDF formatting engine. The update includes: -...
3
by: utterberg | last post by:
If I have an xml that looks something like this: <section> <item> <label>label one</label> <data>123</label> </item> <item> <label>label two</label> <data>456</label>
0
by: farseer | last post by:
Hi, I am asking this here in addition to the vstools.office group because i think the issue could possibly be schema or serilazation related... i have a word document which has a custom schema...
0
by: JD | last post by:
Hello: I am trying to put together a solution that would programmatically insert XML data into a WordML document. I am trying to do this through a web page when a user clicks on a link. For...
2
by: Andy | last post by:
Hi, I have an XML document that uses namespaces (it is from a Word 2007 file). I want to retrieve all the "t" elements that belong to the "w" namespace (<w:t>) using XPath from VB.NET 2003 (.NET...
1
by: Pedro Rosas Silva | last post by:
Hi everyone, Is anybody aware of a way how to insert an image in a WordML document programmatically, through C#? I have a C# application that loads into memory a WordML document...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.