Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Simple XHTML parsing

jobromediajobromedia Member Posts: 168
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?

Comments

  • zibadianzibadian Member Posts: 6,349
    : 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()).
  • jobromediajobromedia Member Posts: 168
    : : 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?
  • zibadianzibadian Member Posts: 6,349
    : : : So I've done this document comentator that generates it's primary outputto simple string fields. [b]Now how do I parse this data into a xhtml file[/b] 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.
  • jobromediajobromedia Member Posts: 168
    : : : : So I've done this document comentator that generates it's primary outputto simple string fields. [b]Now how do I parse this data into a xhtml file[/b] 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!
Sign In or Register to comment.