![]() |
Predicate by attribute?
Is it possible to predicate by attribute, and if so, how?
<System xmlns="" name="SAP_R3_Financials_DEV200"> <Attributes xmlns=""> <pcd:Attribute name="ApplicationServer" value="secacsap"/> <pcd:Attribute name="ServerPort" value="3200"/> </Attributes> </System> --------------------------------------------- I want to be able to <xsl:value-of select="@value"/> only when @name="ApplicationServer" Regards |
Re: Predicate by attribute?
Jacques wrote: > Is it possible to predicate by attribute, and if so, how? > > <System xmlns="" name="SAP_R3_Financials_DEV200"> > <Attributes xmlns=""> > <pcd:Attribute name="ApplicationServer" value="secacsap"/> > <pcd:Attribute name="ServerPort" value="3200"/> > </Attributes> > </System> > --------------------------------------------- > I want to be able to > > <xsl:value-of select="@value"/> only when @name="ApplicationServer" <xsl:if test="@name = 'ApplicationServer'"> <xsl:value-of select="@value" /> </xsl:if> -- Martin Honnen http://JavaScript.FAQTs.com/ |
Re: Predicate by attribute?
Excelent!! Thank you
"Martin Honnen" <mahotrash@yahoo.de> wrote in message news:40daaed4$1@olaf.komtel.net... > > > Jacques wrote: > > > Is it possible to predicate by attribute, and if so, how? > > > > <System xmlns="" name="SAP_R3_Financials_DEV200"> > > <Attributes xmlns=""> > > <pcd:Attribute name="ApplicationServer" value="secacsap"/> > > <pcd:Attribute name="ServerPort" value="3200"/> > > </Attributes> > > </System> > > --------------------------------------------- > > I want to be able to > > > > <xsl:value-of select="@value"/> only when @name="ApplicationServer" > > <xsl:if test="@name = 'ApplicationServer'"> > <xsl:value-of select="@value" /> > </xsl:if> > -- > > Martin Honnen > http://JavaScript.FAQTs.com/ > |
| All times are GMT. The time now is 11:34 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.