Click here to Skip to main content
11,409,097 members (49,150 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: Office
As we know, office2007 is based on standard of OOXML,using zip ,we can see many parts from package,take word2007 for example ,we can see documents、styles、setting and so on .But I meet a problem,how to get all elements and attributes in each part,is there any method know all attributes in each part? thanks!
Posted 8-Oct-12 4:21am
Zoltán Zörgő at 8-Oct-12 9:35am
What attributes are you thinking of?
kennethsjg at 8-Oct-12 9:39am
all elements' attributes in a part ,for document.xml,all valid elements and attributes can be include in above part.
Zoltán Zörgő at 8-Oct-12 9:46am
Is till don't understand what you want exactly.
Parse the xmls and look for the attributes you need. Please, give some concrete examples.
kennethsjg at 8-Oct-12 9:57am
now ,some people can use insignificant attrbutes hide secret messages in xml part of office,for example,"",the attribute "cccc" is invlaid or insignificant (not match ooxml),so I want to get all valid attributes in a xml part based on ooxml,to detect "cccc" is invalid.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 350
1 Sergey Alexandrovich Kryukov 310
2 Maciej Los 155
3 Peter Leow 140
4 Dave Kreskowiak 115
0 Sergey Alexandrovich Kryukov 8,676
1 OriginalGriff 6,855
2 Maciej Los 3,322
3 Abhinav S 3,238
4 Peter Leow 3,034

Advertise | Privacy | Mobile
Web03 | 2.8.150414.5 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100