|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
XML transforms with Sablotron but not Browser
Curious question.
I have an xml document that references an xsl document which in turn references a single .css file and several other xsl templates to be used. Now I can run sablotron with php and it transforms it but when I try to pull the xml up as .xml it wont load. I am using import to bring in the other .xsl's and a <link rel> to bring in the css. Any ideas of why this is happening and why the two methods are not achieving the same outcome as they should, correct? Assuming that they are both up to standards. -Teflon ps. sorry CANT post the code atm
__________________
Teflon - The Black <desc>Mark This Up</desc> |
|
#2
|
||||
|
||||
|
Hey whatya know, I can solve my own problems.
The problem is this, the php(sablotron) transformation requires that the .xsl files that are imported be referenced from where the .php file is run where as the .xml requires them to be referenced in relation to the importing .xsl folder structure: wwwroot -folder1 --file0.php --folder2 ---file.xsl ---file2.xsl ---file3.css --folder3 ---file4.xml so I guess I am going to need two base .xsl files ? eh -Teflon |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XML transforms with Sablotron but not Browser |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|