FR2896059A1 - HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device - Google Patents

HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device Download PDF

Info

Publication number
FR2896059A1
FR2896059A1 FR0651502A FR0651502A FR2896059A1 FR 2896059 A1 FR2896059 A1 FR 2896059A1 FR 0651502 A FR0651502 A FR 0651502A FR 0651502 A FR0651502 A FR 0651502A FR 2896059 A1 FR2896059 A1 FR 2896059A1
Authority
FR
France
Prior art keywords
html document
document
xml tree
parameter
client device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
FR0651502A
Other languages
French (fr)
Inventor
Stephane Coutant
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Orange SA
Original Assignee
France Telecom SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by France Telecom SA filed Critical France Telecom SA
Priority to FR0651502A priority Critical patent/FR2896059A1/en
Publication of FR2896059A1 publication Critical patent/FR2896059A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/154Tree transformation for tree-structured or markup documents, e.g. XSLT, XSL-FO or stylesheets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/143Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Stored Programmes (AREA)

Abstract

The method involves receiving a document creation request (R) comprising a parameter (P) from a client device (20). A software block (B) producing a code stored in a program library (150) is selected based on the parameter, and an XML tree (T) is created, where the tree has nodes constituted by a parameter executing the selected block. An HTML document (D) is generated from the tree, and the document is set on-line for being accessed by the client device. Independent claims are also included for the following: (1) a server device for creating an HTML document (2) a computer program comprising instructions for implementing HTML document creating method (3) a computer readable recording medium for storing the computer program.

Description

PROCÉDÉ ET DISPOSITIF DE CRÉATION D'UN DOCUMENT HTML EN LIGNE Arrière-planMETHOD AND DEVICE FOR CREATING AN ONLINE HTML DOCUMENT Background

de l'invention Le domaine technique auquel se rapporte l'invention est celui des outils d'aide à la création des documents de type HTML (HyperText Markup Language). Plus précisément, l'invention concerne un procédé et un dispositif d'aide à la création de documents HTML très simples d'utilisation et dont l'utilisation ne nécessite aucune connaissance de la structure du langage HTML ni d'une quelconque technique de programmation. On connaît déjà des logiciels qui offrent une interface utilisateur graphique évoluée permettant à des utilisateurs non informaticiens de concevoir une page HTML simplement en manipulant des objets graphiques. De façon connue, les documents HTML produits par ces outils sont, traditionnellement, destinés à être rendus accessibles par des tiers. Pour ce faire, et de façon connue, la page HTML ainsi créée doit être hébergée par un serveur web dont l'administration, par exemple du point de vue de la sécurité informatique, requiert des connaissances techniques qui ne sont pas celles d'un utilisateur étranger aux techniques de l'informatique. C'est pourquoi les utilisateurs susmentionnés font généralement appel aux services d'une société spécialisée pour l'administration du serveur web et des documents HTML hébergés par ce serveur. La solution traditionnelle en deux étapes mentionnée ci-dessus, à savoir la conception du document HTML par l'utilisateur, puis la soumission de ce document à une société extérieure pour sa mise en ligne, n'est pas adaptée dès lors que ces documents HTML deviennent complexes. C'est notamment le cas lorsque des documents HTML comprennent des formulaires proposant des champs de saisie de données, puisqu'il faut prévoir, par exemple, un traitement sémantique permettant de valider le type des données saisies.  The technical field to which the invention relates is that of tools for creating documents of the HTML type (HyperText Markup Language). More specifically, the invention relates to a method and a device for assisting the creation of HTML documents very easy to use and whose use requires no knowledge of the structure of HTML or any programming technique. Software is already known that provides an advanced graphical user interface that allows non-computer users to design an HTML page simply by manipulating graphic objects. In known manner, the HTML documents produced by these tools are, traditionally, intended to be made accessible by third parties. To do this, and in a known manner, the HTML page thus created must be hosted by a web server whose administration, for example from the point of view of computer security, requires technical knowledge that is not that of a user. foreign to computer techniques. This is why the aforementioned users generally use the services of a specialized company for the administration of the web server and HTML documents hosted by this server. The traditional two-step solution mentioned above, ie the user's design of the HTML document, then the submission of this document to an external company for its uploading, is not suitable as soon as these HTML documents become complex. This is particularly the case when HTML documents include forms offering data entry fields, since it is necessary to provide, for example, a semantic processing to validate the type of data entered.

En conséquence, lorsque de tels documents HTML doivent être produits, les utilisateurs novices oublient l'utilisation des logiciels simples à interface graphique connus de l'art antérieur et recourent, pour la conception du document et pour sa mise en ligne, à des sociétés externes. On comprend que cette solution allonge considérablement le temps de développement et de mise en service de ces documents.  Consequently, when such HTML documents must be produced, novice users forget the use of the simple GUI software known from the prior art and use, for the design of the document and for putting it online, to external companies . We understand that this solution greatly extends the development time and commissioning of these documents.

Objet et résumé de l'invention La présente invention concerne un procédé d'aide à la création en ligne d'un document HTML pouvant être mise en oeuvre dans un dispositif serveur dans un réseau.  OBJECT AND SUMMARY OF THE INVENTION The present invention relates to a method of assisting the online creation of an HTML document that can be implemented in a server device in a network.

Ce procédé comporte : - une étape de réception, en provenance d'un dispositif client, d'une requête de création du document, cette requête comportant au moins un paramètre ; - une étape de sélection, en fonction de ce paramètre, d'au moins une 15 brique logicielle de production de code mémorisée dans une bibliothèque accessible par le dispositif serveur, une étape de création d'un arbre XML dont chaque noeud est constitué par au moins un paramètre d'exécution d'une des briques sélectionnées ; 20 -une étape de génération du document HTML à partir de cet arbre XML; et -une étape de mise en ligne rendant ledit document HTML accessible par le dispositif client. Corrélativement, l'invention concerne un dispositif serveur d'aide 25 à la création d'un document HTML en ligne dans un réseau. Ce dispositif comporte : - une bibliothèque comportant au moins une brique logicielle de production de code; - des moyens pour sélectionner au moins une de ces briques, en 30 fonction d'au moins un paramètre compris dans une requête reçue en provenance d'un dispositif client ; - des moyens pour créer un arbre XML dont chaque noeud est constitué par au moins un paramètre d'exécution d'une des briques sélectionnées ; 35 - des moyens pour créer le document HTML à partir de cet arbre XML ; et - des moyens pour mettre en ligne le document HTML de façon à le rendre accessible par le dispositif client. Le procédé et le dispositif d'aide à la création selon l'invention permettent ainsi de faciliter la création de documents HTML complexes par des utilisateurs non informaticiens. De façon pratique, le procédé et le dispositif selon l'invention offrent, à l'utilisateur novice, un certain nombre d'objets graphiques, qui peuvent être manipulés, par une interface simple, comme dans l'art antérieur, pour concevoir le document HTML.  This method comprises: a step of receiving, from a client device, a request for creating the document, this request comprising at least one parameter; a step of selecting, according to this parameter, at least one software code generation brick stored in a library accessible by the server device, a step of creating an XML tree whose each node is constituted by minus one execution parameter of one of the selected bricks; A step of generating the HTML document from this XML tree; and an uploading step rendering said HTML document accessible by the client device. Correlatively, the invention relates to a server device for assisting in the creation of an online HTML document in a network. This device comprises: a library comprising at least one software code generation brick; means for selecting at least one of these bricks, as a function of at least one parameter included in a request received from a client device; means for creating an XML tree whose node consists of at least one execution parameter of one of the selected bricks; Means for creating the HTML document from this XML tree; and - means for putting the HTML document online so as to make it accessible by the client device. The method and the device for assisting the creation according to the invention thus facilitate the creation of complex HTML documents by non-computer users. Conveniently, the method and apparatus of the invention provide the novice user with a number of graphical objects that can be manipulated by a simple interface, as in the prior art, for designing the document. HTML.

Une différence majeure avec l'art antérieur est que, selon l'invention, la création du document se fait par le dispositif serveur, celui-ci étant apte à mettre le document HTML en ligne de façon quasiment instantanée, ce qui facilite grandement sa validation par l'utilisateur novice.  A major difference with the prior art is that, according to the invention, the creation of the document is done by the server device, it being able to put the HTML document online almost instantaneously, which greatly facilitates its validation by the novice user.

On comprend donc que tout l'intérêt de l'invention réside dans la génération rapide du document HTML à partir des requêtes de conception de l'utilisateur. Pour ce faire, le procédé et le dispositif d'aide à la création selon l'invention proposent une étape intermédiaire dans laquelle le document HTML est modélisé sous forme d'un arbre XML dont les noeuds sont constitués par des paramètres d'exécution de briques logicielles aptes, lorsqu'elles sont exécutées, à générer le document HTML. Dans un mode particulier de réalisation, le procédé d'aide à la création selon l'invention comporte au moins : - une étape de réception, en provenance du dispositif client, d'une requête de modification de ce document, cette requête comportant au moins un paramètre ; - une étape de sélection, en fonction de ce paramètre, d'au moins une brique logicielle de production de code dans la bibliothèque ; - une étape d'insertion, dans l'arbre XML, d'au moins un noeud constitué par au moins un paramètre d'exécution d'une des briques Java sélectionnées ; - une étape de génération du document HTML à partir de cet arbre XML modifié ; et - une étape de mise en ligne rendant le document HTML accessible par le dispositif client.  It is thus clear that the whole point of the invention lies in the rapid generation of the HTML document from the user's design requests. To do this, the method and the device for aiding creation according to the invention propose an intermediate step in which the HTML document is modeled in the form of an XML tree whose nodes are constituted by parameters of execution of bricks. software, when executed, to generate the HTML document. In a particular embodiment, the method of assisting the creation according to the invention comprises at least: a step of receiving, from the client device, a request for modification of this document, this request comprising at least a parameter; a step of selecting, according to this parameter, at least one code generation software brick in the library; an insertion step, in the XML tree, of at least one node constituted by at least one execution parameter of one of the selected Java blocks; a step of generating the HTML document from this modified XML tree; and - an uploading step making the HTML document accessible by the client device.

Dans un mode particulier de réalisation, le procédé selon l'invention comporte au moins : - une étape de réception, en provenance du dispositif client, d'une requête de modification du document, cette requête comportant au moins un paramètre ; - une étape de suppression, dans l'arbre XML, d'au moins un noeud choisi en fonction de ce paramètre ; -une étape de génération du document HTML à partir de cet arbre XML modifié ; et - une étape de mise en ligne rendant le document HTML accessible par le dispositif client. Ainsi, le procédé selon l'invention est fortement interactif, puisque l'utilisateur peut, après avoir vérifié la première version de son document HTML en ligne, envoyer au serveur selon l'invention des requêtes soit pour ajouter des éléments dans son document, soit pour en supprimer. C'est principalement dans cette phase de modification que la structure intermédiaire sous forme d'arbre trouve son intérêt, puisque le serveur selon l'invention peut, par des techniques connues de manipulation d'arbre, apporter très rapidement les modifications souhaitées sur le document et mettre la version modifiée en ligne pour nouvelle validation. Dans un mode particulier de réalisation, la bibliothèque comporte au moins une brique logicielle de production de code qui permet, lors de l'étape de génération, d'insérer dans le document HTML, un champ de saisie de données, ce champ de saisie étant associé à un traitement de validation sémantique des données. Ainsi, le procédé selon l'invention permet de créer très rapidement un formulaire HTML. Très avantageusement, lorsque ce formulaire est mis en ligne, l'utilisateur peut tester que le champ de saisie est apte à effectuer le contrôle sémantique souhaité sur les données saisies dans ce champ. Dans un mode particulier de réalisation de l'invention, la bibliothèque comporte des briques logicielles aptes à produire un code 35 HTML conforme à des recommandations d'accessibilité numérique.  In a particular embodiment, the method according to the invention comprises at least: a step of receiving, from the client device, a request for modifying the document, this request comprising at least one parameter; a step of deleting, in the XML tree, at least one node chosen according to this parameter; a step of generating the HTML document from this modified XML tree; and - an uploading step making the HTML document accessible by the client device. Thus, the method according to the invention is highly interactive, since the user can, after having checked the first version of his online HTML document, send requests to the server according to the invention either to add elements in his document or to remove it. It is mainly in this modification phase that the intermediate structure in the form of a tree finds its interest, since the server according to the invention can, by known techniques of tree manipulation, bring very quickly the desired modifications to the document. and put the modified version online for new validation. In a particular embodiment, the library comprises at least one software code generation brick which makes it possible, during the generation step, to insert in the HTML document a data entry field, this input field being associated with semantic data validation processing. Thus, the method according to the invention makes it possible to very quickly create an HTML form. Very advantageously, when this form is put online, the user can test that the input field is able to perform the desired semantic control on the data entered in this field. In a particular embodiment of the invention, the library comprises software bricks capable of producing an HTML code in accordance with digital accessibility recommendations.

Ainsi, le code HTML produit dans ce mode de réalisation de l'invention est conforme aux recommandations d'accessibilité numérique précitées. L'invention permet ainsi de respecter les recommandations WAI- 5 WCAG (Web Accessibility Initiative, Web Content Accessibility Guidelines) ou ceux de AccessiWeb. A titre d'exemple non limitatif, de telles recommandations prévoient que la navigation dans le document HTML produit peut être effectuée à la voix, chaque label associé à un champ de saisie dans un 10 formulaire pouvant être synthétisé vocalement. Dans un mode particulier de réalisation, les briques logicielles précitées sont des briques de traitement XSLT de production de code Java. Au cours de l'étape de génération du procédé selon l'invention : - on transforme l'arbre XML à l'aide d'une transformation XSLT pour 15 obtenir un fichier JSPX, et on enregistre ce fichier JSPX dans une mémoire du dispositif serveur ; - on compile le fichier JSPX pour obtenir une classe Java ; et - on exécute la classe Java pour obtenir le document HTML. Dans un mode particulier de réalisation, les différentes étapes 20 du procédé d'aide à la création sont déterminées par des instructions de programmes d'ordinateurs. En conséquence, l'invention vise aussi un programme d'ordinateur sur un support d'informations, ce programme étant susceptible d'être mis en oeuvre dans un dispositif d'aide à la création ou 25 plus généralement dans un ordinateur, ce programme comportant des instructions adaptées à la mise en oeuvre des étapes d'un procédé d'aide à la création tel que décrit ci-dessus. Ce programme peut utiliser n'importe quel langage de programmation, et être sous la forme de code source, code objet, ou de 30 code intermédiaire entre code source et code objet, tel que dans une forme partiellement compilée, ou dans n'importe quelle autre forme souhaitable. L'invention vise aussi un support d'informations lisible par un ordinateur, et comportant des instructions d'un programme d'ordinateur 35 tel que mentionné ci-dessus.  Thus, the HTML code produced in this embodiment of the invention complies with the aforementioned digital accessibility recommendations. The invention thus makes it possible to comply with the WAI-5 WCAG (Web Accessibility Initiative, Web Content Accessibility Guidelines) or those of AccessiWeb. By way of nonlimiting example, such recommendations provide that navigation in the HTML document produced can be done by voice, each label associated with an input field in a form that can be synthesized vocally. In a particular embodiment, the above-mentioned software blocks are XSLT processing blocks for producing Java code. During the generation step of the method according to the invention: the XML tree is transformed using an XSLT transformation to obtain a JSPX file, and this JSPX file is saved in a memory of the server device ; - we compile the JSPX file to obtain a Java class; and - we run the Java class to get the HTML document. In a particular embodiment, the various steps of the method of assisting the creation are determined by instructions of computer programs. Accordingly, the invention also relates to a computer program on an information carrier, this program being capable of being implemented in a device for creating a device or more generally in a computer, this program comprising instructions adapted to the implementation of the steps of a method of assisting the creation as described above. This program can use any programming language, and be in the form of source code, object code, or intermediate code between source code and object code, such as in a partially compiled form, or in any other form. another desirable form. The invention is also directed to a computer-readable information medium and including instructions of a computer program as mentioned above.

