Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Simple Question on Special Charaters in Attributes (Newbie)

From: conorgaff@-----.---
To: NULL
Date: 2/8/2008 3:17:00 AM
On Feb 7, 10:08 pm, Oleg Tkachenko <m...@be.next> wrote:
> What exactly the problem is?
> Don't forget to decalre xml namespace:
> <xsl:value-of select="@xmi:d"
> xmlns:xml="http://www.w3.org/XML/1998/namespace"/>
> --
> Oleg
>
> conorg...@gmail.com wrote:
> > Hi all,
>
> > I'm trying to select an attribute called xmi:id in an xslt.
>
> > <xsl:value-of select="@xmi:d"/>
>
> > but won't work with ':' in the select.
>
> > Would someone be bale to help me out?
>
> > Also, are these known as special characters?
>
> > Thanks,
>
> > C

Hi Oleg,

When I try to declare the name space I and do the transform I get the
error:

ERROR: Namespace prefix xmi has not been declared

Is this not included in the beginning where I started with:

xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
Transform" xmlns:dyn="http://exslt.org/dynamic"....

<xsl:output method = "xml" encoding = "iso-8859-1" indent="yes" />


Thanks for your help,

C


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent