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

new to xml / xsl ........Is it possible to

Status
Not open for further replies.

davefm1

Programmer
Apr 18, 2001
78
0
0
US
Hi;
New to xml/xsl

1.Does anyone know wheather or not it's posssible to create a stander header head / footer XML that can be used in any other xml throught incorperating the it in the xsl style sheet. Does anyone know where there are any examples of this
in xml and xsl useing template and elements.


2.CAN an Header / footer ASP that creates HTML and a asp that creates xml date and it's xsl all be transformed into one HTML page. with the the header, body of data ,and footer all on the same page.

where not alowed to use xsl:fo.
 
So you want a header in your xml file.
In the top doc type section of the xml file you put in this line:

<!ENTITY header SYSTEM &quot;header.html&quot;>

which calls in the header you want (it can be a variety of different extensions, not just .html).

Then, wherever you want the header.html file to be inserted, you simply put the following line:

&header;


for more help/details check out this post..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top