Le support d'informations peut être n'importe quelle entité ou dispositif capable de stocker le programme. Par exemple, le support peut comporter un moyen de stockage, tel qu'une ROM, par exemple un CD ROM ou une ROM de circuit microélectronique, ou encore un moyen d'enregistrement magnétique, par exemple une disquette (floppy disc) ou un disque dur. D'autre part, le support d'informations peut être un support transmissible tel qu'un signal électrique ou optique, qui peut être acheminé via un câble électrique ou optique, par radio ou par d'autres moyens. Le programme selon l'invention peut être en particulier téléchargé sur un réseau de type Internet. Alternativement, le support d'informations peut être un circuit intégré dans lequel le programme est incorporé, le circuit étant adapté pour exécuter ou pour être utilisé dans l'exécution du procédé en question. Les caractéristiques et avantages particuliers du dispositif d'aide à la création sont identiques à ceux du procédé mentionnés ci-dessus et ne seront pas rappelés. Dans un mode particulier de réalisation, le dispositif serveur 20 selon l'invention comporte une machine virtuelle Java apte à exécuter un traitement de contrôle dudit document HTML. Un traitement de contrôle pouvant être utilisé dans l'invention permet en particulier de vérifier la sémantique des données saisies dans un champ de formulaire. 25 Brève description des dessins D'autres caractéristiques et avantages de la présente invention ressortiront de la description faite ci-dessous, en référence aux dessins annexés qui en illustrent un exemple de réalisation dépourvu de tout 30 caractère limitatif. Sur les figures : - la figure 1 représente de façon schématique un dispositif serveur de création conforme à l'invention dans un mode particulier de réalisation ; - la figure 2 représente, sous forme d'organigramme, les 35 principales étapes d'un procédé d'aide à la création conforme à l'invention dans un mode particulier de réalisation.  The information carrier may be any entity or device capable of storing the program. For example, the medium may comprise storage means, such as a ROM, for example a CD ROM or a microelectronic circuit ROM, or a magnetic recording medium, for example a diskette (floppy disc) or a disk hard. On the other hand, the information medium may be a transmissible medium such as an electrical or optical signal, which may be conveyed via an electrical or optical cable, by radio or by other means. The program according to the invention can be downloaded in particular on an Internet type network. Alternatively, the information carrier may be an integrated circuit in which the program is incorporated, the circuit being adapted to execute or to be used in the execution of the method in question. The particular characteristics and advantages of the device for assisting the creation are identical to those of the method mentioned above and will not be recalled. In a particular embodiment, the server device 20 according to the invention comprises a Java virtual machine capable of executing control processing of said HTML document. A control process that can be used in the invention makes it possible in particular to check the semantics of the data entered in a form field. BRIEF DESCRIPTION OF THE DRAWINGS Other features and advantages of the present invention will be apparent from the description given below, with reference to the accompanying drawings which illustrate an exemplary embodiment without any limiting character. In the figures: - Figure 1 schematically shows a creation server device according to the invention in a particular embodiment; FIG. 2 represents, in flowchart form, the main steps of a method of assisting the creation according to the invention in a particular embodiment.

Description détaillée d'un mode de réalisation A la figure 1, on a référencé 10 un dispositif serveur d'aide à la création de document HTML conforme à l'invention.  DETAILED DESCRIPTION OF THE EMBODIMENT In FIG. 1, reference is made to a server device for assisting with the creation of an HTML document according to the invention.

Dans l'exemple décrit ici, ce dispositif serveur 10 est constitué par un ordinateur. Il comporte un processeur 11, une mémoire vive 12, une mémoire morte de type ROM 13 et des moyens de communication 14 avec le réseau Internet 1.  In the example described here, this server device 10 is constituted by a computer. It comprises a processor 11, a random access memory 12, a ROM type ROM 13 and communication means 14 with the Internet network 1.

La mémoire morte ROM mémorise un programme d'ordinateur conforme à l'invention et dont les principales étapes sont données à la figure 2. Le dispositif serveur 10 selon l'invention peut accéder à une première unité de stockage 15 qui comporte une base de données 150 de briques logicielles de production de code B. Dans l'exemple décrit ici, ces briques B sont des briques de traitement de production de code Java. Ces briques logicielles B sont utilisées par le dispositif serveur 10 pour créer un document HTML D en réponse à des requêtes R reçues en provenance d'un dispositif client 20 connecté au réseau Internet 1.  The ROM memory stores a computer program according to the invention and whose main steps are given in Figure 2. The server device 10 according to the invention can access a first storage unit 15 which includes a database In the example described here, these bricks B are Java code production processing bricks. These software bricks B are used by the server device 10 to create an HTML document D in response to R requests received from a client device 20 connected to the Internet network 1.

Comme il sera décrit plus en détail ci-après, le dispositif serveur 10 selon l'invention utilise, pour créer le document D, un arbre XML T dont chacun des noeuds N correspond aux paramètres d'exécution d'une de ces briques logicielles B. La création et la manipulation de cet arbre XML T s'effectuent dans la mémoire vive 12 du dispositif serveur 10.  As will be described in more detail below, the server device 10 according to the invention uses, to create the document D, an XML tree T whose each node N corresponds to the execution parameters of one of these software bricks B. The creation and the manipulation of this XML tree T are carried out in the random access memory 12 of the server device 10.

