[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSL new user question: no output from a simple XSL
At 2007-09-19 09:21 -0500, Dunk, Michael (Mike) wrote:
I'm new to XSLT, working my way through O'Reilly's XSLT and reading Michael Kay's XSLT Reference. At the moment, I'm stuck on some simple XSLT. I have looked through the dpawson.com and www.biglist.com/lists/xsl-list/archives/ for solutions but cannot find anything that solves this problem. Your un-prefixed elements are in a non-null namespace. The XSLT that I have written so far is: ... <?xml version='1.0'?> You are pushing nodes in no namespace. (BTW, you don't need the leading slash) Unfortunately, this is not giving any output. In XSLT 2.0 you can set the value of the non-prefixed element names in XPath expressions by using the attribute in your xsl:stylesheet element (or anywhere in scope): xpath-default-namespace="http://www.ca.com/erwin/data" I hope this helps. . . . . . . Ken -- Upcoming public training: UBL and code lists Oct 1/5; Madrid Spain World-wide corporate, govt. & user group XML, XSL and UBL training RSS feeds: publicly-available developer resources and training G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995) Male Cancer Awareness Jul'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|
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
|