Subject: Re: [xsl] Ignoring default attributes during XSL transform From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Thu, 18 Apr 2002 12:23:26 +0200 |
My follow on question is whether or not there is a way to compare an attribute value to its default value defined in the DTD?
At 10:02 PM 4/17/2002 +0200, Joerg Heinicke wrote:
<xsl:apply-templates select="* | @*[. != '']">
Regards,
Joerg
Manny Parasirakis wrote:
I am trying to figure out how I can ignore outputting attributes whose values are not set (=""). I am fairly new at this but cannot figure it out. I need to do this for all XML tags. Here is my XSL:
<xsl:template match="*|@*">
<xsl:copy>
<xsl:apply-templates select="*|@*"/>
</xsl:copy>
</xsl:template>
I've tried a bunch of things but cannot figure this out.
System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Ignoring default attribut, Manny Parasirakis | Thread | Re: [xsl] Ignoring default attribut, Manny Parasirakis |
Re: [xsl] check if content value be, David Carlisle | Date | RE: [xsl] Matching values in the XM, Simpson, George |
Month |