Hi
I have the following XML. Now I would like to define schema for the below XML.
Please guide me how to create schema with xs:ENTITIES.
<?xml version = "1.0" standalone="yes "?>
<!DOCTYPE database [
<!ENTITY city1 SYSTEM "tour1.html " NDATA html>
<!ELEMENT database ( company+ )>
<!ELEMENT company ( name )>
<!ATTLIST company...
User Profile
Collapse
-
Using xs:ENTITIES
Hi
How to define xs:ENTITIES in a schema and how can I use it in xml ?
Could someone direct me with schema and xml ?
Thanks in advance. -
creating XML schema with restrictions
HI,
I am a beginner in XML schema. In XML schema(XSD) how to complex type, which is restricted to base64Binary (the value of base64Binary type should be any of the values from enumeration) ?
I have tried the below, but has some error, saying unexpected child element xs:enumeration. ( I am using altova's XML spy).
...Code:<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
-
What does mean := in VBA ?
Hi.
Can anyone tell the purpose/meaning of ":=" which is used in VBA ? It sounds like a smiley, lol.
Example :
ActiveWorkbook. Sheets("Sheet1" ).Copy after:=ActiveWo rkbook.Sheets ("Sheet1")
Thanks in advance.... -
Copy file using script
Hi,
I have a file in a URL ( Excel document) and I need to copy the same into local folder. Is it possible to do this either with Javascript or VBscript ?
(As for I tried FileSystemObjec t works only for local files) -
Problem with anchor navigation in frames
Could somebody help me ? I believe this might be elementary, but I am not much familiar with HTML .In my page i have two frames. I have a number of anchor tags in right frame. Every anchor tag in left side is associated to some text and one anchor as header in right frame. When I click in left anchor tag it should focus the associated content in the right frame.
Below is main HTML page partly.
...Code:<frameset cols="40%,60%">
-
Enable/disable automatic configuration script
In Internet Explorer (I use 6.0 ), there is a check box to enable/disable automatic configuration script. Is there any way to check /uncheck this option using Win API ( that can be implemented in VB 6.0 ) ? Or can this be done with registry updation ( from VB) ?
To select this option,
IE -> Tools -> Internet options -> connections tab -> Click "LAN settings" -> "Use automatic configuration scr... -
hi, pbmods.. thanks for reply... Actually when i submitted and came back, I cant find my post. So I posted again. seems to be a bug... :-)...Leave a comment:
-
I have tried with "< 0 " for negative numbers. But just I wanted to do that check in regular expression fo uniformity. Now I found it. Thanks to every one replied. :-)...Leave a comment:
-
regular expression for numbers
I am new to regular expression. I have to validate an input, such as that should be non-negative numeric value (case 1) and non-negative numeric decimal value (case 2) (i.e. 0.5, 0.2, 10.0 etc) . I have tried out like below.
[code=javascript]
var reg2 = /^\d*\.{0,1}\d+$/;
if(!reg2.test(s tr)) {
alert("Not valid");
}[/code]...Leave a comment:
-
regular expression for numbers
I am new to regular expression. I have to validate an input, such as that should be non-negative numeric value (case 1) and non-negative numeric decimal value (case 2) (i.e. 0.5, 0.2, 10.0 etc) . I have tried out like below.
[CODE=javascript]
var reg2 = /^\d*\.{0,1}\d+$/;
if(!reg2.test(s tr)) {
alert("Not valid");
}[/CODE]
1. Is this enough to check for non... -
actually right frame content is generated by XSL. It looks like something below :
...Code:<section id="1-1-1" name="Name"> <format type="textbox" maxlen="32" /> </section> <section id="1-1-2" name="Address"> <format type="textarea" maxlen="70" /> </section> <section
Leave a comment:
-
Yes. This is how i set focus for radio and check box. But as I mentioned, i need to focus ( not exactly focus. Jus to display in screen) for some static text too.
Here is my code.
...Code:function showChapter(chapterName) { /* THIS METHOD IS USED TO DISPLAY AND FOCUS SELECTED CHAPTER */ var elemArray=document.getElementsByName(chapterName); if(elemArray!=null) { for(var i=0;i<elemArray.length;i++)Leave a comment:
-
using focus() in navigation between frames.
Could somebody help me ? I have a left frame and right frame in a page. There is a form in right frame which has number of text box, checkbox, radio button, some static text's. For every input item (and for some static text too), I have link in left frame.
When I click in the left frame, I called a function like right frame.formName. item.focus() and cursor is placed in the input item of right frame. But this works only for the elements... -
I think you can try like this..
1. Receive the random generated id (while installation) and client id from mail.
2. Generate the serial key with these two inputs.
3. Send back through mail.
You should decide whether it is automatic or manual, i.e. receiving random id, client id and generating serial key....Leave a comment:
-
I have seen this kind of authentication in a software.
1. When you install software, a 10 digit dynamic key is produced.
2. Client has to call his vendor with this key and his id.
3. A serial no can be produced based on this key and client id. (this is separate program and not given to client)
sounds silly. isnt it ? But very strong.
(may be no one will buy software, perhaps)
Or you can...Leave a comment:
-
Help on searching inside file.
I am doing a utility for java API search in Visual Basic 6.0. When some class name/method name is given as search key, details are shown like package name, class name etc. (I expect the output is to be similar to JCreator SE).
If my program reads every line from API html file (there are totally 7000+ files), it will take a long time to complete.Curren tly I read everyline from all HTML files from selected packages (directories). ... -
Disabling div tag
Hi all,
I have a set of hyper links inside a div tag. I need to disable them. i.e. that should be visible, but when we click link, target should not be opened. Can anyone help me ? Thanks in advance.. -
Using transform() with InputSource object
Hi all,
I have created one InputSource object and using that object I have transform the Source into result. The code I used is below :
...Code:DocumentBuilderFactory dbfac1 = DocumentBuilderFactory .newInstance(); DocumentBuilder dbparser1 = dbfac1.newDocumentBuilder(); Document doc1 = dbparser1.parse(new File("source.xml")); DOMSource dm1 = new DOMSource(doc1); -
Using TranformerHandler in DOM&SAX
Hi all,
Can somebody give me a simple example of using
TransformerHand ler with DOMSource and SAXSource
(using SAXTransformerF actory.newTrans formerHandler(S ource src)) ? Thanks a lot in advance..
No activity results to display
Show More
Leave a comment: