Click here to Skip to main content
14,331,326 members
   

ASP.NET

 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
F-ES Sitecore18-Sep-19 23:43
mveF-ES Sitecore18-Sep-19 23:43 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846719-Sep-19 15:54
memberMember 245846719-Sep-19 15:54 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
F-ES Sitecore19-Sep-19 23:25
mveF-ES Sitecore19-Sep-19 23:25 
GeneralRe: Error: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level Pin
Member 245846722-Sep-19 15:45
memberMember 245846722-Sep-19 15:45 
QuestionRazor Pages - Persisting a SelectList Pin
Mycroft Holmes15-Sep-19 13:32
memberMycroft Holmes15-Sep-19 13:32 
AnswerRe: Razor Pages - Persisting a SelectList Pin
Richard Deeming15-Sep-19 23:37
mveRichard Deeming15-Sep-19 23:37 
GeneralRe: Razor Pages - Persisting a SelectList Pin
Mycroft Holmes16-Sep-19 11:32
memberMycroft Holmes16-Sep-19 11:32 
QuestionHow to display/print name value in XML file Pin
hm912-Sep-19 1:02
memberhm912-Sep-19 1:02 
I have a page in asp.net that queries an XML file and shows the data. It shows the data I need in the nodes, but I want to print the specific values deeper in the node… for instance I want to be able to print the value - PARIS or country France in the XML example below. with the line below I can only print the first element but I am not sure how to print the other values,Any advise on how this can be achieved?
Note the rest of the code works and shows the other elements in the upper nodes, It s just I want to know how to display the name values or specific name value in the sample xml file below

Asp.net Line Code:


CityValue = node.SelectSingleNode("ns2:fields/ns2:field", nsManager).InnerText, _



XML:
<ns2:fields>

<ns2:field name="currency">EUR</ns2:field>

<ns2:field name="starRating">3 Star</ns2:field>

<ns2:field name="Country">FRANCE</ns2:field>

<ns2:field name="longitude">2.344952</ns2:field>

<ns2:field name="latitude">48.872646</ns2:field>

<ns2:field name="hotelID">6950</ns2:field>

<ns2:field name="city">PARIS</ns2:field>

<ns2:field name="zipcode">75009</ns2:field>

</ns2:fields>

AnswerRe: How to display/print name value in XML file Pin
F-ES Sitecore12-Sep-19 2:14
mveF-ES Sitecore12-Sep-19 2:14 
GeneralRe: How to display/print name value in XML file Pin
hm912-Sep-19 2:28
memberhm912-Sep-19 2:28 
AnswerRe: How to display/print name value in XML file Pin
Richard Deeming12-Sep-19 6:15
mveRichard Deeming12-Sep-19 6:15 
GeneralRe: How to display/print name value in XML file Pin
hm912-Sep-19 8:51
memberhm912-Sep-19 8:51 
AnswerRe: How to display/print name value in XML file Pin
Parth Munjpara13-Oct-19 18:55
memberParth Munjpara13-Oct-19 18:55 
QuestionWhen Rebuild this website warining this error ? Pin
Member 245846711-Sep-19 16:05
memberMember 245846711-Sep-19 16:05 
AnswerRe: When Rebuild this website warining this error ? Pin
Richard MacCutchan11-Sep-19 21:18
protectorRichard MacCutchan11-Sep-19 21:18 
GeneralRe: When Rebuild this website warining this error ? Pin
Member 245846712-Sep-19 16:33
memberMember 245846712-Sep-19 16:33 
GeneralRe: When Rebuild this website warining this error ? Pin
Richard MacCutchan12-Sep-19 21:27
protectorRichard MacCutchan12-Sep-19 21:27 
GeneralRe: When Rebuild this website warining this error ? Pin
Member 245846712-Sep-19 22:14
memberMember 245846712-Sep-19 22:14 
GeneralRe: When Rebuild this website warining this error ? Pin
Richard MacCutchan12-Sep-19 22:21
protectorRichard MacCutchan12-Sep-19 22:21 
GeneralRe: When Rebuild this website warining this error ? Pin
Member 245846715-Sep-19 15:22
memberMember 245846715-Sep-19 15:22 
QuestionHow solve this error "ModuleNotFoundError: No module named 'requests' " by using pycharm Pin
thilipr11-Sep-19 2:38
memberthilipr11-Sep-19 2:38 
SuggestionRe: How solve this error "ModuleNotFoundError: No module named 'requests' " by using pycharm Pin
Richard Deeming11-Sep-19 23:39
mveRichard Deeming11-Sep-19 23:39 
AnswerRe: How solve this error "ModuleNotFoundError: No module named 'requests' " by using pycharm Pin
Richard MacCutchan12-Sep-19 0:19
protectorRichard MacCutchan12-Sep-19 0:19 
QuestionRazor Pages Inconsistent Behaviour Pin
Mycroft Holmes7-Sep-19 13:49
memberMycroft Holmes7-Sep-19 13:49 
AnswerRe: Razor Pages Inconsistent Behaviour - Resolved Pin
Mycroft Holmes7-Sep-19 13:51
memberMycroft Holmes7-Sep-19 13:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.