If you want to store things like "<" within an XML doc, you need to encode
it.

On Mon, Mar 7, 2011 at 3:28 PM, stapes <[email protected]> wrote:

> Hi
>
> I keep getting this stupid error message: Character '<', hexdecimal
> value 0x3c is illegal in XML attribute values.
>
> This is the line of code it objects to:
>
> <input type="hidden" name="id" id="id" value="<?php print $id;?>"></
> input>
>
> It does not like the <?php tag, which is tough because it is what we
> want it to do.
>
> Why is it evaluating it as XML? Its a php document.
>
> And how do I get rid of these stupid compiler messages.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
> Web Services,.NET Remoting" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
> or visit the group website at http://megasolutions.net
>

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to