[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Antwort: Xalan and namespace

Subject: Antwort: Xalan and namespace
From: manfred.weigel@xxxxxx
Date: Thu, 26 Sep 2002 15:27:33 +0200
xalan xsd

Hi!

<xsl:apply-templates (strikethrough: xsl:)select="xsd:element"/>

You can´t use a namespace prefix on defined attributes.

Try this one:
<xsl:apply-templates select="xsd:element"/>

cheers
manfred





sarchiopone@xxxxxxxxx@l... am 26.09.2002 14:51:48

Bitte antworten an xsl-list@xxxxxxxxxxxxxxxxxxxxxx@inet

Gesendet von:     owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx


An:      XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Kopie:
Thema:    Xalan and namespace


I have a xsd and a .xsl

xsd source is :


<xsd:element name="ente">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element ref="name"/>
            <xsd:element ref="interface"/>
            <xsd:element ref="ufficio"/>
            <xsd:element ref="email" minOccurs="0"/>
            <xsd:element ref="address" minOccurs="0"/>
            <xsd:element ref="telefono" minOccurs="0" maxOccurs
            ="unbounded"/>
            <xsd:element ref="fax" minOccurs="0" maxOccurs="unbounded"/>
            <xsd:element ref="web"  minOccurs="0"/>
            <xsd:element ref="ISTAT" minOccurs="0"/>
            <xsd:element ref="riferimento" minOccurs="0"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>

xsl source is:

<xsl:param name="nodo" select="ente"/>

<xsl:template match="/">
  <xsl:apply-templates xsl:select="xsd:element"/>
</xsl:template>

<xsl:template match="xsd:element">
  <pipe><xsl:value-of select="@name"/></pipe>
</xsl:template>

When I apply xsl to xsd, "<xsl:apply-templates xsl:select="xsd:element"/>"
isn't matched by "<xsl:template match="xsd:element">"

Whats the matter ?

Thanks very much.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.