How would one accomplish something like this?
or
i tried both and they result in this (or similar)
does DB have an escape character for the < and > and if so what is it?
or perhaps some sort of comparison helper method?
thanks
Code:
<If condition="Zeta.ZetaDia.Me.Position.Y < 700.00">
or
Code:
<If condition="Zeta.ZetaDia.Me.Position.Y <= 700.00">
i tried both and they result in this (or similar)
Code:
[01:20:12.082 N] Failed to load profile: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 7, position 47.
[01:20:12.523 D] System.Xml.XmlException: '<', hexadecimal value 0x3C, is an invalid attribute character. Line 7, position 47.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XElement.ReadElementFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XElement.Load(String uri, LoadOptions options)
at Zeta.CommonBot.Profile.Profile.Load(String path)
at Zeta.CommonBot.ProfileManager.Load(String profilePath)
does DB have an escape character for the < and > and if so what is it?
or perhaps some sort of comparison helper method?
thanks
Last edited: