|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
SitePoint Zealot
![]() ![]() Join Date: Nov 2004
Location: Glasgow
Posts: 143
|
xml classifieds application
hi folks,
I'm building a system that works like classified adverts. I have a simple ASP form that takes the users details and generates the XML code to send to an email address. I then have an ASP page that reads a folder within my inbox that contains the XML, javascript that adds an incremental id to each advert and then adds the advert(s) to the master XML file (and backs up the old one). What I need to do is get some idea of how I can display all of the adverts and then either edit via html or delete permanently without touching the xml file. Also a way to add adverts to the xml file would be great. Any ideas on how this can be done? Some of the functionality I've inherited from a previous developer but have managed to enhance with some basic xsl. Thanks, S |
|
|
|
|
|
#2 | ||
|
SitePoint Addict
![]() ![]() ![]() Join Date: Nov 2005
Location: Moss, Norway.
Posts: 280
|
Quote:
Quote:
|
||
|
|
|
|
|
#3 |
|
SitePoint Zealot
![]() ![]() Join Date: Nov 2004
Location: Glasgow
Posts: 143
|
unfortunately, PHP isn't an option. We're a Microsoft house and don't have it installed, although every web developer would kill for it.
The easier option would be a database but we don't even have one of those! |
|
|
|
|
|
#4 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Nov 2005
Location: Moss, Norway.
Posts: 280
|
A database may be overkill, depending on what you want to do and various future growth scenario's. A well organized XML driven site, may even be better for some purposes.
Note: there is very much you can do with technologies like XSL(T), EXSLT, XPath, XLink etc. Ignore the PHP related information in the above mentioned link, and you find a lot of information. Related thread: EXSLT Support at StylusStudio. |
|
|
|
|
|
#5 |
|
SitePoint Zealot
![]() ![]() Join Date: Nov 2004
Location: Glasgow
Posts: 143
|
unfortunately we work with FrontPage 2003 so we're limited in what we can achieve.
|
|
|
|
|
|
#6 |
|
SitePoint Addict
![]() ![]() ![]() Join Date: Nov 2005
Location: Moss, Norway.
Posts: 280
|
But you can write XML markup with FrontPage?
I have never used FrontPage since I use DreamWeaver where it is even possible to write ASP JavaScript, VBScript, ASP.NET C#, ASP.NET VB. In addition DreamWeaver has an inbuilt XML Validator (File + Check Page + Validate as XML). Example if you are on a fast connection and have the latest version of either FireFox, IE or Opera installed. Professional links collected since 1995. That is an XML file. View source and you may note the style sheet that makes the document readable in modern browsers. That style sheet is
While on that page with the heading "Professional links collected since 1995" use page Search (CTRL + F) for the KW: XML and you find a lot of XML related information. You find more up to date if you do the same page search on my site OopScool and especially if you do it on the page that is loaded when you click "links" in the upper right corner. May be overkill, but it will direct you to a lot of foccused XML resources. When the style sheet is viewed in FireFox you may get the following message: "This XML file does not appear to have any style information associated with it. The document tree is shown below". So if you for one reason or another want to apply a hierarchy of XSL Style Sheets, that is possible too. Last edited by kgun; Jul 27, 2007 at 09:39. |
|
|
|
|
|
#7 |
|
Non-Member
Join Date: Apr 2006
Posts: 5
|
|
|
|
|
|
|
#8 | ||
|
SitePoint Addict
![]() ![]() ![]() Join Date: Nov 2005
Location: Moss, Norway.
Posts: 280
|
Quote:
Quote:
|
||
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 14:19.









Hybrid Mode
