This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
document
- From: "Stefan Groschupf" <sg at media-style dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 24 May 2002 15:27:37 +0200
- Subject: [xsl] document
- Reply-to: xsl-list at lists dot mulberrytech dot com
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&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