|
Subject: [xsl] Perl and MSXML3 to transform XML with XSL From: James Garriss <jpgarriss@xxxxxxxx> Date: Fri, 19 Oct 2001 09:47:58 -0400 |
# Load the XML file
$doc_to_transform->{async} = "False";
$doc_to_transform->{validateOnParse} = "True";
$boolean_Load = $doc_to_transform->Load($xml_file); # Perform the transformation and save the resulting DOM object to file
$doc_to_transform->transformNodeToObject($style_sheet_doc, $transformed_doc);
$transformed_doc->save("$out_file"); try
{
result = source.transformNode(style.XMLDocument);
}
catch (exception)
{
result = reportRuntimeError(exception);
} function reportRuntimeError(exception)
{
return "XSL Runtime Error" + exception.description;
} # Perform the transformation and save the resulting DOM object to file
$doc_to_transform->transformNodeToObject($style_sheet_doc, $transformed_doc)
or $transformed_doc->{runtimeError}->{description};| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Server Side XSLT, Jeff Langdon | Thread | [xsl] RE: XSL-List Digest V3 #1192, Nate Austin |
| [xsl] Server Side XSLT, Jeff Langdon | Date | RE: [xsl] accessing info outside cu, Chris Bayes |
| Month |