hi,
I intend to make a page that will display each categories under a main
category. This is done with XML. A piece of XML code as below.
<xml>
<Category name="Category1">
<Category name="Sub Category1"></Category>
<Category name="Sub Category2"></Category>
</Category>
<Category name="Category2"></Category>
<xml>
I manage to create a page that lay out all the main categories and
hyperlink them.
The problem is this , my hyperlink look like this : <a href
=category.asp?Category=Sub Category1 >
I need to make it look like this <a href
=category.asp?Category=Sub%20Category1 >
Other then SPACE have to be %20, ampersand have to be%26 so on and forth
Is there anyway to encode this: <a href =category.asp?Category=Sub
Category1 > to <a href =category.asp?Category=Sub%20Category1 >???
thank you for any help is given.