[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem transforming the xmlns attribute
Thanks for the help.
Ok, so I did what that page sugested and it worked. Is there a way though, that I don't need to use the "x:" in the following code in all my elements in the stylesheet? XSL <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:x="http://www.w3.org/1999/xhtml" /> <xsl:template match="/"> <xsl:apply-templates select="$file/x:html"/> </xsl:template> <xsl:template match="x:html"> <xsl:value-of select="$page/begin/x:pageTitle"/> <xsl:apply-templates select="x:body"/> </xsl:template> <xsl:template match="x:body"> ... </xsl:template> . . . Thanks Kielen, Agnes wrote: Hi, You have a namespace problem. xmlns is NOT an attribute. Take a look at: http://www.dpawson.co.uk/xsl/sect2/N5536.html
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|