XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Vinoth VSubject: Footnote - WORDML
Author: Vinoth V
Date: 10 Nov 2008 04:04 AM
Hi

How to write a xslt to extract the footnote content from WORDML

Thanks in Advance.

Postnext
Alberto MassariSubject: Footnote - WORDML
Author: Alberto Massari
Date: 10 Nov 2008 09:23 AM
According to the WordML schema, footnotes are stored inside <ftnElt> elements.

Alberto

Postnext
Vinoth VSubject: Footnote - WORDML
Author: Vinoth V
Date: 10 Nov 2008 11:20 PM
Hi

Thanks for your reply. But i am not extracting the footnote content from schema based WORDML. Just open a word document, create one footnote and save the same file as XML, from that how i can extract the footnote.

Once Again Thanks for your reply.

Thanks in Advance

Postnext
Alberto MassariSubject: Footnote - WORDML
Author: Alberto Massari
Date: 11 Nov 2008 02:33 AM
Sorry, my mistake; I took the wrong part of the schema (the simple type instead of the element name).
According to the Office 2003 WordprocessingML schema, footnotes are stored in the w:footnote element, where "w" is the prefix for the http://schemas.microsoft.com/office/word/2003/wordml namespace
If you are instead using Word 2007, the "w" is the prefix for the
http://schemas.openxmlformats.org/wordprocessingml/2006/main namespace.
In both cases, the fragment of XML representing a footnote with content "Node text" is

<w:footnote>
<w:p wsp:rsidR="00EA18DC" wsp:rsidRDefault="00EA18DC">
<w:pPr>
<w:pStyle w:val="FootnoteText"/>
</w:pPr>
<w:r>
<w:rPr>
<w:rStyle w:val="FootnoteReference"/>
</w:rPr>
<w:footnoteRef/>
</w:r>
<w:r>
<w:t> Note text</w:t>
</w:r>
</w:p>
</w:footnote>


Alberto

Postnext
Vinoth VSubject: Footnote - WORDML
Author: Vinoth V
Date: 11 Nov 2008 03:38 AM
Hi

Thanks for the reply.

I need how to write a XSLT to fetch information and store in <footnote id="1">Texts</footnote> tag.

Thanks in advance.

Posttop
Alberto MassariSubject: Footnote - WORDML
Author: Alberto Massari
Date: 11 Nov 2008 08:51 AM
Which version of Stylus Studio are you using?

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.