[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

document

Subject: document
From: "Stefan Groschupf" <sg@xxxxxxxxxxxxxxx>
Date: Fri, 24 May 2002 15:27:37 +0200
 document
Hi there,

I searching a long time in your archive and with google to find a solution
for my problem, but I didn't find something.
So now I will ask here. I using document() to include a xml stream in my
main XML stream. Then I  make a match for the nodes I get from my to include
XML stream. My Problem: it's looks like xalan ignore the document()
statement.
Means I don't get the new xml stream to the other. May be the problem is
based on that I use a url for the xml document I want to include and I make
a mistake by escaping the characters in my url:
Here my example:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
  <html>
    <head>
    </head>
    <body>

    <xsl:apply-templates
select="document(http://localhost/econtent/Content.do?state=resource&amp;res
ource=250 '')" />

      <xsl:apply-templates />
    </body>
  </html>
</xsl:template>

<xsl:template match="link">
I found a klink node!
</xsl:template>

</xsl:stylesheet>

Please soemone has a hint for me?

Thanks
Stefan




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.