Click here to Skip to main content
15,867,835 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi All,

I created a webservice in VS2010 and run in local host it displays in right format is shown below.
XML
<?xml version="1.0" encoding="UTF-8"?>
<string xmlns="http://tempuri.org/">How are you Mariappan Ganapathy</string>


but in other Machine it shows as
the xml file does not appear to have any style information associated with it
------------------------------------------------------------------------------------
<string>How are you Mariappan Ganapathy


Thanks & Regards,
G Mariappan
Posted
Updated 29-Jan-23 13:03pm

Its a warning associated on how to display or render the xml whether raw xml or with some style like table,bold etc.
It can be avoided using xsl in the xml .
 
Share this answer
 
v2
Comments
G.Mariappan(a)Murugan 26-Dec-13 3:28am    
How to use xsl in xml ? could give me a clear picture
JoCodes 26-Dec-13 10:02am    
Its simple ..just to show xml as style enabled.
http://www.w3schools.com/xsl/xsl_transformation.asp
G.Mariappan(a)Murugan 27-Dec-13 1:48am    
Thanks i got a picture view around it

Regards
G Mariappan
JoCodes 27-Dec-13 2:31am    
You are welcome. ...
[no name] 19-Nov-22 5:59am    
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0"><channel><title>Microsoft Power BI Community search forhttps://community.powerbi.com/oxcrx34285/search<description>Microsoft Power BI Community search for<pubdate>Sat, 19 Nov 2022 10:42:06 GMT<dc:date>2022-11-19T10:42:06Z
Refer- This XML file does not appear to have any style information associated with it[^].
Quote:

The message isn't an "error" but rather a warning n need not be solved but ignored. An XML document is a data structure but does not contain any presentation/style information internally. Normally an XML document is used in inter-application communication or as a pure data structure that is then used with additional presentation/style information to display to users.


XML can be applied style by XSLT just as HTML by CSS and the above warning can be eradicated An eg: of applying xls to xml


We don't present xml using xls for RSS, Web Services as they are just used for communication without applying stylesheet rather than meant to be presented to user in browser.


So, everything is fine here.

 
Share this answer
 
Comments
G.Mariappan(a)Murugan 27-Dec-13 1:48am    
Thanks i got a picture around it

Regards,
G Mariappan
Most Welcome buddy. :)
<error>
AuthenticationFailed
<message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:c298c282-a01e-0082-57f3-8e46c2000000 Time:2021-08-11T21:00:54.9641726Z
<authenticationerrordetail>Signed expiry time [Sat, 17 Jul 2021 06:31:58 GMT] must be after signed start time [Wed, 11 Aug 2021 21:00:54 GMT]

plaz Invoice dawnload send me
 
Share this answer
 
Comments
OriginalGriff 11-Aug-21 17:52pm    
Three things:
1) This is not a solution to the OP's question. SO posting it here is entirely wrong.
2) The original question is 8 years old, so the poster is unlikely to be interested in a reply anyway ...
3) While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
I have the same problem. i downloaded the messageboard app from this site and tried the RSS link.
In the FeedService class file their is the following code:
Dim feed As SyndicationFeed = New SyndicationFeed("Message Board", "A sample message board built using Visual Studio 2008.", rootUri)
and Dim item = New SyndicationItem
I am guessing that within this code you can set the style reference sheet.

but how?
 
Share this answer
 
Comments
CHill60 30-Jan-23 6:42am    
Your question is not a solution to the OP's question. If you have a question then use the red "Ask a Question" link at the top of this page.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900