Try to process it with Xalan directly from command line.

Most probably you get some error - YOU need to define XML namespace in both
files (= in xml as well as in xsl), with xmlns:xsp="http://[pointer to def
here]" attribute.

So, try with Xalan, see errors, and then come back, if it will not work.

Petr

> -----Ursprüngliche Nachricht-----
> Von: sunil vashisth [mailto:[EMAIL PROTECTED]]
> Gesendet am: Mittwoch, 27. Februar 2002 14:54
> An: [EMAIL PROTECTED]
> Betreff: read xml tag(having namespace) from xsl
> 
> Hi,
> 
> i want to read read xml tag(having namespace) from
> xsl.
> i am doing following 
> 
> ///////////xml file
> <root>
> <xsp:page attri="att1">
> <name> Sunil </name>
> </xsp:page>
> </root>
> 
> How can I access the value of "name" tag.Here
> "xsp:page" tag is creating problem and I have to have
> this tag.
> I am trying with following xsl file
> 
> ///////My .xsl file is following
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>    <xsl:template match="root">
>       <html><title>                                   <xsl:value-of
> select="xsp:page/name" />
>       </title>
>         </html>
>    </xsl:template>
> </xsl:stylesheet>
> 
> Regards
> Sunil
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - Send FREE e-cards for every occasion!
> http://greetings.yahoo.com
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to