in reply to How to count lines of code for XML file?
Define "line" for this exercise? How many lines do you see in the each of the following?
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title>stuff</title> </head> <body> <div> <para>more stuff</para> </div> </body> </html>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> <title> stuff </title> </head> <body> <div> <para> more stuff </para> </div> </body> </html>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html><head><title>stuff</title></head><body><div><para>more stuff</pa +ra></div></body></html>
Is your answer the same for each, or different?
If it's the same what is the value of the metric?
If it's different what is the value of the metric?
In other words, what are you trying to measure?
|
|---|