[Home] [By Thread] [By Date] [Recent Entries]
At 2012-02-02 09:29 -0500, Sean Tiley wrote:
Had some troubles with namespaces which still confuses me greatly but its working.. Well done. Your use of namespaces in your stylesheet is correct.
Not sure what you are trying to do there ... I think you are conflating different concepts. The collection() function returns a set of root nodes, so you are obliged to find your Account element with a full path from the root node of each document. There are no shortcuts available by any concept of matching part of the XPath address before calling the collection() function. Seems I need to read up on namespaces and xslt as there is much I do not understand You can read what I have to say about namespaces in my PDF book (pp.29-33) that I sell off my web site (the entire book can be downloaded for free preview; I ask that people pay for the book if they decide after previewing it that they want to keep it; I wish more people would be honest about that). You can hear what I have to say about namespaces at the 54m10s mark of Module 1 Lesson 1 (Lecture 2) of my XSLT/XPath training video (you do not need to create an account in order to view the free content) ... simply open that lecture and drag the slider to the time: http://www.CraneSoftwrights.com/links/udemy-ptux-online.htm Five hours of my 24-hour long lecture are made freely available. The lecture was recorded over 5 days in August 2008. The course includes hands-on exercises and I review all of the answers. The video is also available to purchase as a DVD-ROM for sharing (not copying) amongst your colleagues. Just yesterday I reduced the cost of watching the remaining 19 hours of the online video and having access to the exercises. This is the 2008 version of the material I still teach when I travel the world delivering my XSLT, XQuery and XSL-FO classes. Last week I delivered my combination XSLT/XQuery class in London England, next month I'm delivering the same combination class in the eastern US. I hope this helps. . . . . . . . . . . . Ken
|

Cart



