XML Authoring

All of us accessing this forum are using a computer, if you've got a problem, have or need information, then post here.


Reply
 
LinkBack Thread Tools Display Modes
Old 21-01-2009   #1
Archived Member
 
Join Date: 13-08-2007
Location: Middle East - Israel
Posts: 3774
Thanks: 192
Thanked 459 Times in 356 Posts
XML Authoring

I have a sample XML file generated with the user interface of an application, with just few typed data and I want to add few thousands more.
Perhaps using Excel and then generate an xml file, if this is possible.
What is the best way to do this?
I have downloaded the oXygen XML Author, but it doesn't seems to be friendly enough and also not cheap.
Is there an easy way to do this?
HB13DISH is offline   Reply With Quote
Old 21-01-2009   #2
Super Moderator
 
mhku's Avatar
 
Join Date: 08-03-2005
Location: J6 M5
Posts: 4541
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1

My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini


If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots

How complex is the XML? Do the nodes have subnodes or attributes?

I think I looked at this in the past _http://www.tucows.com/preview/304529


You don't stop playing because you get old, you get old because you stop playing. Regras
Before posting in the Dreambox section please ensure you've read The Guide


Information is for educational purposes only

mhku is offline   Reply With Quote
Old 21-01-2009   #3
Archived Member
 
Join Date: 13-08-2007
Location: Middle East - Israel
Posts: 3774
Thanks: 192
Thanked 459 Times in 356 Posts

Originally Posted by mhku View Post
How complex is the XML? Do the nodes have subnodes or attributes?

I think I looked at this in the past _http://www.tucows.com/preview/304529
Very simple.
It is a language synonym file, something like
man > male
woman > female
work > employment, job

How would you create satellites.xml file?

The link software is still not what I need.
But thanks anyway.
HB13DISH is offline   Reply With Quote
Old 21-01-2009   #4
Specialist Contributor
 
compufunk's Avatar
 
Join Date: 07-05-2008
Location: NW, Ireland
Posts: 1399
Thanks: 126
Thanked 231 Times in 198 Posts

My System: DM 600-S, AB IPBox 9000HD, Moteck SG2100, Fracarro Penta 85 dish, + some puters

You can save an excel file as .xml. I dont know how useful the output file would be though.

Probably the best approach (If you are going to use excel) would be to create a simple xml file with a few lines of what you want to include, then open it with excel and add all the data.

Last edited by compufunk; 21-01-2009 at 06:49 PM.
compufunk is offline   Reply With Quote
Old 21-01-2009   #5
Super Moderator
 
mhku's Avatar
 
Join Date: 08-03-2005
Location: J6 M5
Posts: 4541
Thanks: 11
Thanked 180 Times in 169 Posts
Blog Entries: 1

My System: DM7020S ~ DM500s ~ sg2100 ~ Gemini


If he were not a wizard, from head down to the root, you would have got to worry-your DB only boots

This isn't the way I'd do it but you can use Excel and notepad to "make" an XML file.

I created a file in Excel (attached). Saved as a .csv

Opened in Notepad

Code:
<,start,>,,,,
<,male,>,man,</,male,>
<,female,>,woman,</,female,>
<,work,>,employment,</,work,>
<,work,>,job,</,work,>
<,work,>,career,</,work,>
</,start,>,,,,
and replaced all the commas with a blank, which gives:

Code:
<start>
<male>man</male>
<female>woman</female>
<work>employment</work>
<work>job</work>
<work>career</work>
</start>
Saved as a .xml file

If you know all the node names and they are repeated you could use a lookup sheet to generate a list for column B/ column F values and save having to type them each time.
Attached Thumbnails
XML Authoring-xlsxml-gif  


You don't stop playing because you get old, you get old because you stop playing. Regras
Before posting in the Dreambox section please ensure you've read The Guide


Information is for educational purposes only


Last edited by mhku; 21-01-2009 at 02:30 PM.
mhku is offline   Reply With Quote
Reply

Bookmarks

Tags
authoring, xml


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off







All times are GMT +1. The time now is 03:56 PM.


All views and information expressed in users' communications and profiles represent the opinions of the users concerned and do not represent the views of Satellites.co.uk. All images and news content are believed to be in the public domain, except where otherwise stated. Forum software by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Content Relevant URLs by vBSEO 3.3.1