Click here to Skip to main content
15,924,935 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionTrouble using sql:relation/sql:relationship in xsd file ... Pin
cmacgowan19-Dec-05 9:17
cmacgowan19-Dec-05 9:17 
QuestionXPath expression Pin
Andy H14-Dec-05 22:37
Andy H14-Dec-05 22:37 
AnswerRe: XPath expression Pin
Stuart Dootson15-Dec-05 7:26
professionalStuart Dootson15-Dec-05 7:26 
AnswerRe: XPath expression Pin
Michael Flanakin3-Jan-06 3:09
Michael Flanakin3-Jan-06 3:09 
QuestionTool for creating xml from database table? Pin
pankazmittal14-Dec-05 11:35
pankazmittal14-Dec-05 11:35 
AnswerRe: Tool for creating xml from database table? Pin
mysorian9-Jan-06 3:14
professionalmysorian9-Jan-06 3:14 
QuestionElements vs Attributes Pin
monrobot1313-Dec-05 10:17
monrobot1313-Dec-05 10:17 
AnswerRe: Elements vs Attributes Pin
Sushant_Mathur13-Dec-05 21:16
Sushant_Mathur13-Dec-05 21:16 
There are no rules about when to use attributes, and when to use child elements. My experience is that attributes are handy in HTML, but in XML you should try to avoid them. Use child elements if the information feels like data.
Some of the problems with using attributes are:

.attributes cannot contain multiple values (child elements can)
.attributes are not easily expandable (for future changes)
.attributes cannot describe structures (child elements can)
.attributes are more difficult to manipulate by program code
.attribute values are not easy to test against a Document Type
.If you use attributes as containers for data, you end up with documents that are difficult to read and maintain.

Try to use elements to describe data. Use attributes only to provide information that is not relevant to the data.

Sushant Mathur
Ocwen Financial Sol. Pvt. Ltd,
Bangalore,
INDIA.

-- modified at 3:17 Wednesday 14th December, 2005
GeneralRe: Elements vs Attributes Pin
Shem Su6-Jan-06 0:44
Shem Su6-Jan-06 0:44 
QuestionHow To Load & Validat XML file with XSD file using XML .Net Parser Pin
zxc8913-Dec-05 0:37
zxc8913-Dec-05 0:37 
AnswerRe: How To Load & Validat XML file with XSD file using XML .Net Parser Pin
DavidNohejl20-Dec-05 1:52
DavidNohejl20-Dec-05 1:52 
GeneralRe: How To Load & Validat XML file with XSD file using XML .Net Parser Pin
zxc8920-Dec-05 1:58
zxc8920-Dec-05 1:58 
QuestionString vs. XML file Pin
sonicsqwirl11-Dec-05 21:27
sonicsqwirl11-Dec-05 21:27 
AnswerRe: String vs. XML file Pin
Per Nilsson13-Dec-05 22:47
Per Nilsson13-Dec-05 22:47 
GeneralRe: String vs. XML file Pin
Michael Flanakin29-Dec-05 4:01
Michael Flanakin29-Dec-05 4:01 
QuestionXSL/XML space is different from javascript Pin
ChiranjibC9-Dec-05 6:49
ChiranjibC9-Dec-05 6:49 
AnswerRe: XSL/XML space is different from javascript Pin
Michael Flanakin29-Dec-05 4:06
Michael Flanakin29-Dec-05 4:06 
QuestionHow to load xml file from resources using msxml? Pin
onestab9-Dec-05 2:25
onestab9-Dec-05 2:25 
AnswerRe: How to load xml file from resources using msxml? Pin
Per Nilsson13-Dec-05 23:02
Per Nilsson13-Dec-05 23:02 
QuestionDynamic updation of XML file Pin
srimayank11_codeproject9-Dec-05 0:44
srimayank11_codeproject9-Dec-05 0:44 
QuestionHow to covnert ByteArray into a JPEG image? Pin
mysorian8-Dec-05 10:53
professionalmysorian8-Dec-05 10:53 
AnswerRe: How to covnert ByteArray into a JPEG image? Pin
Jupiter99-Dec-05 10:45
Jupiter99-Dec-05 10:45 
GeneralRe: How to covnert ByteArray into a JPEG image? Pin
mysorian9-Dec-05 11:31
professionalmysorian9-Dec-05 11:31 
QuestionPara todos Pin
oavalos20056-Dec-05 18:34
oavalos20056-Dec-05 18:34 
QuestionAdd Pin
Iridania3-Dec-05 11:09
Iridania3-Dec-05 11:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.