K
Kenpatchi
When I use Ajax to load in an xml document (text/xml) it has these
directives :
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/xsl/result.xsl"?>
at the top of the .xml file.
Can anyone explain how to obtain the href xsl as a string from the
returned xmlhttprequest object or response object? I have tried
everything that looks obvious but the root element is the start of my
xml document, and the ?xml are not in the call headers. Close to
banging my noggin on the desk here.
The only other way I can obtain the .xsl reference is by stripping the
header in a Java servlet and making 2 calls and then a 3rd call to load
the .xsl file.
directives :
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/xsl/result.xsl"?>
at the top of the .xml file.
Can anyone explain how to obtain the href xsl as a string from the
returned xmlhttprequest object or response object? I have tried
everything that looks obvious but the root element is the start of my
xml document, and the ?xml are not in the call headers. Close to
banging my noggin on the desk here.
The only other way I can obtain the .xsl reference is by stripping the
header in a Java servlet and making 2 calls and then a 3rd call to load
the .xsl file.