OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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/.
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]