|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Document() and &
Hello again,
I made a small sample piece of XSL that I have proven not to work. The system that provides the XML source is not accessible to the outside world so I don't have a proper URL that I can give you. Any URL should will work fine though except when the url has and ampersand in it... <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml"/> <xsl:template match="/"> <xsl:copy-of select="document('http://www.somewhere.com/getDocument.html?docType=xml& id=12345')"/> </xsl:template> </xsl:stylesheet> Here is a snippet that uses a variable that unfortunately works the same. <xsl:variable name="DocumentURL">http://www.somewhere.com/getDocument.html?docType=xml& id=12345</xsl:variable> <xsl:copy-of select="document($DocumentURL)"/> So I don't really believe that there is a solution to this but if anyone sees anything or has any ideas I would love to hear about it. Thanks again for all the help! Cheers, Josh beach On Wednesday, May 15, 2002, at 03:58 PM, Jeni Tennison wrote: Hi Josh, 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
|

Cart








