Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

parsing - Alternative for XPath for Android 2.1 -


i have port application working in android 2.1 made android2.2

now have problem in xml parsing xpath not supported in android 2.1 using sax parser.

in xmlparsing method in older code use xpath complile key \employee\designation\value\"
eg: key = \employee\designation\value\"
xml file

personnel>
address>
/address> employee type="permanent">
name> seagull /name>
id> 3674 /id>
age> 34 /age>

designation>
value>34 /value>
/designation>
/employee>
- employee type="contract">
name>robin /name
id>3675 /id>
age>25 /age>

designation> value>34 /value>
/designation>

/employee>

employee type="permanent">
name>crow /name>
id>3676 /id>
age>28 /age>

designation>
value>38 /value>
/designation>
/employee>
/personnel>`

o/p comes 34 , 38`enter code here , returns mw corresponding values many in xml file. need use saxparser

how can implement this? there way using saxparserfactory ,schema?

thanks response.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -