Brassrat

Results 13 comments of Brassrat

yes $0 is not guaranteed to be an absolute path in BASH - for that one uses either BASH_SOURCE or something like (cd -P $0)

i suggested implementing $0 as the absolute path to obviate the need to support BASH_SOURCE[0]. Admittedly, node provides __dirname.

yes ... I haven't tried other stuff yet, such as various shell variables, i.e., BASH_SOURCE, PWD, RANDOM, PPID, HOME, or the myriad parameter expansion expressions :-) (such as ${N:-xxx} or...

I agree most Shell variables are not relevant. I thought, however, that the ones i mentioned might be of use. BASH_SOURCE[0] is AFAIK the only reliable way to get an...

BASH_SOURCE, PWD, RANDOM, PPID, HOME are documented in bash man page. **BASH_SOURCE** An array variable whose members are the source filenames where the corresponding shell function names in the FUNCNAME...

Thanks, I have updated my checkout. However, I have a question, how can I reload saved xml into an existing form? Thanks, Jay goldman mailto: [email protected] From: Michiel Meulendijk Reply-To:...

Looks like the following will work: * Read contents of file into string variable ‘doc’ - Let xmlDocument = new DOMParser().parseFromString(doc, "application/xml"); - parseNode( xmlDocument.childNodes[0], document.querySelector("[data-xsd2html2xml-xpath = '/".concat(xmlDocument.childNodes[0].nodeName).concat("']")) ); i.e.,...

I ‘spoke’ too soon … it appears that the parseNode method will not create nodes? i.e., my xsd (attached is demo subset) has multiple ‘sequence’ elements which need to be...

Not exactly, the xml created by htmlToXml  does not have an xsd reference. But what I did was essentially the same (in my theForm.load() function) However, It seems that if...

correction! the data is being populated, but the sections are HIDDEN - the hidden (and possibly the disabled) attribute is still present.