- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
13 Posted Topics
Hi, I've an HTML form (I generated it from a XML schema .xsd file) I'd like to know a good way to save the form input data (POST/GET don't matter) to an XML file (or fragment) that can be validated with the XML schema that I used to generate the … | |
I've a weird problem with a XSLT file... my XSLT translates a XML file into a HTML form and, to solve some problems, I found a solution: to give to each "input" tag a name that is a concatenation of the xml tags to reach that element (much like an … | |
Re: some time ago (1-2 months) I tried to search a free server with those features, but I didn't find one... :_( | |
Re: Can I add a new challenge for newbies? swap the value of two variables, without the use of a third one. You can use only those two variables: a and b :) | |
Hi! I've a HTML form I've a function with some parameters that checks the value of each field (it's called within a onBlur event). This function check the type and other restrictions about that field. I must create a function that checks that all required fields (or options or other … | |
Re: I like very much GEL :-) but also jEdit and JCreator are good choices! for quick-edits are also useful Notepad++ and Programmer's Notepad :twisted: | |
1) I've a form that takes some input (various fields) I must use those fields as fields of a record of a simple XML database file. Mi xml file is like: <database> <record id="1"> ...my fields... </record> <record id="2"> ...my fields... </record> ... </database> I simply must add a "new … | |
I've a problem with some code, this is the "core" of the code: [CODE] File xmldocFile = new File(xmlFile); File schemaFile = new File(xsdFile); try { DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); dbf.setValidating(true); SchemaFactory sf = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema"); Schema mySchema = sf.newSchema(schemaFile); dbf.setSchema(mySchema); DocumentBuilder db = dbf.newDocumentBuilder(); ErrorChecker errors = new ErrorChecker(); db.setErrorHandler(errors); … | |
Re: Well... some suggestions: 1) first try to search with google (use + and other logic ops to obtain a better search) 2) look at Sun docs and examples, the Java doc is a bit worse than the old version, but it's always one of the best doc's... ;-) 3) there … | |
Re: Well... If you know other programming languages, like C/C++, you can learn basics really quickly... get a good book (look carefully to it before buy, and look also to reviews of them on the net ;-) ) Some years ago I created a program that uses JDBC and Swing (for … | |
Re: I think you must use a simple parser... another (but heavy) solution is the use of regular expressions | |
Re: I can only add this: a JSP (Java Server Page) is compiled to a servlet the first time you run it ;-) so they are all servlets (server extensions :-)) |
The End.