Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding text to an XML file

Status
Not open for further replies.

flashbbeb

MIS
Joined
Mar 29, 2005
Messages
106
Location
US
Hello,

I'm using a web-course authoring tool to generate files, one of which is an xml file (if you're familiar with SCORM, it's imsmanfest.xml).

The learning management system we use requires us to add some pre-written code to the xml file for things to work as we want them to. I want to make adding this text easier for my developers.

Is there a script I could run to simply add this code to the XML file? It appears at the end of the file right before the closing </manifest> tag.

Thanks,
EB
 
File access isn't really possible cross-browser using JavaScript. I'd use whatever server-side scripting your web server supports (e.g. JSP, PHP, etc).

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top