|
Forum Statistics |
Total user: 89 Total message: 179
|
|
|
|
|
|
|
How to access children of <office:text> tag
|
|
Date: 2008/11/24 22:05
|
By: kumarvidhani
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Boarder  | Posts: 4 |   | |
|
Hi,
I have tried to access children of <office:text> tag but it is giving zero count, even though in content.xml it is showing two paragraph tags..
code is ...
TextDocument txtDoc = new TextDocument(); txtDoc.New(); txtDoc.Load("Preview_Test.odt"); XmlDocument xmlDocument = txtDoc.XmlDoc; XmlNodeList xmlNodelist = xmlDocument.GetElementsByTagName("office:text"); foreach (XmlNode xmlNode in xmlNodelist) { foreach (XmlNodeList children in xmlNode.ChildNodes) { Console.WriteLine(xmlNode.Name); } }
can anybody please help?? kumarvidhani
|
|
|
The administrator has disabled public write access. |
|
|
|
|
Who's Online |
|
We have 29 guests online |
|