3.006 + XML
Shaman 18.12.2002 16:01
Ранее замечательно работавшая конструкция:
auto.p
$products[^xdoc::load[/../xml/products.xml]]
$products[^products.transform[/../xsl/products_join.xsl]]
products.xml:
<?xml version="1.0" encoding="UTF-8"?>
<products>
<item path="products_product_name.xml" />
...
...
</products>
products_join.xsl:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="product">
<products>
<xsl:apply-templates select="item"/>
</products>
</xsl:template>
<xsl:template match="item">
<xsl:copy-of select="document(@path)"/>
</xsl:template>
</xsl:stylesheet>
вдруг, начала выдавать ошибку:
warning: failed to load external entity "products_product_name.xml"
warning: failed to load...
warning: failed to load...
Помогите, плиз...
- 3.006 + XML, Shaman 18.12.2002 16:01