News for hackers. Stuff that matters.
Re:How to Avoid Being Called a Bozo When Producing XML (2005) by oceanswave on Sunday July 31, 2016 @03:27PM (#12198436)
Enclosing the attribute within double quotes isn't pre-disposing the value to be of a particular type. It's part of the XML spec that attribute values are contained within double quotes, and must be to be valid. The type isn't implied in the file.

An xml schema such as <xs:element name="Task"> <xs:complexType> <xs:attribute name="ID" type="xs:int" use="required" /> </xs:complexType> </xs:element>

could more explicitly declare the type of the value.

Re:How to Avoid Being Called a Bozo When Producing XML (2005) by 616c on Sunday July 31, 2016 @04:02PM (#12198574)
Thanks for the explanation. I guess in this case I learned be careful what you wish for. I guess this is why I prefer the

<Item> <Parameter><Data></Parameter> </Item>

But this is my ignorance of XML and familiarity with HTML showing.