somebody please help me how to make xml octets like items.jsp
<%
// item DB for send mail
// items[index][0] -> item id
// items[index][1] -> item name
// items[index][2] -> xml octets for this item
String[][] items =
{
{"0", "none", ""},
{"23849", "C17 Dual Axes", "5f00ff000500000005000000a8480000a84800002c00030000000000090000000c000000000000001d020000860300000000000000000000180000000000a040000000000000000000000000"},
{"23861", "C17 Pike", "5f00ff000500000005000000b04f0000b04f00002c00030000000000050000000c00000000000000310200001204000000000000000000001400000000006040000000000000000000000000"},
{"23885", "C17 Pataka", "5f00ff00050000000500000060220000602200002c00030000000000240100000c000000000000007601000031020000a80200003f0300001400000000004040000000000000000000000000"}
};
%>
xml octect like this , how to make :
5f00ff00050000000500000060220000602200002c00030000000000240100000c000000000000007601000031020000a80200003f0300001400000000004040000000000000000000000000
Re: somebody please help me how to make xml octets like items.jsp
really simple, there are octet editors on the forums, as well as descriptions on how to make an octet
2 Attachment(s)
Re: somebody please help me how to make xml octets like items.jsp
I've got the software from post : http://forum.ragezone.com/f751/relea...or-1-a-880375/
, but there are errors in getting octects numbers, as in the image below:
Attachment 132035
but at least I already know how to add items on octetcs numbers...thank bro...
But I still do not know how to change id-gear into octets as
from: 23885 into:5f00ff00050000000500000060220000602200002c00030000000000240100000c000000000000007601000031020000a80200003f0300001400000000004040000000000000000000000000
Maybe somebody know..? please help:thumbup:
Re: somebody please help me how to make xml octets like items.jsp
1.0 = floating point notation.
1,0 = no floating point notation.
I hate how countries, such as Germany, use commas for this. Who the heck came up with that.
Re: somebody please help me how to make xml octets like items.jsp
Quote:
Originally Posted by
Swoosh91
1.0 = floating point notation.
1,0 = no floating point notation.
I hate how countries, such as Germany, use commas for this. Who the heck came up with that.
actually it is the duty of the programmer to make the program platform independent. They both are valid notations, it depends on which culture setting your programs parsers use. Someone messed it up there and used the System's encoding for toString(), and some custom (my guess is invariant culture) for the ParseSingle().
This can be especially confusing when handling xml data. :rolleyes:
Re: somebody please help me how to make xml octets like items.jsp
but just to make things simple.. change "," to "." and it works fine
Re: somebody please help me how to make xml octets like items.jsp
I am aware of different culture settings, my critism was more pointed at the fact that there is a difference at all. In times of globalization and world wide connections, it's time to make a standard with things like this in my opinion. Points for decimals are the only logical way to go as far as I see.
Re: somebody please help me how to make xml octets like items.jsp
Quote:
Originally Posted by
Swoosh91
I am aware of different culture settings, my critism was more pointed at the fact that there is a difference at all. In times of globalization and world wide connections, it's time to make a standard with things like this in my opinion. Points for decimals are the only logical way to go as far as I see.
And that's perfectly alright for the culture you live in. But sometimes you have to broaden your view on things. it's not always about "you" (in general, not pointing fingers)
Re: somebody please help me how to make xml octets like items.jsp
I am criticizing the culture I am in (German), not others. I don't really care which one though, all I would find cool is if it was standardized.
Re: somebody please help me how to make xml octets like items.jsp
well.. we don't use metric in the US, and that drives the rest of the world nuts
Re: somebody please help me how to make xml octets like items.jsp
We use both. It's even worse!
Re: somebody please help me how to make xml octets like items.jsp
Quote:
Originally Posted by
rbb138
We use both. It's even worse!
yea, that has to drive you crazy, doesn't it?