Why can XSLT not parse this XML? -


taking xslt , xml page example:

http://www.w3schools.com/xsl/xsl_transformation.asp

i have xml file contains (above example modified):

<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?> <catalog xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"          xmlns:xsd="http://www.w3.org/2001/xmlschema"          xmlns="http://tempuri.org/">     <cd> 

in case, output contains nothing when xslt/xml processed browser. moment remove attributes element, works. problem is, don't have option of pre-processing attributes out of file.

can explain how force xslt work xml is, please? after all, attributes seem standard.

many thanks,

matt.

add default namespace stylesheet well, , use it.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -