XML and URL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Demetri

    XML and URL

    Hello,

    I have a very simple xml document which has a node containing the following:

    <url>http://finance.yahoo.c om/d/quotes.csv?s=pw r&f=sl1d1t1c1oh gvj1pp2wern</url>

    It blows up with the following message when I run the XML document:

    A semi colon character was expected. Error processing resource 'file:///C:/Documents and Settings/skd1102/My Documents/Visual Studio Projects/StockQuote/StockQuote.xml' . Line 4, Position 60

    <url>http://finance.yahoo.c om/d/quotes.csv?s=pw r&f=sl1d1t1c1oh gvj1pp2wern</url>
    -----------------------------------------------------------^


    How do I get around this properly?

  • Guest's Avatar

    #2
    XML and URL

    Convert the URL to a "ctype" XML element. The existance
    of the ? is messing things up. CTYPE's can include "text"
    as it appies to general statements.

    [color=blue]
    >-----Original Message-----
    >Hello,
    >
    >I have a very simple xml document which has a node[/color]
    containing the following:[color=blue]
    >
    ><url>http://finance.yahoo.com/d/quotes.csv?[/color]
    s=pwr&f=sl1d1t1 c1ohgvj1pp2wern </url>[color=blue]
    >
    >It blows up with the following message when I run the XML[/color]
    document:[color=blue]
    >
    >A semi colon character was expected. Error processing[/color]
    resource 'file:///C:/Documents and Settings/skd1102/My
    Documents/Visual Studio
    Projects/StockQuote/StockQuote.xml' . Line 4, Position 60[color=blue]
    >
    > <url>http://finance.yahoo.com/d/quotes.csv?[/color]
    s=pwr&f=sl1d1t1 c1ohgvj1pp2wern </url>[color=blue]
    >----------------------------------------------------------[/color]
    -^[color=blue]
    >
    >
    >How do I get around this properly?
    >
    >.
    >[/color]

    Comment

    Working...