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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XSLT Disrupts MetaTags

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
Hey gang,

K, first: Total newbie here to xml, so bear with me
:)

We've got an xslt document, that goes like this:

<xslt do-something-if=/>

<html>
<head>
<meta1/>
<meta2/>
<link/>
</head>

<body>
<xslt proecess xml stuff>
</body>
</html>
</xslt>
and then below this is all the actual xml processing stuff.

Here's the problem: When we run this, save the created document, and look at the code, the document has 3 meta tags, not two, and the last meta and the link tag are placed AFTER the body tag, not in the header. There's also some dot that appears between the body tag and the meta tag.

Is there something we're doing wrong here? The meta tag thats created has Generator and some other wanky parameter in its tag.

Help!

Thanks,
Jack

p.s. Just fyi, we're developing using ASP.NET and visual studio.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top