|
Stefan,
Thanks for the information. CData it is, because the information may contain <> and other chars that may offend the parser.
Stefan Troschuetz wrote: Mike Hankey wrote:
As an aside this is my 100 post
Congratulation
I don't feel any different am I supposed to???
Everybody gotta be somebody
|
|
|
|
|
Helloo all
am using xmltextWriter to write node in xml file
XmltextWriter w=null
w=new Xmltextwriter(-----);
but the problem not in using writer
the problem is
I have listbox have this values
Level1
Level2
Level2
Level2
Level3
Level3
Level1
Level2
Level3
Level4
Level2
Level2
Level1
and soon on
i want to make witer get values for list and write it to xml
every level1 present base node(root node) and sublevels is subnodes
i want be unlimeted level
xml file show be appear like this
<root>
<level1>
<level2/>
<level2/>
<level2>
<level3/>
<level3/>
</level2>
</level1>
<level1>
<level2>
<level3>
<level4/>
</level3>
</level2>
</level2>
</level2>
</level1>
</root>
how can i do that
-- modified at 15:04 Wednesday 28th March, 2007
|
|
|
|
|
That seems pretty useless. There must be something you need after that right? What is it?
led mike
|
|
|
|
|
yes..its idea of my problem
can u help?
|
|
|
|
|
Instead of asking this question all over the CP forums and hoping that someone will do your work, you should start doing it yourself. If you encounter concrete problems while doing this, we'll be pleased to help you as best as we can, but nobody will spend his free time to do your work.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi,
I am new to Xml language,Can anybody tell what will be output of a xml parser???
Thanks in advance.
Siddharth
|
|
|
|
|
There are two types of XML Parser Standards
1) DOM Parser - produces an in memory tree structure of XmlNode objects
2) SAX Parser - fires events during parsing
led mike
|
|
|
|
|
I am using NDFD service for wether data : http://www.weather.gov/forecasts/xml/
First i got error : underlaying connection closed.
its resolved after i puts
protected override System.Net.WebRequest GetWebRequest(Uri uri)
{
System.Net.HttpWebRequest webRequest =
(System.Net.HttpWebRequest)base.GetWebRequest(uri);
webRequest.ProtocolVersion = HttpVersion.Version10;
webRequest.KeepAlive = false;
return webRequest;
}
But now in some cases its gives me error:
Unable to read data from the transport connection. Connection closed.
Plz.. can any one help me on this?
I m using ASP.Net 2.0
With Regards,
Mayank Prajapati
MCP, MCTS
Sr. Software Engineer
JCTWeb India
www.jctweb.com
|
|
|
|
|
it is possible to set xsl dynamically to xml ??
i.e for the same xml document, under some conditions to
change the xsl for the xml document.
i am using asp.net(vb.net)
thanks
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
XSL is XML
led mike
|
|
|
|
|
for sure xsl is xml..........
but its a (xml based)style sheet for the xml documents
just like the css file to the html page.
anyway i found the answer.
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
I think the question actually should be "it is possible to set xsl dynamically for xml document??"...
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe
|
|
|
|
|
anyone know a method for binding the contents [not only title and description, but also the link tag contents ] in an RSS feed in my webpage without navigating to the url when click for more info
i have worked with one xslt script at
http://www.codeproject.com/soap/reallymostsimplesyndctn.asp
but it support only the title and description alog with navigating to the link url with thr stuff
my reqrment is:
stuff in the should support my webpage style
how we can do it
can u plzzz help me
thanx in advance
will uplzz supply ur emailid too
thanx.................
RIYAM HUSSAIN
Sr.SOFTWARE DEVELOPER
INFORPARK, KOCHIN
|
|
|
|
|
Hi,
i am newbie for XML (also to .Net). i heard from some one that we can use XML for sending / retrieving the data from the database.
for this we have to use HTTPWebRequet. HTTPwebrequest send/recive the data in xml string format.
but how can we do this??
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
This magic is called XMLHttpRequest.
Google for it, you'll see a plethora of tutorials.
Best regards,
- Dmitry.
-------------------------
Don't worry, be happy )
|
|
|
|
|
I am using vbscript to execute web services. Normally we can leave encoding out of the declaration line but we need it for chinese characters. When I load the xml from a stream (.LoadXML(...)) the encoding attribute gets stripped from the page declaration. If I try to load the file into the DOM it errors with no reason. Even If I try to set the declaration after loading it still does not showup in the XML Text.
<br />
<br />
<?xml version="1.0" encoding="gb2312" ?><br />
<br />
<br />
InputFolderXML = XMLTEXT from a file<br />
<br />
Set XmlInputDoc = CreateObject("Msxml2.FreeThreadedDOMDocument.4.0")<br />
LoadXmlResult = XmlInputDoc.loadXml(InputFolderXML)<br />
<br />
XmlInputDoc.CreateXmlDeclaration "1.0", "gb2312", Nothing<br />
<br />
<br />
Any Help will be greatly appreciated
Thanks
Joe
|
|
|
|
|
i have received an e-mail saying one of the users have rplied, and it gave link, but i dont see what the other user has posted on my reply
|
|
|
|
|
wrote: i dont see what the other user has posted on my reply
Probably he post some XML. The browser tries to interpret the XML tags like he does with HTML tags but since they have no meaning to the browser (in almost any case) the tags and its content are ignored. Asked the user that replied to you to either replace the "<" characters with "<" or check the "Ignore HTML tags in this message" beneath the smilies. If you do not want to wait till he does either of them, you should be able to read the answer by looking at the source code of the page.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
I am using MSXML and prior to sending a XML (IXMLDOMDocument2*) through to a server, I need to strip out the CR's and LF's or just the CR's (0x09) from the XML file to send. How can I do this please?
|
|
|
|
|
did you try doc->preserveWhiteSpace(VARIANT_FALSE) ?
led mike
|
|
|
|
|
Yes. But that still leaves the CR's i.e. 0x0d! The document being loaded from disk has been canonalised ( C14N ) and doesn't have the CR's but as soon as it is loaded into my IXMLDomDocument2 object they are back. I have the following settings set:
put_async( VARIANT_FALSE )
put_validateOnParse(VARIANT_TRUE)
put_resolveExternals(VARIANT_FALSE)
put_preserveWhiteSpace(VARIANT_TRUE)
I would appreciate anyones advise on this.
|
|
|
|
|
Andy H wrote: put_preserveWhiteSpace(VARIANT_TRUE)
VARIANT_TRUE != VARIANT_FALSE sigh:
led mike
|
|
|
|
|
What I meant that I had tried set preserveWhiteSpace to VARIANT_TRUE. This does indeed get rid of the WhiteSpace but I still have CR-LF's i.e. I have:
0D 0A 09 09
Because the xml file saved to disk has been C14N'ed then when loaded into my IXMLDOMDocument2 object for transmission the signle LF's i.e. 0A have been converted back into CR-LF's i.e. OD OA pairs.
What I want to know is how can I load the XML file into my IXMLDOMDocument2 object without it changing it in any way?
|
|
|
|
|
Hi All,
Can anyone tell me if I can import two XSD's at the same time in my WSDL's
<types> section? if yes, how do i do it?
Thanks
|
|
|
|
|
Inside the types section define a schema that imports the two schemas.
<wsdl:types>
<xsd:schema>
<xsd:import namespace="..." schemaLocation="..." />
<xsd:import namespace="..." schemaLocation="..." />
...
</xsd:schema>
</wsdl:types>
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|