allow non xsl elements as children of xsl:stylesheet

This commit is contained in:
jez 2007-08-24 08:52:12 +00:00
parent 9d70b5c1c0
commit 70910a56de
2 changed files with 3 additions and 2 deletions

View file

@ -49,7 +49,9 @@ public:
{
if((localName == "template") ||
(localName == "param") ||
(localName == "variable"))
(localName == "variable") ||
(localName == "stylesheet") ||
(localName == "transform"))
start_pass_through = true;
if(localName == "import")
{

View file

@ -55,7 +55,6 @@ public:
if(namespaceURI != StylesheetConstant::NamespaceURI())
{
++foreign_;
std::cerr << "Foreign " << foreign_ << ": "<< qName << std::endl;
return;
} //