URL encode a text in XML

  • Thread starter Thread starter QQ
  • Start date Start date
Q

QQ

Basically i have a database record field that stores long string.

<Field Name = "Data", value="xxx"/Field>

xxx could be very long. Is there anyway that I can url encode it or
reference the text?
 
QQ said:
Basically i have a database record field that stores long string.

<Field Name = "Data", value="xxx"/Field>

This doesn't qualify as XML...
xxx could be very long. Is there anyway that I can url encode it or
reference the text?

Why should URL encoding help in this context? Reference what "text"?
What are you really traing to achieve?

Cheers,
 
Sorry.. it should be like this:

<Field Name = "Data" value="xxx"/>

The attribute value could consist of a very long string. I would like to
know if there's any way i can put a reference (which in turn consist of the
actual string) that be referred to ?
 
QQ said:
Sorry.. it should be like this:

<Field Name = "Data" value="xxx"/>

The attribute value could consist of a very long string. I would like
to know if there's any way i can put a reference (which in turn
consist of the actual string) that be referred to ?

You might want to use IDs and IDREFs, but I suggest asking about this
in microsoft.public.dotnet.xml.


Cheers,
 
Back
Top