| To: | REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com> |
|---|---|
| Subject: | Mise en page d'un document XML |
| From: | Francis Gorge <francis.gorge@briq.com> |
| Date: | Tue, 24 Jun 2008 11:46:24 +0200 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.fr-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.fr-bounces@lists.realsoftware.com |
| Delivered-to: | listarchive@realsoftware.com |
| In-reply-to: | <000c01c8d5d0$5ae85ab0$10b91010$@com> |
| References: | <818087A8-5C58-4B3C-AF0C-F3517F965B82@wanadoo.fr> <000301c8c99a$2b4703c0$81d50b40$@com> <001101c8cc89$1d6e1a80$584a4f80$@com> <4852A338.7040700@wanadoo.fr> <000601c8d16d$ae9af350$0bd0d9f0$@com> <485BB6F7.60109@wanadoo.fr> <003301c8d552$4a2173c0$de645b40$@com> <000c01c8d5d0$5ae85ab0$10b91010$@com> |
| Reply-to: | REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com> |
| Sender: | realbasic-nug.fr-bounces@lists.realsoftware.com |
Bonjour, Je créé et j'exporte un fichier XML : dim doc as XmlDocument dim VRpathvalue, Audiopathvalue as xmlCDATASectiondim VRname,VRpath, controller, rotate, protect, setview, vrsize, setdimensions, aspectratio As XmlNode dim panorama as XmlNode = panoramashelf.AppendChild( doc.CreateElement("panorama"))
puis ajoute des Nodes :
VRname = panorama.AppendChild(doc.CreateElement("VRname"))
VRname.AppendChild(doc.CreateTextNode(ListedeVR(whichVR).MyVRname ))
controller = panorama.AppendChild( doc.CreateElement("controller" ))
controller
..AppendChild(doc.CreateTextNode(str(ListedeVR(WhichVR).MyVRController)))
etc ... msgbox(doc.ToString)Tout fonctionne parfaitement mais le fichier obtenu est illisible, j'aimerai pouvoir exporter un document XML formaté, avec sauts de lignes et des tabulation. Est ce possible ?Pour des raisons de développement j'utilise pour ce projet la version 5.5.5 de RealBasic Cordialement, Francis Gorgé |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: application sous linux ubuntu, michel bulteau |
|---|---|
| Next by Date: | Re: AVG détecte-t-il des trojans dans les programmes RealBASIC ??, Pascal PLUCHON |
| Previous by Thread: | RE: application sous linux ubuntu, michel bulteau |
| Next by Thread: | AppleScript et piece jointe, frael |
| Indexes: | [Date] [Thread] [Top] [All Lists] |