linq xml gets information schema set
i am perplexing xml information linq, nonetheless controlling problem.
i am controlling schema, set charge xmlns ...
<carsforsale xmlns="http://schemas.sharplogic.net/carsales.xsd">
<carforsale>
there carforsale elements.
when schema set i this...
xelement doc = xelement.load(httpcontext.current.server.mappath("app_data/xml/carsforsale.xml"));
var cars2 = d doc.descendants("carforsale")
name d;
then i law i bulletin yielded law
strip xmlns out xml record information comes behind expected??
any ideas?
thx
Comments
Post a Comment