Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying XML tags in HTML 1

Status
Not open for further replies.

ethandanielroberts

Programmer
Nov 15, 2000
14
0
0
GB
I am trying to display XML files in an HTML page using ASP but can only get the values of the XML files. I want to be able to display the XML tags as well but the browser ignores them (or is trying "to be smart"). Does anyone know away around this? Cheers! ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬
Syclick Ltd.
+44 (0)780 308 5845
ethan@syclick.com
 
To display an xml file in a browser it needs to be transformed to html using xsl stylesheets. Unless you do that any browser would not know what the tags in xml are? Recall that you can have a tag called <myTag>Content</myTag> in xml. A grammer file should also accompany the xml file always that defines the user defined tags (against which your xml file is validated initially). The broser is not trying to be smart as the you said.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top