JJR - the inbuilt data type date in xsd should be specified in gregorian format (year month day), according to W3 (see http://www.w3.org/TR/xmlschema-2/#dateTime)
My attribute node has no xsd schema definition, there is no associated schema for the document.
There is currently no date...
SORRY, vital info missing!
The point was that using setAttribute gives a different result to using attribute.text=[variable]. setAttribute isn't reading the system locale settings to convert the date to a string, it's using default US settings.
Chip H is right though, format explicitly, it's...
VB/VBScript
Adding a date as an attribute value, without explicitly converting it to a string first (i.e. using implicit conversion) results in the date being formatted according to US settings. Adding the value to the attribute using attribute.text=[variable] results in the date being...
Thanks for that, very helpful.
My survey of the single NTFS volume near me (our test server) was obviously too small a sample... Thats what happens when developers are playing around with usefull looking tools.
It does use the SummaryInformation stream though (apart from on the Office docs)...
try something like this (sorry, my JS is a little rusty, watch out for syntax errors...):
people=new Array()
function person(name,number,group)
{
this.name=name
this.number=number
this.group=group
}
function addPerson(name,number,group)
{
var pers=new person(name,number,group)...
I agree, this sounds like quite a strange DB design to me, why are all the rows the same?
Question: how do you know which row to update, assuming there is a specific row you are interested in?
If you want to update only one row, but ANY row, then try using TOP 1 in your statement. My SQL is a...
Well, on NTFS all files have a "Summary" tab in their property pages. Apart from the Office documents, which maintain this data elsewhere, moving these files to FAT produces a dialogue box which warns that the file contains multiple streams, which will be lost to FAT.
So I accept the...
Sorry, a quick PS:
I still have the question of what the summary info stream name is for documents other than Office docs. This is definitely a stream, but whats it called?
Anyone know? "Lets integrate!"
If it doesn't work it's not my fault.
Thanks for that.
I hadn't realised that summary info for e.g. a txt file is handled differently to office files, i.e. that summary is only available for txt files on NTFS volumes while office files can also contain this info on FAT volumes. I guess my search for a generic solution isn't going...
I'm trying to access some of the multiple file streams used in e.g. summary information for a file on NTFS volumes.
I'm using some stuff from Dino Esposito on MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2k/html/ntfs5.asp
To access one of the underlying named...
Does your XML document have a default namespace? Do your selectNodes and selectSingleNode methods on your DOMDocument draw a blank?
Try this:
objDom.setProperty "SelectionNamespaces", "xmlns:newPrefix='myCurrentDefaultNamespace'"
objDom.selectNodes("//newPrefix:ThisNodeName")
What...
I'd like to be able to call a dll from another dll, start it doing a long tedious task, proceed to my next line of code, then come back and check if it was finished when I've done the other stuff I wanted to do. I really don't want to have to wait around for the second dll to finish its task...
nodeToAppendto.appendChild Domdocument.firstchild
or more specific to you:
innernode.appendchild htmlDom.firstchild
You can't append a document type node directly, but if you use domdocument.firstchild to select the rootnode you can then append it to the desired node in your other document...
Your http string uses forward slashes "\" instead of backslashes "/".
Hard drive locations should be specified with forward slashes, http paths with backslashes.
Hope that helps.
Using msxml4 and VB6 with DomDocument40 on Windows2000 I
get a "VB6 has generated internal errors and will shut
down" message on loading xml (loadXML).
Here is the string I'm sending:
<RootTag xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.