Une fois créé, le document D est mémorisé dans une deuxième unité de stockage 16 du dispositif serveur 10 selon l'invention. Ce document HTML D peut être consulté pour validation par le dispositif client 20. Il peut également, lorsque ce document est validé, être consulté par un autre dispositif client 30 en réponse à une requête de consultation C. Nous allons maintenant décrire en référence à la figure 2 les principales étapes du procédé de conception de document mis en oeuvre par le dispositif serveur 10. D'une façon générale, le dispositif serveur 10 construit le 35 document HTML D en réponse à des requêtes R reçues en provenance du dispositif client 20.  Once created, the document D is stored in a second storage unit 16 of the server device 10 according to the invention. This HTML document D can be consulted for validation by the client device 20. It can also, when this document is validated, be consulted by another client device 30 in response to a request for consultation C. We will now describe with reference to the FIG. 2 shows the main steps of the document design process implemented by the server device 10. In general, the server device 10 constructs the HTML document D in response to requests R received from the client device 20.

On supposera qu'au cours d'une étape E10 le dispositif serveur 10 reçoit une requête R. Cette requête R comporte au moins un paramètre P. Dans l'exemple décrit ici, on supposera que l'un de ces 5 paramètres P permet de distinguer les requêtes R de création, d'ajout ou de suppression d'éléments dans le document à concevoir. Si la requête R est une requête de création de document, l'étape E10 de réception de requête est suivie par une étape E22 au cours de laquelle le dispositif serveur 10 sélectionne, dans la base de données 10 150, des briques B pour concevoir la première version du document HTML. Les paramètres de cette requête peuvent par exemple permettre d'identifier un modèle de document HTML, celui-ci ayant été choisi par l'utilisateur du dispositif client 20 à partir d'une interface graphique très simple. 15 L'étape E22 de sélection de ces briques est suivie par une étape E32 au cours de laquelle le dispositif serveur 10 crée un arbre XML T à partir des briques logicielles B sélectionnées précédemment. L'étape E32 de création de l'arbre XML T est suivie par une étape E40 de génération du document HTML qui sera décrite 20 ultérieurement. Si la requête R est une requête d'ajout, l'étape E10 de réception de requête est suivie par une étape E24 au cours de laquelle le serveur 10 selon l'invention sélectionne, dans la base de données 150, au moins une brique Java B, en fonction d'un paramètre P de la requête R, 25 correspondant aux éléments à ajouter dans le document HTML D. Cette étape E24 de sélection est suivie par une étape E34 au cours de laquelle le dispositif serveur 10 selon l'invention insère dans l'arbre XML T créé à l'étape [32, un noeud correspondant aux paramètres d'exécution de chacune des briques logicielles B nouvellement 30 sélectionnées. L'étape E34 d'insertion de noeud est suivie par une étape E40 de génération du document HTML qui sera décrite ultérieurement. Lorsque la requête R reçue à l'étape E10 est une requête de suppression, cette étape est suivie par une étape E26 au cours de laquelle 35 le dispositif serveur 10 selon l'invention identifie la brique logicielle correspondant à l'élément du document HTML D qui doit être supprimé.  It will be assumed that during a step E10 the server device 10 receives a request R. This request R comprises at least one parameter P. In the example described here, it will be assumed that one of these five parameters P makes it possible to distinguish R requests for creating, adding or deleting elements in the document to be designed. If the request R is a request for creating a document, the step E10 of receiving a request is followed by a step E22 during which the server device 10 selects, in the database 150, bricks B for designing the request. first version of the HTML document. The parameters of this request can, for example, make it possible to identify an HTML document model, which has been chosen by the user of the client device 20 from a very simple graphical interface. The step E22 of selecting these bricks is followed by a step E32 during which the server device 10 creates an XML tree T from the previously selected software bricks B. The step E32 of creating the XML tree T is followed by a step E40 of generating the HTML document which will be described later. If the request R is an add request, the request receiving step E10 is followed by a step E24 during which the server 10 according to the invention selects, in the database 150, at least one Java brick. B, as a function of a parameter P of the request R, corresponding to the elements to be added in the HTML document D. This selection step E24 is followed by a step E34 during which the server device 10 according to the invention inserts in the XML tree T created in step [32, a node corresponding to the execution parameters of each of the newly selected software blocks B. The node insertion step E34 is followed by a step E40 of generating the HTML document which will be described later. When the request R received in step E10 is a delete request, this step is followed by a step E26 in which the server device 10 according to the invention identifies the software brick corresponding to the element of the document D which must be deleted.

Cette étape E26 d'identification est suivie par une étape E36 de suppression, dans l'arbre XML T, du noeud N correspondant à cette brique. L'étape E36 de suppression du noeud N est suivie par l'étape E40 de génération du document HTML qui va maintenant être décrite.  This identification step E26 is followed by a step E36 of deletion, in the XML tree T, of the node N corresponding to this brick. The step E36 of deletion of the node N is followed by the step E40 of generating the HTML document which will now be described.

Dans le mode particulier de réalisation décrit ici, cette étape 40 de génération du document HTML comporte quatre étapes E41 à [44. Au cours d'une première étape [41, le dispositif serveur 10 selon l'invention met en oeuvre une transformation XSLT connue de l'homme du métier (eXtensible Style Sheet Language). Cette transformation exécute toutes les briques de traitement de l'arbre XML T. Cette étape E41 de transformation produit un document JSPX (document JSP au format XML) qui peut être enregistré sous forme de fichier dans la deuxième unité de stockage 16 au cours d'une étape [42. Cette étape de stockage est suivie par une étape E43 de compilation du fichier JSPX précité. A cet effet, le dispositif serveur 10 selon l'invention comporte, dans le mode de réalisation décrit ici, un compilateur JSP 18 connu de l'homme du métier. On obtient, à l'issue de cette étape E43 de compilation, une classe Java qui, lorsqu'elle est exécutée (étape [44) permet d'obtenir le document HTML D souhaité. Cette étape E44 d'exécution termine l'étape E40 de génération du document HTML D dans le mode de réalisation décrit ici. Cette étape E40 de génération est suivie par une étape E50 au cours de laquelle le dispositif serveur 10 selon l'invention met le document HTML D en ligne, pour validation par l'utilisateur du dispositif client 20 puis pour consultation par l'utilisateur du dispositif client 30. Dans le mode de réalisation décrit ici, le dispositif serveur 10 comporte en outre une machine virtuelle Java 17 adaptée à exécuter un traitement de contrôle de la sémantique de données saisies dans un champ du document HTML D. En cas d'erreur sémantique, le dispositif serveur 10 envoie un message à l'utilisateur du dispositif client 20 qui peut modifier le document HTML, par l'envoi soit d'une requête R d'ajout, soit d'une requête R de suppression comme décrit précédemment.  In the particular embodiment described here, this step 40 of generating the HTML document comprises four steps E41 to [44. During a first step [41, the server device 10 according to the invention implements an XSLT transformation known to those skilled in the art (eXtensible Style Sheet Language). This transformation executes all the processing blocks of the XML tree T. This transformation step E41 produces a JSPX document (JSP document in XML format) which can be saved as a file in the second storage unit 16 during the transformation. a step [42. This storage step is followed by a step E43 of compiling the aforementioned JSPX file. For this purpose, the server device 10 according to the invention comprises, in the embodiment described here, a JSP compiler 18 known to those skilled in the art. At the end of this compilation step E43, a Java class is obtained which, when it is executed (step [44), makes it possible to obtain the desired HTML document D. This execution step E44 completes the step E40 of generating the HTML document D in the embodiment described here. This generation step E40 is followed by a step E50 during which the server device 10 according to the invention puts the HTML document D online for validation by the user of the client device 20 and for consultation by the user of the device client 30. In the embodiment described here, the server device 10 further comprises a Java virtual machine 17 adapted to execute a control processing of the semantics of data entered in a field of the document HTML D. In case of semantic error , the server device 10 sends a message to the user of the client device 20 which can modify the HTML document, by sending either an add-on request R or a deletion request R as described above.

Claims (10)

REVENDICATIONS 1. Procédé d'aide à la création en ligne d'un document HTML (D) pouvant être mis en oeuvre dans un dispositif serveur (10) dans un 5 réseau (1), ce procédé comportant : - une étape (E10) de réception, en provenance d'un dispositif client (20), d'une requête (R) de création dudit document, ladite requête (R) comportant au moins un paramètre (P) ; - une étape (E22) de sélection, en fonction dudit paramètre (P), d'au 10 moins une brique logicielle de production de code (B) mémorisée dans une bibliothèque (150) accessible par ledit dispositif serveur (10), - une étape (E32) de création d'un arbre XML (T) dont chaque noeud est constitué par au moins un paramètre d'exécution d'une desdites briques (B) sélectionnées ; 15 - une étape (E40) de génération dudit document HTML (D) à partir de cet arbre XML (T) ; et - une étape (E50) de mise en ligne rendant ledit document HTML (D) accessible par ledit dispositif client (20). 20  1. A method of assisting the online creation of an HTML document (D) that can be implemented in a server device (10) in a network (1), this method comprising: a step (E10) of receiving, from a client device (20), a request (R) for creating said document, said request (R) comprising at least one parameter (P); a step (E22) of selecting, according to said parameter (P), at least one software code generation brick (B) stored in a library (150) accessible by said server device (10); step (E32) of creating an XML tree (T), each node consisting of at least one execution parameter of one of said selected bricks (B); A step (E40) of generating said HTML document (D) from this XML tree (T); and - an uploading step (E50) rendering said HTML document (D) accessible by said client device (20). 20 2. Procédé d'aide à la création selon la revendication 1, caractérisé en qu'il comporte au moins : - une étape (E10) de réception, en provenance dudit dispositif client (20), d'une requête (R) de modification dudit document (D), ladite requête (R) comportant au moins un paramètre (P) ; 25 - une étape (E24) de sélection, en fonction dudit paramètre (P), d'au moins une brique logicielle de production de code (B) dans ladite bibliothèque (150) ; - une étape (E34) d'insertion, dans ledit arbre XML (T), d'au moins un noeud (N) constitué par au moins un paramètre d'exécution d'une 30 desdites briques (B) sélectionnées ; - une étape (E40) de génération dudit document HTML (D) à partir de cet arbre XML modifié (T) ; et - une étape (E50) de mise en ligne rendant ledit document HTML (D) accessible par ledit dispositif client (20). 35  2. A method of creation aids according to claim 1, characterized in that it comprises at least: - a step (E10) receiving, from said client device (20), a request (R) modification said document (D), said request (R) comprising at least one parameter (P); A step (E24) of selecting, according to said parameter (P), at least one software code generation brick (B) in said library (150); a step (E34) of inserting into said XML tree (T) at least one node (N) consisting of at least one execution parameter of one of said selected bricks (B); a step (E40) of generating said HTML document (D) from said modified XML tree (T); and - an uploading step (E50) rendering said HTML document (D) accessible by said client device (20). 35 3. Procédé d'aide à la création selon la revendication 1 ou 2, caractérisé en qu'il comporte au moins : - une étape (E10) de réception, en provenance dudit dispositif client (20), d'une requête (R) de modification dudit document (D), ladite requête (R) comportant au moins un paramètre (P) ; -une étape (E36) de suppression, dans ledit arbre XML (T), d'au moins un noeud (N) choisi en fonction dudit paramètre (P) ; - une étape ([40) de génération dudit document HTML (D) à partir de cet arbre XML modifié (T) ; et - une étape ([50) de mise en ligne rendant ledit document HTML (D) accessible par ledit dispositif client (20).  3. A method of creation aid according to claim 1 or 2, characterized in that it comprises at least: - a step (E10) receiving, from said client device (20), a request (R) modifying said document (D), said request (R) comprising at least one parameter (P); a step (E36) of deleting, in said XML tree (T), at least one node (N) chosen as a function of said parameter (P); a step ([40) of generating said HTML document (D) from this modified XML tree (T); and a step ([50] of putting on-line rendering said HTML document (D) accessible by said client device (20). 4. Procédé d'aide à la création selon l'une quelconque des revendications 1 à 3, dans lequel ladite bibliothèque (150) comporte au moins une brique logicielle de production de code (B) qui permet, lors de ladite étape de génération ([40), d'insérer dans ledit document HTML, un champ de saisie de données, ledit champ de saisie étant associé à un script de validation sémantique desdites données.  4. A method of creation aid according to any one of claims 1 to 3, wherein said library (150) comprises at least one code generation software brick (B) which, during said generation step ( [40], to insert in said HTML document, a data entry field, said input field being associated with a semantic validation script of said data. 5. Procédé d'aide à la création selon l'une quelconque des revendications 1 à 4, dans lequel ladite bibliothèque (150) comporte au moins une des brique logicielle (B) apte à produire un code HTML conforme à des recommandations d'accessibilité numérique.  5. A method of creation aid according to any one of claims 1 to 4, wherein said library (150) comprises at least one of the software brick (B) capable of producing an HTML code in accordance with accessibility recommendations digital. 6. Procédé d'aide à la création selon l'une quelconque des revendications 1 à 5, dans lequel ladite au moins une brique logicielle (B) est une brique de traitement XSLT de production de code Java, caractérisé en ce qu'au cours de ladite étape ([40) de génération : - on transforme (E41) ledit arbre XML (T) à l'aide d'une transformation XSLT pour obtenir un fichier JSPX, et on enregistre (E42) ledit fichier JSPX dans une mémoire (16) dudit dispositif serveur (10) ; - on compile (E43) ledit fichier JSPX pour obtenir une classe Java ; et - on exécute (E44) ladite classe Java pour obtenir ledit document HTML (D).  6. A method of creation aid according to any one of claims 1 to 5, wherein said at least one software brick (B) is a processing brick XSLT Java code production, characterized in that during of said step ([40) of generation: - transforming (E41) said XML tree (T) using an XSLT transformation to obtain a JSPX file, and storing (E42) said JSPX file in a memory ( 16) of said server device (10); compiling (E43) said JSPX file to obtain a Java class; and - executing (E44) said Java class to obtain said HTML document (D). 7. Dispositif serveur d'aide à la création d'un document HTML (D) en ligne dans un réseau (1), ce dispositif comportant :- une bibliothèque (150) comportant au moins une brique logicielle de production de code (B) ; -des moyens pour sélectionner au moins une desdites briques (B), en fonction d'au moins un paramètre compris dans une requête (R) reçue en provenance d'un dispositif client (20) ; - des moyens pour créer un arbre XML (T) dont chaque noeud (N) est constitué par au moins un paramètre d'exécution d'une desdites briques (B) sélectionnées ; - des moyens pour créer ledit document HTML (D) à partir de cet arbre XML (T) ; et - des moyens pour mettre en ligne ledit document HTML de façon à la rendre accessible par ledit dispositif client (20).  7. Server device for assisting in the creation of an online HTML (D) document in a network (1), this device comprising: a library (150) comprising at least one software code generation brick (B) ; means for selecting at least one of said bricks (B), as a function of at least one parameter included in a request (R) received from a client device (20); means for creating an XML tree (T) of which each node (N) is constituted by at least one execution parameter of one of said selected bricks (B); means for creating said HTML document (D) from this XML tree (T); and means for putting said HTML document on line so as to make it accessible by said client device (20). 8. Dispositif selon la revendication 7, caractérisé en ce qu'il 15 comporte une machine virtuelle Java (17) apte à exécuter un traitement de contrôle dudit document HTML (D).  8. Device according to claim 7, characterized in that it comprises a Java virtual machine (17) capable of executing a control process of said HTML document (D). 9. Programme d'ordinateur comportant des instructions pour l'exécution des étapes du procédé d'aide à la création selon l'une 20 quelconque des revendications 1 à 6 lorsque ledit programme est exécuté par un ordinateur.  A computer program comprising instructions for performing the steps of the authoring method according to any one of claims 1 to 6 when said program is executed by a computer. 10. Support d'enregistrement lisible par un ordinateur sur lequel est enregistré un programme d'ordinateur comprenant des instructions 25 pour l'exécution des étapes du procédé d'aide à la création selon l'une quelconque des revendications 1 à 6.  A computer-readable recording medium on which a computer program is recorded including instructions for performing the steps of the authoring method according to any one of claims 1 to 6.
FR0651502A 2006-04-27 2006-04-27 HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device Pending FR2896059A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR0651502A FR2896059A1 (en) 2006-04-27 2006-04-27 HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR0651502A FR2896059A1 (en) 2006-04-27 2006-04-27 HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device

Publications (1)

Publication Number Publication Date
FR2896059A1 true FR2896059A1 (en) 2007-07-13

Family

ID=37492882

Family Applications (1)

Application Number Title Priority Date Filing Date
FR0651502A Pending FR2896059A1 (en) 2006-04-27 2006-04-27 HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device

Country Status (1)

Country Link
FR (1) FR2896059A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040019853A1 (en) * 2002-01-18 2004-01-29 Hiroshi Takizawa Document authoring system and authoring management program
US20040088647A1 (en) * 2002-11-06 2004-05-06 Miller Adrian S. Web-based XML document processing system
US20050102612A1 (en) * 2003-11-06 2005-05-12 International Business Machines Corporation Web-enabled XML editor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040019853A1 (en) * 2002-01-18 2004-01-29 Hiroshi Takizawa Document authoring system and authoring management program
US20040088647A1 (en) * 2002-11-06 2004-05-06 Miller Adrian S. Web-based XML document processing system
US20050102612A1 (en) * 2003-11-06 2005-05-12 International Business Machines Corporation Web-enabled XML editor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Q42: "Xopus, The Friendly XML Editor, Overview", INTERNET ARTICLE, 17 January 2006 (2006-01-17), XP002419451, Retrieved from the Internet <URL:http://web.archive.org/web/20060117095236/xopus.com/product/> *
Q42: "Xopus, The Friendly XML Editor, Specifications", INTERNET ARTICLE, 17 January 2006 (2006-01-17), XP002419452, Retrieved from the Internet <URL:http://web.archive.org/web/20060117154712/xopus.com/product/specifications.html> [retrieved on 20070209] *

Similar Documents

Publication Publication Date Title
CA2091546C (en) Utilisation of a language with a typification oriented towards the contents of the variables that allows for the handling of complex constructions
EP0793171B1 (en) System for configuration of preconfigured software programs on networked open systems in a distributed environment and method to operate this system
US20120110444A1 (en) Help Document Animated Visualization
FR2824160A1 (en) DYNAMICALLY CONFIGURABLE GENERIC CONTAINER
EP1387261A1 (en) Application software generation and language for software description
FR2909198A1 (en) Electronic document&#39;s element i.e. node, filtering method for e.g. microcomputer, involves evaluating expression on document data base according to evaluation mode identification information of expression
FR2826753A1 (en) Processing of an Extended Markup Language XML document in an Internet network, in which user selects a markup language and a list of its functions is displayed and XML document is associated with Schema XML language
FR2934388A1 (en) METHOD FOR CREATING COMPUTER PROGRAM
CA2583118C (en) Device for processing formally defined data
EP0784257A1 (en) Protection system for computer software written in interpreted language
FR2826749A1 (en) Object oriented mark-up language editing method where tags are defined by function and result of function in one language and by argument in schema language
EP2187321B1 (en) Method and system for editing an object represented on a web page
FR2931272A1 (en) Export import method for e.g. software and system engineering formal data, involves transferring data exchange file towards computer to export data, and suppressing data in database and links and removing data in database to import data
FR3021769A1 (en) DEVICE AND METHOD FOR GENERATING AT LEAST ONE COMPUTER FILE FOR PRODUCING A GRAPHICAL INTERFACE OF ELECTRONIC EQUIPMENT, AND ASSOCIATED COMPUTER PROGRAM PRODUCT
Nguyen Jump Start Node. js: Get Up to Speed With Node. js in a Weekend
FR2896059A1 (en) HTML document creating method for server device, involves creating XML tree, generating HTML document from XML tree, and on-lining HTML document for being accessed by client device
EP1280074A1 (en) Use of hyperlinks in a computer program for an automation application and programmed computer for such an application
EP2419823A1 (en) Method for assisting in the development or use of a complex system
FR2906382A1 (en) METHODS AND DEVICES FOR OPTIMIZING XML PROCESSING
FR2884380A1 (en) Interactive voice service designing and developing method, involves generating automatically software components, from intermediate format description files and/or software code search, in exception data base containing preset exceptions
EP3032410A1 (en) Method for providing a computer service and computer system for carrying out the method
EP2056196A1 (en) Method of making and processing procedure calls, corresponding system and computer program product
WO2009000976A1 (en) System and method for automatically generating a software application
WO2012149977A1 (en) Method and corresponding system for generating a software application manipulating structured data
FR2795535A1 (en) Data objects are managed on a communications network by substituting the data field in each object by an address of the data field and storing the addresses of the fields in an association table