This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] end tag help


----- Original Message ----- 
From: "McKinstry, Scott A" <scott.a.mckinstry@lmco.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Wednesday, April 07, 2004 7:42 AM
Subject: [docbook-apps] end tag help


>
> Why is it when using html stylesheets,
> I create a template that looks like:
>
>          <xsl:element name="meta">
>          <xsl:attribute name="http-equiv">expires</xsl:attribute>
>          <xsl:attribute name="CONTENT">0</xsl:attribute>
>          </xsl:element>
>
> I would expect the output to look like this:
>
> <meta http-equiv="expires" content="0"/>
>
> But I get one that looks like:
>
> <meta http-equiv="expires" content="0">
>
> missing the trailing /

But that is valid HTML.

> How do I get it to produce the missing /

You could use the xhtml stylesheet instead.  It is included with the
stylesheet distribution. That would give you the XML syntax you are looking
for.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


>
> Thanks
>
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>



To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]