-
September 24th, 2007, 07:14 AM
#1
<country>INDIA</country>Country Name : How i create a element like this?
Showing the country name with in the tags of "COUNTRY" and also have to show the Field Description so that user can understand easily.
sometimes have to show
<country>INDIA</country> Country Name
<ID>12345</ID> Record Number.
<TOTAL>6789</TOTAL> Total No. of . Cases
like this.....
pls suggest
-
September 25th, 2007, 02:19 AM
#2
Re: <country>INDIA</country>Country Name : How i create a element like this?
You can either do this:
Code:
<country>India</country><!-- Country name -->
<id>12345</id><!-- Record number -->
<total>6789</total><!-- Total number of cases -->
Or this (if the comments are considered part of the data):
Code:
<country remark="Country name">India</country>
<id remark="Record number">12345</id>
<total remark="Total number of cases">6789</total>
-
September 25th, 2007, 09:12 AM
#3
creating elements with text description
What tools are you using? XSLT? C#? .NET? PHP?
andreasblixt has provided a good way of laying out the data if that's what you were asking for.
You might also consider putting that type of documentation in a schema, eg in an <annotation> node.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|