Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Simple XHTML parsing Posted by jobromedia on 24 Apr 2006 at 3:40 AM
So I've done this document comentator that generates it's primary outputto simple string fields. Now how do I parse this data into a xhtml file and retrieving the data from it?
Report
Re: Simple XHTML parsing Posted by zibadian on 24 Apr 2006 at 4:20 AM
: So I've done this document comentator that generates it's primary outputto simple string fields. Now how do I parse this data into a xhtml file and retrieving the data from it?
:
The easiest way to insert data into a string text is to use the Format() function or StringReplace() function. These allow you to quickly insert either any data type (in case of Format()) or strings (in case of StringReplace()).
Report
Re: Simple XHTML parsing Posted by jobromedia on 24 Apr 2006 at 4:59 AM
: : So I've done this document comentator that generates it's primary outputto simple string fields. Now how do I parse this data into a xhtml file and retrieving the data from it?
: :
: The easiest way to insert data into a string text is to use the Format() function or StringReplace() function. These allow you to quickly insert either any data type (in case of Format()) or strings (in case of StringReplace()).
:
Ok wasn't quite what I asked for, but anyway will come hady someday.

What component should I use to parse the xml data?
Report
Re: Simple XHTML parsing Posted by zibadian on 24 Apr 2006 at 12:06 PM
: : : So I've done this document comentator that generates it's primary outputto simple string fields. Now how do I parse this data into a xhtml file and retrieving the data from it?
: : :
: : The easiest way to insert data into a string text is to use the Format() function or StringReplace() function. These allow you to quickly insert either any data type (in case of Format()) or strings (in case of StringReplace()).
: :
: Ok wasn't quite what I asked for, but anyway will come hady someday.
:
: What component should I use to parse the xml data?
:
The bold part let me believe you wanted to insert the data into some kind of xhtml template.
In Delphi 5 there isn't a component for it, but you can use the MSXML COM objects for it. Just import the MSXML.DLL into Delphi and it will write a link unit for you. The microsoft site describes all those interfaces and has examples of them.
Report
Re: Simple XHTML parsing Posted by jobromedia on 25 Apr 2006 at 8:16 AM
: : : : So I've done this document comentator that generates it's primary outputto simple string fields. Now how do I parse this data into a xhtml file and retrieving the data from it?
: : : :
: : : The easiest way to insert data into a string text is to use the Format() function or StringReplace() function. These allow you to quickly insert either any data type (in case of Format()) or strings (in case of StringReplace()).
: : :
: : Ok wasn't quite what I asked for, but anyway will come hady someday.
: :
: : What component should I use to parse the xml data?
: :
: The bold part let me believe you wanted to insert the data into some kind of xhtml template.
: In Delphi 5 there isn't a component for it, but you can use the MSXML COM objects for it. Just import the MSXML.DLL into Delphi and it will write a link unit for you. The microsoft site describes all those interfaces and has examples of them.
:
Ok thanks for your help!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.