SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jun 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DOM parser function?

    I like the function to get the data between tags. Anyone have a function to grab data out of an attribute of a single tag? Such as grabbing the keywords out of the META keywords tag?

  2. #2
    SitePoint Guru
    Join Date
    Jun 2007
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can use regular expressions but I don't know of any universal parsing function for "any" set of tags.

    You could google for "regular expressions parse tags" and likely find some find some examples to get you started.

    In any case, this is not really an ASP question....

  3. #3
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,037
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    This might be a good page to start with.

    Be careful though. Regular Expressions are an expensive proposition (memory wise) in Classic ASP.
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •