Xmldom
I want to load some HTML which is in a ASP variable into an XMLDOM object but am having no success. All the examples I see point to loading documents from the filesystem using the .Load or .LoadXML methods.
Is what I want to do possible? Any examples?
View Replies
I have an Excel file with one column of data. This excel file, I have saved it as an XML file. Now using the XMLDOM, I am trying to display the contents into a Textarea.
This is what I do in ASP code:
Code: ....
View Replies
View Related
I'm parsing an XML document using the XMLDOM object in ASP. I am
running into a problem with a section formatted like this:
<MasterElement>
TitleOfElement
<Abbreviation>
TOE
</Abbreviation>
</MasterElement>
If I use node.text, I get TitleOfElement TOE. I need to seperate the
two but cannot find any reference that addresses this. Of course I can
manually parse using standard functions like InStr, but it seems like
there should be a more proper way to extract the data. Anyone run into
this?
View Replies
View Related
I'm in the process of 'trying' to write a very small CMS which will allow me update an existing XML script I have.
Unfortunately I just cannot get the script to work, my script falls over with an objRoot error when I try to set the objField using selectsinglenode. XML looks like this:
View Replies
View Related
I have transformed some xml using xsl: Code:
xslProc.input = xmlDoc ' The xml to transform
xslProc.transform()
I now want to use the resulting xml output (the xsl transforms to a different grammer) to do some stuff before the whole lot (xml and stuff) is passed back to the page that called it (AJAX). How do i feed the transformed xml into xmldom, domdocument or what every is required for me to navaigate using xpath and so my stuff?
View Replies
View Related
How can I select a comment node using selectSingleNode, sendo que selectSingleNode("#comment") don't works?
View Replies
View Related
I've had an ASP project dumped on me written in VBScript. I'm actually a
C#/ASP.NET developer and am struggling trying to find a way to sort the
result of a XPath query executed using SelectNodes? Code:
View Replies
View Related
I have the following code which I try to load an xml file, but in browser, I
only get text value for each node, not whole xml string. I expect to see
something like:
<name firstName="betty" lastName="Smith">I am at home</name>
But I only see text "I am at home"
did I do something wrong?
Set xmlDom=CreateObject("Microsoft.XMLDOM")
XMLDom.async =False
xmlDom.load Server.MapPath("0925SelectTest.xml")
DataToSend = "xmlValue="& xmlDom.xml
Response.Write DataToSend
Response.End
View Replies
View Related
I have a field type date in xml, loading with Microsoft.XMLDOM, how can I order by date? xml code:
<Root>
<Fields>
<Field Id="456955" Date="01/05/1956" />
<Field Id="159753" Date="21/06/1972" />
<Field Id="769513" Date="14/07/1932" />
</Fields>
</Root>
View Replies
View Related
I have an XML string:
<?xml version="1.0" encoding="UTF-8"?>
<SSOUser><Status>FAIL</Status><Message>Unable to find session id of
1137018716939</Message></SSOUser>
That I am trying to retrieve the values between the tags for.
I want to get the value from:
<Status>FAIL</Status>
so I get the value "FAIL"
I am using the following code (and have tried MANY variations) to retrieve
the specific field values but I can not find out how to do this.
response.Write(xml.childNodes(1).text)
This writes the ENTIRE XML data to the screen. I want to get the above data
ONLY. I want to be able to do this ALL in ASP server side ONLY.
View Replies
View Related
It works perfect on my Win xp machine but when i upload the page into my server which is win2003 it returns 0 What is the possible cause of it ? Code:
View Replies
View Related
I've got an application setup that uses freightquote.com API to receive XML responses containing shipping information. A basic response example is as follows: Code:
View Replies
View Related