Re: DataSet & XML format

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: anti spam (spam_at_nospam.com)
Date: 02/06/04


Date: Fri, 6 Feb 2004 13:53:53 +0530

in the other post i did'nt get ur requirement
i thought u wanna get the value out of some element or attribute.in that
case the xmlreader is the best option u can go for.

I did'nt get waht u meant by "format changed by consumers".R u providing the
XML feed as a webservice?
* if u want to preserve the format go for xml schema
* if ur data is only less then use XMLReader and related stuff.
* Use XPath to iterate thru the nodes

if this is not the thing u r looking for can u plz specify ur requiremnt .it
is not clear in ur previous posting
ie what r u planing to do with XML output?
r u providing a web service?etc

Reg

".Net_Newbie" <somewhere@someplace> wrote in message
news:OyddyPI7DHA.2764@TK2MSFTNGP09.phx.gbl...
>
>
> Sir,
> thanks for your help soon.
> My goal is let the data in the database represent as an XML document
> so that others can use my data via HTTP request, the data (xml) format
> is deccided by others ( element or attribute ). What I care is maybe the
> XML format ( element or attribute ) will change by different consumers
> ?? so I hope to do that via xslt at first?!. As ur suggestions, just use
> xmldatareader not dataset.
>
> Besides, how about sql server for xml syntax ??
>
> Regards
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: Obsessive Compulsive XMLing
    ... >> - Any format is fragile if it is not thoroughly described and validated. ... > Of course, but the problem with XML is that, because it's "plain text", the ... OTOH the results of the validation, ... "I don't wanna' be like other people are. ...
    (comp.lang.java.programmer)
  • Re: subclassing xmlReader issues
    ... The sorted Dictionary is part of my debugging efforts. ... not sorted and and I get empty string on all attributes of all xml elements. ... that overload the xmlreader superclass methods. ... Subclasses of this CustomXmlReader ...
    (microsoft.public.dotnet.xml)
  • RE: Ignore previous posting Re: subclassing xmlReader issues
    ... I think it is not related to xmlReader at all, i use similar code and it ... XslCompiledTransform class, the attributes' values will be empty. ... not sorted and and I get empty string on all attributes of all xml elements. ... public abstract class CustomXmlReader: XmlReader ...
    (microsoft.public.dotnet.xml)
  • Ignore previous posting Re: subclassing xmlReader issues
    ... The sorted Dictionary is part of my debugging efforts. ... not sorted and and I get empty string on all attributes of all xml elements. ... public abstract class CustomXmlReader: XmlReader ...
    (microsoft.public.dotnet.xml)
  • Re: Daten aus SQL in XML ausgeben
    ... die If Klausel befindet sich also in einem Try Catch Konstrukt ... Die Ausgabe ist doch aber durch For Xml - im Xml Format ??? ... geht XMLReader trotzdem nicht? ... XMLWriter habe ich heute auch schon ausprobiert... ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)