[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:for-each and document()
One solution is to add a namespace for the external document. See below.
On Sunday, July 20, 2003, at 01:02 AM, Casale, Jourdain-Alexander wrote: Hello,< xsl:for-each select="document('external.xml')/element/*" xmlns:ext="http://some/arbitrary/url"> <xsl:value-of select="."/> <xsl:value-of select="/element/child"/> I can display <xsl:value-of select="."/> here Problem: I can't display /element/child on my source.xml unless I do another document() call </xsl:for-each> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|