DBAsupport.com Forums - Powered by vBulletin
Results 1 to 10 of 12

Thread: Parse THIS!!! XML can't contain HTML (anchor tags)???

Threaded View

  1. #6
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Strange. This works fine for me:

    Code:
    DECLARE 
      CFXML VARCHAR2(32767);
    
    BEGIN 
      CFXML := '
    <row>
    <date>
    <![CDATA[ Jul 27 ]]>
    </date>
    <title>
    <![CDATA[ ><a href="http://jobsearch.monster.com:80/getjob.asp?JobID=32472300' || CHR(38) || 'AVSDM=2005%2D07%2D28+02%3A36%3A26' || CHR(38) || 'Logo=1' || CHR(38) || 'q=cold fusion' || CHR(38) || 'cy=US' || CHR(38) || 'sort=dt">ASP.NET Technical Program Manager with Marketing Savvy</a> ]]>
    </title>
    <company>
    <![CDATA[ Excell Data ]]>
    </company>
    <location>
    <![CDATA[ ><a onClick="popMMLL(''WA'',''Redmond''); return false;" href="http://jobsearch.monster.com:80/896">WA-Redmond</a> ]]>
    </location>
    </row>
    </recordset>';
    
      --SASSOH.LOADXML ( CFXML );
      COMMIT; 
    END; 
    /
    Notice, I've commented out the procedure call as the error is at line 5 which is the variable assignment in the PL/SQL block, not the procedure.

    Cheers

    Tim...
    Last edited by TimHall; 08-09-2005 at 07:01 AM.
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

Posting Permissions

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


Click Here to Expand Forum to Full Width