|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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&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
|
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








